<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Admin_manager_password" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<script type="Text/JavaScript" language="JavaScript">
	function CheckForm(){
		if(document.login.A_oldpass.value==""){
			alert("旧密码不能为空！");
			document.login.A_oldpass.focus();
			return false;
		}
		if (document.login.A_passA.value=="" || (document.login.A_passA.value).length<6){
			alert("新密码不能为空,且不能小于6位！");
			document.login.A_passA.focus();
			return false;
		}
		if (document.login.A_passB.value=="" || (document.login.A_passB.value).length<6){
			alert("确认密码不能为空，且不能小于6位！");
			document.login.A_passB.focus();
			return false;
		}
		if (document.login.A_passA.value!=document.login.A_passB.value){
			alert("两次密码不一至！");
			return false;
		}
	}
</script>
<style type="text/css">
<!--
.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>
</head>

<body style="margin-top:0; margin-left:0">
<table style="height:100%; width:100%" border="0" cellpadding="0" cellspacing="1">
  <tr>
    <td align="center" valign="top"><table style="height:76; width:100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td style="height:76"></td>
        </tr>
      </table>
      <table style="height:35; width:382" border="0" cellpadding="1" cellspacing="1" class="border">
        <tr> 
          <td align="center" class="topbg"><strong>修 改 管 理 员 密 码</strong></td>
        </tr>
      </table>
      <table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="height:3"><div align="center"></div></td>
        </tr>
      </table>      <table style="width:382" border="0" align="center" cellpadding="1" cellspacing="1" class="border">
        <form action="Admin_manager_password.aspx" method="post" onsubmit="return CheckForm(this)" name="login">
        <tr style="background-color:#FEFEFE"> 
          <td style="height:23; width:29%" align="right"  class="tdbg">用户名：</td>
            <td style="height:31; width:71%" class="tdbg"><font color="#FF0000"><%=GetCookie("AdminLogin", "A_userid")%> 
            </font></td>
        </tr>
        <tr style="background-color:#FEFEFE"> 
          <td style="height:23; width:29%" align="right" class="tdbg">旧密码：</td>
            <td style="height:31; width:71%" class="tdbg"> 
              <input name="A_oldpass" type="password" maxlength="16" />
            <input type="hidden" name="_send" value="modify" /></td>
        </tr>
        <tr style="background-color:#FEFEFE"> 
          <td style="height:23; width:29%" align="right" class="tdbg">新密码：</td>
            <td style="height:31; width:71%" class="tdbg"> 
            <input name="A_passA" type="password" maxlength="16" /></td>
        </tr>
        <tr style="background-color:#FEFEFE"> 
          <td style="height:23; width:29%" align="right" class="tdbg">确认密码：</td>
            <td style="height:31; width:71%" class="tdbg"> 
            <input name="A_passB" type="password" maxlength="16" /></td>
        </tr>
        <tr style="background-color:#FEFEFE"> 
          <td style="height:23; width:29%" align="right" class="tdbg">&nbsp;</td>
            <td style="height:31; width:71%" class="tdbg"> 
            <input type="submit" name="Submit" value=" 修改 " /></td>
        </tr>
	</form>
      </table>
      <table style="height:23; width:100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center"><font color="#999999">设置的密码不能小于6位, 不大于 16 位</font></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
