<%@ page language="C#" autoeventwireup="true" inherits="admin_user_SetAdmin, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!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" />
    <script src="../../js/Common.js" type="text/javascript"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>
</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> >> <a href="AdminList.aspx">管理员列表</a> >> 设置管理员
                </td>
            </tr>
        </table>
        <table class="border" cellspacing="1" cellpadding="0" border="0" align="center">
            <tr>
                <td class="bqleft">用户名：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtUserName" runat="server" CssClass="in1"></asp:TextBox>
                    <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="bqleft">密码：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtPassWord" runat="server" TextMode="Password" CssClass="in1"></asp:TextBox>
                    <font color="red">*<asp:Literal ID="Literal1" runat="server"></asp:Literal></font>
                </td>
            </tr>
            <tr>
                <td class="bqleft">确认密码：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtPassWord2" runat="server" TextMode="Password" CssClass="in1"></asp:TextBox>
                    <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="bqleft">真实姓名：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtTrueName" runat="server" CssClass="in1"></asp:TextBox>
                    <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="bqleft">Email：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtEmail" runat="server" Columns="40" CssClass="in1"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">所属用户组：
                </td>
                <td class="bqright">
                    <asp:DropDownList ID="DropPowerGroup" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">用户头像：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtPortrait" Columns="50" runat="server" CssClass="in1" Style="float: left"></asp:TextBox><input
                        type="button" value="上传头像" class="btn" onclick="WinOpenLhgDialog('上传头像', '../common/uploadpic.aspx?ControlId=txtPortrait', 620, 290, '')"
                        style="float: left" /><asp:TextBox ID="FilePicPath" runat="server" Style="display: none">user|0</asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">读取自己的数据：
                </td>
                <td class="bqright">
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td><asp:RadioButtonList ID="RadIsMyData" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Selected="True">读取所有数据</asp:ListItem>
                        <asp:ListItem Value="1">只读取自己的数据</asp:ListItem>
                    </asp:RadioButtonList></td>
                            <td><font color="red">针对内容管理时，是否只读取属于自己的数据。</font></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="bqleft">启用自定义权限：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="RadIsCustom" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True">是</asp:ListItem>
                        <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">是否加入群组：
                </td>
                <td class="bqright">
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <asp:RadioButtonList ID="radAddGroup" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="1">加入</asp:ListItem>
                                    <asp:ListItem Value="0" Selected="True">不加入</asp:ListItem>
                                </asp:RadioButtonList></td>
                            <td><font color="red">是否加入群组是针对多站点管理时使用。默认/不了解时，请选择不加入。</font></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="bqleft"></td>
                <td class="bqright" height="40">
                    <asp:Button ID="Button1" runat="server" Text=" 确认 " CssClass="btn radius30 pad_0_30"
                        OnClick="Button1_Click" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
