<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="JuSNS.Web.system.admin.index" %>

<!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>
    <title id="ptitle" runat="server">账户管理</title>
    <link href="../images/css/style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>

    <script language="javascript" type="text/javascript" src="../../js/public.js"></script>


</head>
<body>
    <table width="99%" border="0" align="center" cellpadding="5" cellspacing="1">
        <tr>
            <td width="120" align="center" valign="top">
                <div class="menu">
                    <ul>
                        <%=this.GetSystemMenu(sort)%>
                    </ul>
                </div>
            </td>
            <td valign="top">
                <div class="navip">
                    <span class="Blue">
                    <a href="index.aspx">修改密码</a> 
                    <a href="add.aspx">增加管理员</a> 
                    <a href="list.aspx">管理员管理</a> 
                     </span>
                </div>
               <div style="padding:6px 8px 0px 8px;">
                <div id="giftClass" runat="server"></div>
                <form id="form1" runat="server">
                    <table width="100%" border="0" cellpadding="3" cellspacing="1" class="maintable">
                <tr class="maintablelist">
                    <td align="center">
                        原密码:
                    </td>
                    <td align="left">
                    <asp:TextBox TextMode="Password" runat="server" ID="TxtOldPass" MaxLength="20"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtOldPass"
                            Display="Static" ErrorMessage="请输入原密码!" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class="maintablelist">
                    <td align="center">
                        新密码:
                    </td>
                    <td align="left">
                    <asp:TextBox TextMode="Password" runat="server" ID="TxtPassword" MaxLength="20"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtPassword"
                            Display="Static" ErrorMessage="请输入新密码!" SetFocusOnError="True"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxtPassword"
                            Display="Static" ErrorMessage="密码必须六位或以上!" SetFocusOnError="True" ValidationExpression="\w{6,}"></asp:RegularExpressionValidator></td>
                </tr>
                <tr class="maintablelist">
                    <td align="center">
                        新密码确认:
                    </td>
                    <td align="left">
                    <asp:TextBox TextMode="Password" runat="server" ID="TxtConfirm" MaxLength="20"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxtConfirm"
                            Display="Static" ErrorMessage="请输入新密码以确认!" SetFocusOnError="True"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TxtPassword"
                            ControlToValidate="TxtConfirm" Display="Static" ErrorMessage="两次密码输入不一致!" SetFocusOnError="True"></asp:CompareValidator></td>
                </tr>
                <tr class="maintablelist">
                    <td colspan="2" align="center" style="height: 27px">
                    <asp:Button runat="server" ID="BtnSave" Text=" 确定 " OnClick="BtnSave_Click" />
                    </td>
                </tr>
            </table>                    
                </form>
                </div> 
                
            </td>
        </tr>
    </table>
</body>
</html>
