<div class="message_main">
    <div class="message_main_tit">我的资料修改</div>
	<div class="message_main_content">

<script language="javascript">
<!--
	//document.getElementById('two3').className="hover";
	function check_pwd(theForm)
	{
		if(theForm.psw2.value!=theForm.psw.value)
		{
			document.getElementById('hst_pwd').innerHTML='<font style="color:#ff0000;">两次密码不一样，请重新输入</font>'
			return false;
		}
		return true;
	}
//-->
</script>
<table width="100%" cellspacing="0" cellpadding="0" class="mytopicbbs">
				<form action="?act=update_changepassword&username={$user_id}" method="post" name="theForm" id="theForm" onsubmit="return check_pwd(this);">
							<tr>
									<td width="11%" class="font14">旧密码确认：</td>
									<td width="89%">
										<input name="oldpsw" type="password" onchange="checktext(this.value)" size="50" maxlength="13" class="myinput"/>
										<span id="ThisText">*修改时请输入旧密码确认！</span>							</td>
								</tr>
								<tr>
									<td class="font14">新密码确认：</td>
									<td> <input name="psw" type="password" size="50" maxlength="13" class="myinput"/>&nbsp;&nbsp;如要修改请直接输入新密码进入更新</td>
								</tr>
								<tr>
									<td class="font14">确认密码：</td>
									<td><input name="psw2" type="password" size="50" maxlength="13" class="myinput"/>
									<span id="hst_pwd">请再次输入新密码</span></td>
								</tr>
								<tr>
									<td class="font14">密码问题：</td>
									<td> <input name="quesion" type="text" value="{$user_quesion}" size="50" class="myinput"/> <input name="oldquesion" type="hidden" value="{$user_quesion}" /> 请填写做为密码答案依据</td>
								</tr>
								<tr>
									<td class="font14">问题答案：</td>
									<td>
										<input name="answer" type="text" value="{$user_answer}" size="50" class="myinput"/><input type="hidden" name="oldanswer" value="{$user_answer}" /> 以便您日后取回密码答案，只供取回密码使用，如要修改可直接填写。							</td>
								</tr>
								<tr>
									<td colspan="2">
										<input type="Submit" value="更新" name="Submit" class="mysubmit"> &nbsp; <input type="reset" name="Submit2" value="清除"  class="mysubmit"/>							</td>
								</tr>
							
						</form>

			</table>
			<script language="JavaScript" type="text/javascript">
				<!--
				function checktext(str){
					if (str=="")
					{
					document.getElementById("ThisText").innerHTML="*修改时请输入旧密码确认！"
					}
					else{document.getElementById("ThisText").innerHTML=""}
				}
				//-->
			</script>

</div></div>