<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<title>更改登录密码</title>
<link href="newskin.css" rel="stylesheet" type="text/css">
<script language='javascript'src='area.js'></script>
<script>
function checkSubmit()
{
  if(document.form2.userpwdok.value!=document.form2.userpwd.value)
  {
    document.form2.userpwdok.focus();
    alert("两次密码不一致！");
    return false;
  }
  if(document.form2.vdcode.value=="")
  {
     document.form2.vdcode.focus();
     alert("验证码不能为空！");
     return false;
  }
}
</script>	
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php  include(dirname(__FILE__)."/head.htm"); ?>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="160" height="216" valign="top"> 
      <?php include(dirname(__FILE__)."/menu.php");?>
    </td>
    <td width="10">&nbsp;</td>
    <td  valign="top">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px">
         <tr> 
            <td background="img/nnnbg.gif" height="25" class="gdt2">
			<strong>　&nbsp;更改登录密码：</strong>
			</td>
          </tr>
	  </table> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="mainbody">
        <form name="form2" action="index_do.php" method="post" onSubmit="return checkSubmit();">
          <input type="hidden" name="fmdo" value="user" />
          <input type="hidden" name="dopost" value="editUserSafe" />
          <tr> 
            <td height="36" align="right" >验证码：</td>
            <td height="25" ><table width="200" border="0" cellspacing="0" cellpadding="0" >
                <tr> 
                  <td width="84" ><input name="vdcode" type="text" id="vdcode" size="10" ></td>
                  <td width="116" ><img src='../include/vdimgck.php' width='50' height='20'></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td width="17%" height="36" align="right" >原登录密码：</td>
            <td width="83%" height="25" ><input type="password" name="oldpwd" style="width:120;height:20" ></td>
          </tr>
          <tr>
            <td height="36" align="right" >新 密 码：</td>
            <td height="25" ><input name="userpwd" type="password" id="userpwd" size="18" style="width:120;height:20" >
              &nbsp;确认密码：
              <input name="userpwdok" type="password" id="userpwdok" value="" size="18" style="width:120;height:20" >
&nbsp;</td>
          </tr>
          
          <tr> 
            <td height="67" align="right" >&nbsp;</td>
            <td height="67" > <input type="submit" name="Submit2" value="确定修改" > 
              &nbsp;&nbsp; <input type="reset" name="Submit222" value="重置" > </td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
<?php 
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
