<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminDetail.aspx.cs" Inherits="Admin_AdminDetail"
    EnableViewState="true" %>

<!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="Stylesheet/Main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        function ViewEditPwd() {
            var pnlEditPwd = document.getElementById("pnlEditPwd");
            if (pnlEditPwd == null) {
                return;
            }

            if (pnlEditPwd.style.display == "none") {
                pnlEditPwd.style.display = "";
            } else {
                pnlEditPwd.style.display = "none";
            }
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <ul class="tool">
        <li>
            <div class="tool_back">
                <a href="javaScript:history.back(-1)">返回上一步</a></div>
        </li>
    </ul>
    <div class="main_body">
        <h1>
            <asp:Literal ID="litTitle" runat="server" Text="用户资料"></asp:Literal></h1>
        <div class="divbox">
            <ul class="item_body_list">
                <li class="ac"><span class="item_body_list_left">管理名称：</span> <span class="item_body_list_right">
                    <asp:TextBox ID="txtAdminName" runat="server" Width="200px" ReadOnly="True"></asp:TextBox>
                </span></li>
                <li><span class="item_body_list_right">
                    <asp:CheckBox ID="chkIsPassword" runat="server" Text="修改密码" onclick="ViewEditPwd()" /></span></li>
                <span id="pnlEditPwd" style="display: none;">
                    <li><span class="item_body_list_left">原&nbsp;&nbsp; 密&nbsp;&nbsp; 码：</span> <span
                        class="item_body_list_right">
                        <asp:TextBox ID="txtAdminPwd" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
                        &nbsp;(输入原管理员登陆密码) </span></li>
                    <li><span class="item_body_list_left">新&nbsp;&nbsp; 密&nbsp;&nbsp; 码：</span> <span
                        class="item_body_list_right">
                        <asp:TextBox ID="txtNewAdminPwd" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
                        &nbsp;(输入新的管理员登陆密码) </span></li>
                    <li><span class="item_body_list_left">确认新密码：</span> <span class="item_body_list_right">
                        <asp:TextBox ID="txtNewAdminPwd2" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
                        &nbsp;(再一次输入<span id="">新的管理员登陆密码</span>) </span></li>
                </span>
            </ul>
            <div class="padding8px align_center font_bold ht_color">
                <asp:LinkButton ID="lbtnOk" runat="server" CssClass="btn_bg" OnClientClick="return confirm('确认保存资料？')"
                    OnClick="lbtnOk_Click">保存资料</asp:LinkButton></div>
        </div>
        <div class="ht">
        </div>
        <div class="ht">
        </div>
        <ul class="ac_intro"  runat="server" id="boxPageExplain">
            <li class="ac_intro_title">说明：</li>
            <li class="ac_intro_item">管理员资料的查看与编辑</li>
        </ul>
    </div>
    </form>
</body>
</html>
