<%@ Page Language="C#" MasterPageFile="~/Admin/MainPage.Master" AutoEventWireup="true" CodeBehind="administrator.aspx.cs" Inherits="PPFOR.Admin.Sys.administrator" Title="查看管理员" %>


<asp:Content ID="Content1" ContentPlaceHolderID="PPFOR_mainContent" runat="server">
<script language="javascript" type="text/javascript">
    function displayOptions(id,bl)
    {
        var obj=document.getElementById(id);
        if(bl)
        {
            obj.style.display="";
        }
        else
        {
            obj.style.display="none";
        }
    }
    function checkRoleType(obj,bol)
    {
        var obj2=document.getElementById("roleSelectArea");
        if(obj.checked==bol)
        {
            obj2.style.display="";
        }
        else
        {
            obj2.style.display="none";
        }
    }
</script>
<form action="administrator.aspx" method="post" id="form1" runat="server">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="fortable">
    <thead>       
        <tr>
          <td colspan="2" align="center">查看管理员</td>
        </tr>
    </thead>         
        <tr>
          <td style="width:15%;" align="right">管理员名：</td>
          <td><asp:Label ID="PPFOR_adminName" runat="server"></asp:Label></td>
        </tr>
        <tr>
          <td align="right">前台会员名：</td>
          <td><asp:Label ID="PPFOR_userName" runat="server"></asp:Label>
          </td>
        </tr>
        <tr>
          <td align="right">所属角色：</td>
          <td><asp:Label ID="PPFOR_roleName" runat="server"></asp:Label></td>
        </tr>
        <tr>
          <td align="right">管理选项：</td>
          <td><input name="isAllowModifyPwd" id="PPFOR_isAllowModifyPwd" type="checkbox" disabled="disabled" runat="server"/>
            允许管理员修改密码<br />
            <input type="checkbox" name="isLocked" id="PPFOR_isLocked" disabled="disabled" runat="server"/>
          是否锁定</td>
        </tr>
        <tr>
          <td align="right">登录过期时间：</td>
          <td><asp:Label ID="PPFOR_expiresTime" runat="server"></asp:Label> 分钟（为0则不过期，必须手动注销管理员才能退出登录）</td>
        </tr>
        <tr style="display:none;">
            <td colspan="2" align="center" style="height:50px">
                <asp:Button ID="PPFOR_forUpdateAdministrator" CssClass="inputbutton" runat="server" Text="修改"/>
                <script type="text/javascript">
                    addButtonArray("<%= PPFOR_forUpdateAdministrator.ClientID %>");
                </script>
            </td>
        </tr>
      </table>
      <br />
</form>
</asp:Content>
