<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="CuzcmsCcwl.admin.picture.list" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>类别管理</title>
    <link type="text/css" rel="stylesheet" href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" />
    <link type="text/css" rel="stylesheet" href="../images/style.css" />
    <script type="text/javascript" src="../../scripts/jquery/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../scripts/ui/js/ligerBuild.min.js"></script>
    <script type="text/javascript" src="../js/function.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="navigation">
            <h3>
                【网站图片列表】</h3>
        </div>
        <div class="tools_box">
            <div class="tools_bar">
                <a href="edit.aspx" id="hrid" runat="server" class="tools_btn"><span><b class="add">
                    添加信息</b></span></a>
                <asp:LinkButton ID="btnSave" runat="server" CssClass="tools_btn" OnClick="btnSave_Click"
                    Visible="false"><span><b class="send">排序交换</b></span></asp:LinkButton>
                <a href="javascript:void(0);" id="hrquanxuan" runat="server" onclick="checkAll(this);"
                    class="tools_btn"><span><b class="all">全选</b></span></a>
                 <asp:LinkButton ID="btnDelete" runat="server" CssClass="tools_btn" OnClientClick="return confirm( '是否确认批量删除? ')"
                    OnClick="btnDelete_Click"><span><b class="delete">批量删除</b></span></asp:LinkButton>
            </div>
        </div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
            <tr>
                <th width="6%">
                    编号
                </th>
                <th align="left">
                    标题说明
                </th>
                <th width="12%">
                    操作
                </th>
            </tr>
            <asp:Repeater ID="rptList" runat="server" 
                onitemdatabound="rptList_ItemDataBound">
                <ItemTemplate>
                    <tr>
                        <asp:HiddenField ID="hidId" Value='<%#Eval("id")%>' runat="server" />
                        <asp:HiddenField ID="hidLayer" Value='<%#Eval("id")%>' runat="server" />
                        <td align="center">
                            <asp:CheckBox ID="chkId" runat="server" Text="选" CssClass="checkall" />
                            <%#Eval("id")%>
                        </td>
                        <td>
                            <asp:Literal ID="LitFirst" runat="server"></asp:Literal>
                            <a href="edit.aspx?id=<%# Eval("id") %>">
                                <%#Eval("Cms_Title") %></a>
                        </td>
                        <td align="center">
                            <a href="edit.aspx?id=<%# Eval("id") %>">修改</a>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"7\">暂无记录</td></tr>" : ""%></FooterTemplate>
            </asp:Repeater>
        </table>
        <br />
        <div class="NextPage">
            <webdiyer:AspNetPager ID="Aspage_All" CssClass="paginator" runat="server" PageSize="24"
                AlwaysShow="True" ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" UrlPaging="false"
                OnPageChanging="Aspage_PageChanging" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
                PrevPageText="上一页" TextAfterPageIndexBox="页" TextBeforePageIndexBox="跳到">
            </webdiyer:AspNetPager>
        </div>
        <div class="line10">
        </div>
    </div>
    </form>
</body>
</html>
