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

📄 topic.aspx

📁 荒野asp.net新闻系统
💻 ASPX
字号:
<%@ OutputCache VaryByParam="none" Duration="180" %>
<%@ Page language="c#" Codebehind="topic.aspx.cs" AutoEventWireup="false" Inherits="AspNetNews.topic" %>
<HTML>
	<HEAD>
		<!-- #include file="inc/html_head.inc" -->
		<META name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<BODY>
		<TABLE class="twidth" cellpadding="0" cellspacing="0" width="760" align="center">
			<TR>
				<TD>
					<!-- #include file="inc/head.inc" -->
					<TABLE id="navsub" cellspacing="0" cellpadding="0" align="center">
						<TR>
							<TD class="l"></TD>
							<TD class="m">
								<TABLE cellspacing="0" cellpadding="0" width="95%" align="center">
									<TR>
										<TD>
											<A href="index.aspx" title="返回首页">首页</A>&nbsp;→&nbsp;新闻专题
										</TD>
									</TR>
								</TABLE>
							</TD>
							<TD class="r"></TD>
						</TR>
					</TABLE>
					<TABLE id="middle" cellspacing="0" cellpadding="0" align="center">
						<TR valign="top">
							<TD width="200">
								<TABLE class="lframe" cellspacing="0" cellpadding="0" width="95%">
									<TR>
										<TD class="tl"></TD>
										<TD class="tm"><SPAN class="tt">本周热门新闻</SPAN></TD>
										<TD class="tr"></TD>
									</TR>
								</TABLE>
								<TABLE class="lframe" cellspacing="0" cellpadding="0" width="95%">
									<TR>
										<TD class="ml"></TD>
										<TD class="mm">
											<!-- #include file="Controls/weekhitslist.ascx" -->
										</TD>
										<TD class="mr"></TD>
									</TR>
								</TABLE>
								<TABLE class="lframe" cellspacing="0" cellpadding="0" width="95%">
									<TR>
										<TD class="bl"></TD>
										<TD class="bm">&nbsp;</TD>
										<TD class="br"></TD>
									</TR>
								</TABLE>
							</TD>
							<TD>
								<TABLE class="mframe" cellspacing="0" cellpadding="0" width="100%">
									<TR>
										<TD class="tl"></TD>
										<TD class="tm">
											<TABLE cellspacing="0" cellpadding="0" width="100%">
												<TR>
													<TD width="85%">
														<SPAN class="tt">新闻专题</SPAN>
													</TD>
												</TR>
											</TABLE>
										</TD>
										<TD class="tr"></TD>
									</TR>
								</TABLE>
								<TABLE class="mframe" cellspacing="0" cellpadding="0" width="100%">
									<TR>
										<TD class="ml"></TD>
										<TD class="mm">
											<asp:DataList ID="TopicList" Width="95%" runat="server" DataKeyField="Topicid" ItemStyle-CssClass="alignTop" HorizontalAlign="Center">
												<ItemTemplate>
													<TABLE cellspacing="0" cellpadding="0">
														<TR>
															<TD>
																<STRONG><%# DataBinder.Eval(Container.DataItem,"Topic") %></STRONG>
																(添加时间:<%# String.Format("{0:yyyy年MM月dd日}",DataBinder.Eval(Container.DataItem,"DateTime")) %>)
															</TD>
														</TR>
													</TABLE>
													<asp:DataList Width="100%" ID="ArticleTitle" runat="server" DataSource='<%# DataBinder.Eval(Container.DataItem,"Relation_Article") %>'>
														<itemtemplate>
															<UL class="nl">
																<LI>
																	<A title='<%# DataBinder.Eval(Container.DataItem,"Title") %>' href='shownews.aspx?newsid=<%# DataBinder.Eval(Container.DataItem,"Articleid") %>' target="_blank">
																		<%# Format(DataBinder.Eval(Container.DataItem,"Title").ToString(),26,(DateTime)(DataBinder.Eval(Container.DataItem,"DateTime")),(bool)(DataBinder.Eval(Container.DataItem,"HighLight"))) %>
																	</A><FONT class="gray">(<%# String.Format("{0:yyyy年MM月dd日}",DataBinder.Eval(Container.DataItem,"DateTime")) %>)</FONT>
																</LI>
															</UL>
														</itemtemplate>
													</asp:DataList>
												</ItemTemplate>
												<FooterTemplate>
													&nbsp;
												</FooterTemplate>
											</asp:DataList>
											<TABLE height="40" width="96%" align="center" cellpadding="0" cellspacing="0">
												<TR>
													<TD><%= NextPrev %></TD>
													<TD align="right"><%= Pagination %></TD>
												</TR>
											</TABLE>
										</TD>
										<TD class="mr"></TD>
									</TR>
								</TABLE>
								<TABLE class="mframe" cellspacing="0" cellpadding="0" width="100%">
									<TR>
										<TD class="bl"></TD>
										<TD class="bm">&nbsp;</TD>
										<TD class="br"></TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
					</TABLE>
					<!-- #include file="inc/foot.inc" -->
				</TD>
			</TR>
		</TABLE>
	</BODY>
</HTML>

⌨️ 快捷键说明

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