<!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>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<title>更改登录密码</title>
<link href="company_style.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="820" 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:5px;">
         <tr> 
            <div class="manage_company_right_title" style="margin-top:10px;">
                	<ul><li>修改密码：</li></ul>
                </div>
          </tr>
	  </table> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" style="text-align:left; border:1px solid #b1c384;">
        <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" class="yanzhengma" /></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" class="company_manage_form_label" /></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" class="company_manage_form_label" />
              &nbsp;确认密码：
              <input name="userpwdok" type="password" id="userpwdok" value="" size="18" style="width:120;height:20" class="company_manage_form_label" />
&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>
