<!-- #include file="conn.asp" -->
<!-- #include file="inc.asp" -->
<%
Call Check_Session("Agent")
%>
<script language="JavaScript">
<!--
function  check() {
   if (mp.oldpw.value=="") {
		alert("请填写原密码！");
		mp.oldpw.focus();		
		    return (false);
  }
  var pwd = document.mp.password.value;
  if (mp.password.value=="") {
		alert("请填写密码！");
		mp.password.focus();		
		    return (false);
  }  
  if (mp.password.value.length < 6) {
		alert("密码最少６位！");
		mp.password.focus();		
		    return (false);
  }
  if (mp.password.value.length > 16) {
		alert("密码最多16位！");
		mp.password.focus();		
		    return (false);
  }
  var pwd2 = document.mp.password1.value;
  if (mp.password1.value=="") {
		alert("请再次输入密码！");
		mp.password1.focus();		
		    return (false);
  }  
  if (pwd != pwd2) {
    alert("两次密码输入不一致！");
    document.mp.password.value="";
    document.mp.password1.value="";
	return false;
  }
 else
	document.mp.submit();
}// -->
</script>
<html>
<head>
<title>修改登陆密码-武汉家教网</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<BODY LEFTMARGIN=0 TOPMARGIN=10 MARGINWIDTH=0 MARGINHEIGHT=0><div align="center">
<!-- #include file="head.asp" -->
    <table width="778" height="30" border="0" cellpadding="0" cellspacing="0" bgcolor="FBFCED">
      <tr>
        <td height="30" valign="bottom">&nbsp;&nbsp;&nbsp;<strong>当前位置</strong>：【<a href="http://www.whjiajiao.com" title="www.whjiajiao.com"><font color=red><b>武汉家教网</b></font></a>】 → <a href="index.asp">首页</a> → 修改密码</td>
      </tr>
      <tr>
        <td align="center" valign="bottom"><img src="IMAGES/line.gif" width="730" height="2"></td>
      </tr>
    </table>
    <TABLE WIDTH=778 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="FBFCED">
  <TR>
    <TD align="center">
      <br>
      <table width="660" height="10" border="0" cellpadding="5" cellspacing="1" bgcolor="#999999">
      <form name="mp" method="post" action="agent_mod_password_save.asp">
      <tr> 
      <td align="right" bgcolor="#FDFEF5">*&nbsp; 原密码：</td>
        <td bgcolor="#FFFFFF">
		&nbsp;<input name="oldpw" type="password" size="25" maxlength="50"></td>
      </tr>
	  <tr>
      <td width="23%" height="2" align="right" bgcolor="#FDFEF5">*&nbsp;新密码：</td>
      <td width="77%" height="2" bgcolor="#FFFFFF"> 
          &nbsp;<input type="password" name="password" size="25"></td>
    </tr>
	  <tr> 
      <td align="right" bgcolor="#FDFEF5">*&nbsp;确认新密码：</td>
        <td bgcolor="#FFFFFF">
          &nbsp;<input name="password1" type="password" size="25">        </td>
      </tr>
	  <tr align="center">
      <td height="11" colspan="2">
<INPUT class="input3" name=B1 type=button onClick="check()" value="提 交">
<INPUT name=Reset type=reset value=重新填写 class="input2">
      </td>
    </tr></form>
  </table>
      <br></TD>
  </TR>
</TABLE>
<!-- #include file="foot.asp" -->
</div>
</body>
</html>
