<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="announcement_list.aspx.cs" Inherits="JRAPI.Admin.announcement.announcement_list" %>
<%@ Register src="../Controls/SubPageTop.ascx" tagname="SubPageTop" tagprefix="uc1" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<uc1:SubPageTop ID="SubPageTop1" runat="server" />
<body>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
            <a href='javascript:;'  class="on"><em>公告列表</em></a><span>|</span><a href='announcement_add.aspx'><em>添加公告</em></a>    </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style><div class="pad-lr-10">
<div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
            <th align="center">ID</th>
			<th align="center">公告标题</th>
			<th align="center">公告类别</th>
			<th align="center">发布时间</th>
			<th align="center">发布人</th>
			<th align="center">管理操作</th>
            </tr>
        </thead>
    <tbody>
        <asp:Repeater ID="repList" runat="server">
            <ItemTemplate>
	            <tr>
	            <td align="center"><%# Eval("Annid")%></td>
	            <td align="center"><%# Eval("AnnounceTitle")%></td>
	            <td align="center"><%# Eval("AnnounceTypeName")%></td>
	            <td align="center"><%# Eval("AnnounceTime")%></td>
	            <td align="center"><%# Eval("AnnounceAdmin")%></td>
	            <td align="center"><a href="announcement_edit.aspx?Annid=<%# Eval("Annid") %>">修改</a> <a href="javascript:confirmurl('?action=delete&Annid=<%# Eval("Annid")%>','确认要删除 『 <%# Eval("AnnounceTitle")%> 』 吗？')">删除</a></td>
	            </tr>
            </ItemTemplate>
        </asp:Repeater>

</tbody>
    </table>
    </div>
    <form id="Form1" runat="server">
 <webdiyer:AspNetPager ID="pages" runat="server" FirstPageText="首页" LastPageText="尾页"
                                            NextPageText="下一页" PrevPageText="上一页" 
        AlwaysShow="True" PageSize="20" UrlPageIndexName="pageindex" CustomInfoHTML="共有%RecordCount%条数据,每页%PageSize%条,当前第%CurrentPageIndex%页,共%PageCount%页"
                                            ShowCustomInfoSection="Left"  CurrentPageButtonClass="current"   
        CustomInfoClass="pxofy" 
        NavigationClass="pagin-list" onpagechanging="PageList_PageChanging" 
        PageIndexBoxClass="gotoinput" SubmitButtonClass="gotobtn" 
        FirstLastButtonsClass="a1" PagingButtonsClass="" PrevNextButtonsClass="a1">
                                        </webdiyer:AspNetPager>
</form>
</div>
</body>
</html>