<%@ page language="C#" autoeventwireup="true" inherits="admin_user_AdminList, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<!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 runat="server">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> 管理员列表
            </td>
        </tr>
    </table>
    <table class="dh3" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td style="padding-left: 10px">
                <a href="SetAdmin.aspx">添加管理员</a>
            </td>
        </tr>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table align="center" cellpadding="2" cellspacing="1" class="border">
                <tr class="title">
                    <td class="t1">ID
                    </td>
                    <td>用户名
                    </td>
                    <td>真实姓名
                    </td>
                    <td>所属组
                    </td>
                    <td>登录次数</td>
                    <td>自定义权限</td>
                    <td>操作</td>
                </tr>
                <asp:Repeater ID="RepAdminList" runat="server" 
                    onitemcommand="RepAdminList_ItemCommand" 
                    onitemdatabound="RepAdminList_ItemDataBound">
                    <ItemTemplate>
                        <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                      
                            <td class="t1"><%#Eval("AdminId")%>
                            </td>
                            <td align="center"><%# Eval("UserName")%></td>
                            <td align="center"><%# Eval("TrueName")%></td>
                            <td align="center"><%# Eval("GroupName")%></td>
                            <td align="center"><%# Eval("LoginNum")%></td>
                            <td align="center"><%# Function.GetStyleTrue(Eval("IsCustomPower","{0}"))%></td>
                            <td align="center"><a href="SetAdmin.aspx?AdminId=<%#Eval("AdminId")%>">编辑</a> ┊ 
                                <asp:HyperLink ID="HyperLink1" runat="server">设置权限</asp:HyperLink> ┊ <asp:LinkButton ID="lnkDelete" runat="server" Text="删除" CommandName="delete" CommandArgument='<%#Eval("AdminId") %>' OnClientClick="return confirm('您确定要移除该条记录吗?')"></asp:LinkButton></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
