<%@ Page Language="C#" MasterPageFile="~/UI.Master" AutoEventWireup="true" CodeBehind="NewsList.aspx.cs" Inherits="LZBS.Web.NewsList" Title="新闻列表" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="margin-top:50px;">
    <div style="background-image: url('Images/title_bg.gif'); height: 27px; font-size: larger; width:891px; text-align:left; line-height:35px;">新闻中心</div>
    <div style="border: thin solid #3399FF; width:888px; font-size: larger; font-weight: 500;">
    <div style="width:165px; height:208px; float:left; text-align:left; overflow:inherit;">
    <asp:ImageButton ID="ibCompany" runat="server" Height="25px" Width="164px" 
        ImageUrl="Images/Company.jpg" onclick="ibCompany_Click" />
    <br />
    <br />
    <asp:ImageButton ID="ibMessage" runat="server" Height="25px" Width="164px" 
        ImageUrl="Images/Message.jpg" onclick="ibMessage_Click" />
    <br />
    <br />
    <asp:ImageButton ID="ibProfession" runat="server" Height="25px" Width="164px" 
        ImageUrl="Images/Profession.jpg" onclick="ibProfession_Click" />  
    <br />
    <br /> 
    <asp:ImageButton ID="ibAllNews" runat="server" Height="25px" Width="164px" 
        ImageUrl="Images/AllNews.jpg" onclick="ibAllNews_Click" />
           
</div>
<div style="width:15px; height:500px; float:left; text-align:left; overflow:inherit;">
&nbsp;
</div>
<div style="width:700px; text-align:left; float:left;">
新闻中心 >>  <asp:Label ID="lblNewsType" runat="server" Text=""></asp:Label>
    
    <asp:Repeater ID="rptNewsList" runat="server">
    <HeaderTemplate>
    <table border="0" cellpadding="1" style="width:695px;">
        <tr style="height:25px;">
            <td style="width:515px; text-align:left;">新闻标题</td>
            <td style="width:55px;">点击量</td>
            <td style="width:125px;">发布时间</td>
        </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr style="height:25px;">
            <td style="width:450px;">※ <a href='NewsInfo.aspx?NewsID=<%# DataBinder.Eval(Container.DataItem,"NewsID") %>'>
                                        <%# DataBinder.Eval(Container.DataItem,"Title") %></a></td>
            <td style="width:95px;"><%# DataBinder.Eval(Container.DataItem, "Numbers")%></td>
            <td style="width:150px;"><%# DataBinder.Eval(Container.DataItem, "PublishTime")%></td>
        </tr>
    </ItemTemplate>
    <SeparatorTemplate></SeparatorTemplate>
    <FooterTemplate></table></FooterTemplate>
    </asp:Repeater>
</div>    
<webdiyer:AspNetPager ID="anpPager" runat="server" 
        OnPageChanged="anpPager_PageChanged" PageSize="5" 
        InvalidPageIndexErrorMessage="" PageIndexOutOfRangeErrorMessage="" 
        CustomInfoTextAlign="Right" FirstPageText="首页" LastPageText="尾页" 
        NextPageText="下一页" PrevPageText="上一页">
</webdiyer:AspNetPager>  
    
    
    
    </div>
    </div>


</asp:Content>
