<%@ Register TagPrefix="uc1" TagName="Head" Src="../Inc/Head.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Foot" Src="../Inc/Foot.ascx" %>
<%@ Page language="c#" Codebehind="NewsList.aspx.cs" AutoEventWireup="false" Inherits="Zj.Web.News.NewsList" %>
<%@ Register TagPrefix="uc1" TagName="NewsLeft" Src="../Inc/NewsLeft.ascx" %>
<HTML>
<HEAD>
<TITLE>
<%=WebName%>
·新聞列表</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="style/default.css" type="text/css" rel="stylesheet">
</HEAD>
<BODY bgColor="#ffffff" leftMargin="0" topMargin="0" MARGINHEIGHT="0" MARGINWIDTH="0">
<form id="Form1" runat="server">
<uc1:Head id="Head1" runat="server"></uc1:Head>
<table cellSpacing="0" cellPadding="0" width="770" border="0">
<tr>
<td height="3"></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
<tr>
<td vAlign="top" align="center" width="171" bgColor="#f0f0f0"><uc1:newsleft id="NewsLeft1" runat="server"></uc1:newsleft>
<table cellSpacing="0" cellPadding="0" width="170" border="0">
<tr>
<td><IMG height="2" src="/images/zuoxian.gif" width="170"></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="170" border="0">
<tr align="right" bgColor="#fec104">
<td width="46" height="14"><IMG height="5" hspace="3" src="/images/jiantouc.gif" width="6" vspace="6"></td>
<td vAlign="middle" align="left" width="11" bgColor="#fec104" height="14"></td>
<td vAlign="middle" align="left" width="113" bgColor="#fec104" height="14"><b>熱點新聞</b></td>
</tr>
</table>
<script language="javascript" src="HotNewsJs.aspx?top=5&MaxLength=18"></script>
</td>
<td vAlign="top" width="6"><IMG height="1" src="images/spacer.gif" width="1"></td>
<td vAlign="top" width="591">
<table cellSpacing="0" cellPadding="0" width="592" border="0">
<tr>
<td vAlign="top">
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td><span class="p9660066">新聞中心</span></td>
</tr>
<tr>
<td bgColor="#580e5d" height="4"><IMG height="1" src="images/spacer.gif" width="1"></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td height="2"><IMG height="1" src="images/spacer.gif" width="1"></td>
</tr>
</table>
<asp:label id="lblMsg" runat="server" ForeColor="#C00000"></asp:label></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<tr>
<td class="pwhite" bgColor="#580e5d"> <span class="p9www"> <%=strCatName%></span></td>
</tr>
</table>
<TABLE cellSpacing="0" cellPadding="3" width="584" border="0">
<TBODY>
<TR>
<TD colSpan="2"><asp:datagrid id="DataGrid1" runat="server" AllowPaging="True" ShowHeader="False" BorderWidth="0px"
GridLines="Horizontal" PageSize="15" AutoGenerateColumns="False" CellSpacing="2" CellPadding="2">
<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"> <%# GetNewPic(DateTime.Parse(Convert.ToString(DataBinder.Eval(Container, "DataItem.News_Date")))) %><%# DataBinder.Eval(Container.DataItem, "News_Date", "({0})") %></font>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Visible="False" Font-Bold="True" Mode="NumericPages"></PagerStyle>
</asp:datagrid></TD>
</TR>
<TR align="right">
<TD colSpan="3"><span class="p9003366">共有 <asp:label id="lblAllNum" runat="server" ForeColor="Red"></asp:label>條記錄
頁次: <asp:label id="lblCurr" runat="server" ForeColor="Red"></asp:label><FONT color="red">/</FONT> <asp:label id="lblTotal" runat="server" ForeColor="Red"></asp:label>
<asp:linkbutton id="btnFirst" onclick="PagerButtonClick" runat="server" Text="第一頁" CommandArgument="0">首頁</asp:linkbutton>
<asp:linkbutton id="btnPrev" onclick="PagerButtonClick" runat="server" CommandArgument="prev">前頁</asp:linkbutton>
<asp:linkbutton id="btnNext" onclick="PagerButtonClick" runat="server" CommandArgument="next">后頁</asp:linkbutton>
<asp:linkbutton id="btnLast" onclick="PagerButtonClick" runat="server" CommandArgument="last">末頁</asp:linkbutton>
</span></TD>
</TR>
</TBODY></TABLE>
</td>
</tr>
</table>
<table height="6" cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
<tr>
<td bgColor="#fec104" height="3"></td>
</tr>
</table>
<table height="20" cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
<tr bgColor="#e7e7e7">
<td align="center" width="894">
<uc1:Foot id="Foot1" runat="server"></uc1:Foot></td>
</tr>
</table>
</form>
</BODY>
</HTML>