{template "phpcms","header"}
<script LANGUAGE="javascript">
<!--
function CheckForm()
{
    if (document.myform.pwdconfirm.value!=document.myform.password.value)
	{
	  alert("两次输入的密码不一致！")
      document.myform.password.value = ""
      document.myform.pwdconfirm.value = ""
	  document.myform.password.focus()
	  document.myform.password.select()
	  return false
	 }
    document.myform.submit.disabled=true;
}
//-->
</script>
<table cellspacing="0" cellpadding="0" class="member">
<tr>
<td valign="top" class="left">
{template "member","left"}
</td>
<td width="10">
</td>
<td class="right" valign="top">
<div class="memberborder_1">
<div class="memberborder_2">
<h1>修改密码</h1>
<form name="myform" method="post" action="{$MOD[linkurl]}editpassword.php" onSubmit="return CheckForm();">
<table cellpadding="0" cellspacing="0" class="righttable">
      <tr>
        <td width="40%" class="td_right">用户名</td>
        <td class="td_left">{$username}</td>
      </tr>
      <tr>
        <td class="td_right">原密码</td>
        <td class="td_left"><input name="oldpassword" type="password" id="oldpassword" size="15"> <span class="color_1">如不需要更改密码，此处请留空</span></td>
      </tr>
      <tr>
        <td class="td_right">新密码</td>
        <td class="td_left"><input name="password" type="password" id="password" size="15"> <span class="color_1">如不需要更改密码，此处请留空</span></td>
      </tr>
    <tr>
        <td class="td_right">确认新密码</td>
        <td class="td_left"><input name="pwdconfirm" type="password" id="pwdconfirm" size="15"> <span class="color_1">如不需要更改密码，此处请留空</span></td>
      </tr>
    <tr>
      <td height="45"></td>
        <td class="td_left">
     <input type="hidden" name="dosubmit" value="1">
      <input type="submit" name="submit" value="修 改" class="btn">
      <input type="reset" name="reset" value="清 除" class="btn"></td>
    </tr>
</table></form>
</div></div>
</td>
</tr>
</table>
{template "phpcms","footer"}