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

<!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 href="/admin/images/style.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../themes/default/default.css" />
    <link rel="stylesheet" href="../plugins/code/prettify.css" />
</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" class="tools_btn"><span><b class="add">添加连接</b></span></a>
                <asp:LinkButton ID="btnSave" runat="server" CssClass="tools_btn" OnClick="btnSave_Click"><span><b class="send">排序交换</b></span></asp:LinkButton>
                <a href="javascript:void(0);" 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 align="center">
                <th width="6%">
                    选择
                </th>
                <th>
                    编号
                </th>
                <th>
                    友情连接名称
                </th>
                <th>
                    友情连接地址
                </th>
                
                <th>
                    排序
                </th>
                <th width="12%">
                    操作
                </th>
            </tr>
            <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand" OnItemDataBound="rptList_ItemDataBound">
                <ItemTemplate>
                    <tr align="center">
                        <td align="center">
                            <asp:CheckBox ID="chkId" CssClass="checkall" runat="server" />
                            <asp:HiddenField ID="hidId" Value='<%#Eval("id")%>' runat="server" />
                            <asp:HiddenField ID="hidLayer" Value='<%#Eval("id")%>' runat="server" />
                        </td>
                        <td align="center">
                            <%#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>
                            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                            <%#Eval("Cms_Name") %>
                        </td>
                         
                        <td>
                            <asp:TextBox ID="txtSortId" runat="server" Text='<%#Eval("Cms_Liu10")%>' CssClass="txtInput2 small2"
                                Visible="false" />
                            <asp:LinkButton ID="LinkButton111" runat="server" CommandArgument='<%# Eval("Cms_Liu10") %>'
                                CommandName="shangyi">
                                <asp:Label ID="Label111" runat="server">上移</asp:Label></asp:LinkButton>
                            |
                            <asp:LinkButton ID="LinkButton222" runat="server" CommandArgument='<%# Eval("Cms_Liu10") %>'
                                CommandName="xiayi">
                                <asp:Label ID="Label211" runat="server">下移</asp:Label></asp:LinkButton>
                            |
                            <asp:LinkButton ID="LinkButton11" runat="server" CommandArgument='<%# Eval("Cms_Liu10") %>'
                                CommandName="dingzhi">
                                <asp:Label ID="Label11" runat="server">置顶</asp:Label></asp:LinkButton>
                        </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>
        <div class="line10">
        </div>
    </div>
    <asp:HiddenField ID="Hid" runat="server" />
    </form>
</body>
</html>
