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

📄 newsdetails.aspx

📁 百姓房产中介系统 v3.0 看看学学 不错的选择
💻 ASPX
字号:
<%@ Register TagPrefix="uc1" TagName="NewsLeft" Src="../Inc/NewsLeft.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Head" Src="../Inc/Head.ascx" %>
<%@ Page language="c#" Codebehind="NewsDetails.aspx.cs" AutoEventWireup="false" Inherits="Zj.Web.News.NewsDetails" %>
<%@ Register TagPrefix="uc1" TagName="Foot" Src="../Inc/Foot.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=WebName%>
			·<%=strTitle%></title>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link href="style/NewsView.css" rel="stylesheet" type="text/css">
			<SCRIPT language="JavaScript">
    function doZoom(size)
    {
    document.getElementById('zoom').style.fontSize=size+'px'
    }
			</SCRIPT>
	</HEAD>
	<body topMargin="0">
		<form id="NewsDetails" method="post" runat="server">
			<uc1:Head id="Head1" runat="server"></uc1:Head>
			<table width="770" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td height="3"></td>
				</tr>
			</table>
			<TABLE cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
				<TBODY>
					<TR>
						<TD vAlign="top" width="600">
							<DIV align="center"><asp:label id="lblMsg" runat="server" ForeColor="#C00000"></asp:label></DIV>
							<asp:panel id="Panel1" runat="server">
								<TABLE width="600" align="center" border="0">
									<TR>
										<TD align="center" bgColor="#eeeeee" height="30"><FONT style="FONT-SIZE: 16px"><B><%=strTitle%></B></FONT></TD>
									</TR>
									<TR>
										<TD align="right"><FONT color="#999999">转自:<FONT color="#cc0000"><%=strFrom%></FONT>&nbsp;&nbsp;时间:<%=strDate%></FONT></TD>
									</TR>
								</TABLE>
								<BR>
								<TABLE cellSpacing="2" cellPadding="2" width="600" border="0">
									<TR>
										<TD class="NewsBody"><FONT id="zoom" style="FONT-SIZE: 12px"><%=strContent%></FONT><BR>
											(编辑:<%=strAuthor%>)
										</TD>
									</TR>
									<TR>
										<TD align="right">
											<SCRIPT language="JavaScript">
            if (window.print) 
            {
                document.write('【<a href="#" onClick="javascript:window.print()"><font color=cc0000>打印本文</font></a>】 ');
            }
											</SCRIPT>
											【<FONT color="#cc0000">发表评论</FONT>】 【<A href="javascript:doZoom(16)"><FONT color="#cc0000">大</FONT></A>
											<A href="javascript:doZoom(14)"><FONT color="#cc0000">中</FONT></A> <A href="javascript:doZoom(12)">
												<FONT color="#cc0000">小</FONT></A>】 【<A href="javascript:window.close()"><FONT color="#cc0000">关闭窗口</FONT></A>】</TD>
									</TR>
								</TABLE>
								<TABLE cellSpacing="1" cellPadding="5" width="100%" bgColor="#cccccc" border="0">
									<TR>
										<TD bgColor="#eeeeee">【 相 关 文 章 】</TD>
									</TR>
									<TR>
										<TD align="left" bgColor="#ffffff">
											<asp:label id="lblNo" runat="server" EnableViewState="False" Visible="False">&nbsp;&nbsp;&nbsp;&nbsp;暂无相关新闻</asp:label>
											<ASP:DATALIST id="DataList1" runat="server" HorizontalAlign="Left">
												<ItemTemplate>
													<table cellspacing="1" align="left">
														<tr>
															<td align="left"><LI>
																	<A id="DispNews" title="浏览新闻内容" href='<%# DataBinder.Eval(Container.DataItem, "News_ID","NewsDetails.aspx?News_ID={0}") %>' target="_blank" runat="server">
																		<%# DataBinder.Eval(Container.DataItem, "News_Title") %>
																</LI>
																</A><font style="font-size: 7pt">&nbsp;&nbsp;
																	<%# DataBinder.Eval(Container.DataItem, "News_Date", "( {0} )") %>
																</font>
															</td>
														</tr>
													</table>
												</ItemTemplate>
											</ASP:DATALIST></TD>
									</TR>
								</TABLE>
							</asp:panel>
							<asp:panel id="Panel2" runat="server" Visible="False">
								<asp:datagrid id="DataGrid1" runat="server" ShowHeader="False" width="532px" BorderColor="#F0F0F0"
									BorderWidth="0px" GridLines="Horizontal" PageSize="2" AutoGenerateColumns="False" CellSpacing="2"
									CellPadding="0">
									<HeaderStyle Font-Bold="True" Height="25px" ForeColor="#666666" BackColor="#F0F0F0"></HeaderStyle>
									<ItemStyle CssClass="p9gl2"></ItemStyle>
									<Columns>
										<asp:TemplateColumn>
											<ItemTemplate>
												· <a href='d<%# DataBinder.Eval(Container, "DataItem.News_ID") %>.aspx' Target="_blank">
													<%# DataBinder.Eval(Container, "DataItem.News_Title") %>
												</a><font style="font-size: 7pt">&nbsp;&nbsp;
													<%# DataBinder.Eval(Container.DataItem, "News_Date", "( {0} )") %>
												</font>
											</ItemTemplate>
										</asp:TemplateColumn>
									</Columns>
									<PagerStyle Font-Bold="True" Mode="NumericPages"></PagerStyle>
								</asp:datagrid>
								<DIV align="center">
									<asp:Label id="lblSearchResult" ForeColor="Red" EnableViewState="False" Visible="False" Runat="server"></asp:Label></DIV>
							</asp:panel></TD>
						<TD width="10"></TD>
						<TD vAlign="top" width="150" bgColor="#efefef">
							<uc1:NewsLeft id="NewsLeft1" runat="server"></uc1:NewsLeft>
							<table width="170" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td><img src="/images/zuoxian.gif" width="170" height="2"></td>
								</tr>
							</table>
							<table width="170" border="0" cellpadding="0" cellspacing="0">
								<tr align="right" bgcolor="#FEC104">
									<td width="46" height="14"><img src="/images/jiantouc.gif" width="6" height="5" hspace="3" vspace="6"></td>
									<td width="11" height="14" align="left" valign="middle" bgcolor="#FEC104">
									</td>
									<td width="113" height="14" align="left" valign="middle" bgcolor="#FEC104"><span class="p9660066">新闻检索</span></td>
								</tr>
							</table>
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td height="3"></td>
								</tr>
							</table>
							<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center">
								<TR>
									<TD align="left">&nbsp;&nbsp;<INPUT id="txtKeyword" name="txtKeyword" runat="server" maxLength="20" size="20"></TD>
								</TR>
								<TR>
									<TD align="left">&nbsp;&nbsp;<SELECT name="SType" id="SType" runat="server">
											<OPTION value="1" selected>标题</OPTION>
											<OPTION value="2">内容</OPTION>
										</SELECT>
									</TD>
								</TR>
								<TR>
									<TD align="left">&nbsp;&nbsp;<INPUT id="btnSearch" type="button" value="开始搜索" name="btnSearch" runat="server"></TD>
								</TR>
								<TR>
									<TD>&nbsp;</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			</TR></TBODY></TABLE>
			<table height="6" cellSpacing="0" cellPadding="0" width="770" border="0" align="center">
				<tr>
					<td bgColor="#fec104" height="3"></td>
				</tr>
			</table>
			<table height="20" cellSpacing="0" cellPadding="0" width="770" border="0" align="center">
				<tr bgColor="#e7e7e7">
					<td align="center" width="894">
						<uc1:Foot id="Foot1" runat="server"></uc1:Foot></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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