⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show.aspx

📁 非常完整的新闻发布系统
💻 ASPX
字号:
<%@ Register TagPrefix="uc1" TagName="navClass" Src="inc/navClass.ascx" %>
<%@ Page Language="c#" Inherits="WebNews.show" EnableSessionState="false" EnableViewState="false" CodeBehind="show.aspx.cs" AutoEventWireup="false" %>
<HTML>
	<HEAD>
		<title>
			<%=title%>
		</title>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<P>
			<span id="printScript" name="printScript">
				<asp:Label id="Label1" runat="server" Width="768px" Height="8px"></asp:Label>
			</span></P>
		<table class="border" cellSpacing="0" cellPadding="0" width="750" align="center">
			<tr height="25">
				<td class="title" align="center">
					<uc1:navClass id="NavClass1" runat="server"></uc1:navClass></td>
			</tr>
		</table>
		<br>
		<div id="printBody" name="printBody">
			<table class="border" cellSpacing="0" width="750" align="center">
				<tr height="25">
					<td class="title2"><asp:label id="BackLabel" runat="server"></asp:label><A href="default.aspx">新闻首页</A>>><A href="list.aspx?classname=<%=classname%>"><%=classname%></A></td>
				</tr>
				<tr>
					<td class="tdbg" vAlign="top"><br>
						<center class="aTitle"><%=title%></center>
						<table width="100%">
							<tr>
								<td width="600"></td>
								<td>作者:<asp:label id="AuthorLabel" runat="server"></asp:label><%=writer%><br>
								</td>
							</tr>
						</table>
						<asp:label class="content" id="BodyLabel" style="PADDING-RIGHT: 10px; DISPLAY: block; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px"
							runat="server"></asp:label><%= Server.HtmlDecode(content)%><br>
						<br>
						<br>
						<br>
						<br>
						<br>
						<br>
						<br>
						<br>
						<table style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing="0" cellPadding="0"
							width="100%">
							<tr>
								<td></td>
								<td width="150">来源:<asp:label id="SourceLabel" runat="server"></asp:label><%=source%><br>
									阅读:<asp:label id="HitsLabel" runat="server"></asp:label><%=hints%>
									次<br>
									日期:<asp:label id="TimeLabel" runat="server"></asp:label><%=de%><br>
									<br>
								</td>
							<tr>
								<td align="right" colSpan="2">
									&nbsp;
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr height="25">
					<td class="title1">&gt;&gt; 相关新闻
					</td>
				</tr>
				<tr class="tdbg" vAlign="top">
					<td></td>
				</tr>
				<tr height="25">
					<td class="title1" align="center">发表评论
					</td>
				</tr>
				<form name="remarkForm" method="post" runat="server">
					<TR>
						<td class="tdbg">
							<table cellSpacing="0" cellPadding="5" width="100%" border="0">
								<TBODY>
									<tr>
										<td width="502" height="165">
											<asp:radiobuttonlist id="face" runat="server" Width="385px" RepeatDirection="Horizontal" Height="50px"
												RepeatLayout="Flow">
												<asp:ListItem Value="face1" Selected="True">
													<img src="pic/face1.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face2">
													<img src="pic/face2.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face3">
													<img src="pic/face3.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face4">
													<img src="pic/face4.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face5">
													<img src="pic/face5.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face6">
													<img src="pic/face6.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face7">
													<img src="pic/face7.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face8">
													<img src="pic/face8.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face9">
													<img src="pic/face9.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face10">
													<img src="pic/face10.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face11">
													<img src="pic/face11.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face12">
													<img src="pic/face12.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face13">
													<img src="pic/face13.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face14">
													<img src="pic/face14.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face15">
													<img src="pic/face15.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face16">
													<img src="pic/face16.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face17">
													<img src="pic/face17.gif" width="15" height="15"></asp:ListItem>
												<asp:ListItem Value="face18">
													<img src="pic/face18.gif" width="15" height="22"></asp:ListItem>
											</asp:radiobuttonlist><BR>
											点评: <textarea id="body" name="body" rows="4" cols="40" runat="server"></textarea>&nbsp;
											<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*请输入点评!" ControlToValidate="body"></asp:requiredfieldvalidator><br>
											姓名: <input id="username" type="text" maxLength="15" name="username" runat="server" length="20">
											<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*请输入姓名!" ControlToValidate="username"></asp:requiredfieldvalidator><asp:button id="Button1" runat="server" Text="发 表" Width="74px"></asp:button><BR>
											<br>
											<asp:label id="Label2" runat="server" Width="114px"></asp:label></td>
										<TD width="350">
											<UL style="MARGIN-LEFT: 1em; LINE-HEIGHT: 150%; LIST-STYLE-TYPE: square">
												<LI>
												尊重网上道德,遵守中华人民共和国的各项有关法律法规
												<LI>
												承担一切因您的行为而直接或间接导致的民事或刑事法律责任
												<LI>
												本站管理人员有权保留或删除其管辖留言中的任意内容
												<LI>
												本站有权在网站内转载或引用您的评论
												<LI>
													参与本评论即表明您已经阅读并接受上述条款
												</LI>
											</UL>
										</TD>
						</td>
					</TR>
			</table>
			<table width="753">
				<tr height="25">
					<td width="50%" class="title1">
						&gt;&gt; 新闻点评</td>
				</tr>
				<tr height="100" valign="bottom">
					<td class="tdbg">
						<DIV>
							<asp:DataList id="DataList1" runat="server" Width="745px">
								<ItemTemplate>
									<FONT face="宋体"><IMG src='pic/<%#show1(DataBinder.Eval(Container.DataItem,"face"))%>.gif' align=absMiddle></FONT>
									网友 <B>
										<%# DataBinder.Eval(Container.DataItem,"username")%>
									</B>于<FONT class="gray"><%# DataBinder.Eval(Container.DataItem,"dateAndTime")%></FONT>
									发表评论
									<SPAN style="PADDING-RIGHT: 10px; PADDING-LEFT: 30px; PADDING-BOTTOM: 5px; WIDTH: 100%; WORD-BREAK: break-all; PADDING-TOP: 5px">
										<%# DataBinder.Eval(Container.DataItem,"body")%>
									</SPAN><BR>
									<TR height="1">
										<TD class="hr"></TD>
									</TR>
								</ItemTemplate>
							</asp:DataList>
						</DIV>
						</FORM>
						<DIV></DIV>
					</td>
				</tr>
			</table>
			</TD></TR></TBODY>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
			<DIV></DIV>
		</div>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -