?? newsdetails.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> 時間:<%=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"> 暫無相關新聞</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">
<%# 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">
<%# 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"> <INPUT id="txtKeyword" name="txtKeyword" runat="server" maxLength="20" size="20"></TD>
</TR>
<TR>
<TD align="left"> <SELECT name="SType" id="SType" runat="server">
<OPTION value="1" selected>標題</OPTION>
<OPTION value="2">內容</OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD align="left"> <INPUT id="btnSearch" type="button" value="開始搜索" name="btnSearch" runat="server"></TD>
</TR>
<TR>
<TD> </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 + -