<!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>
<title>密码帮手——找回密码第三步</title>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<script type="text/javascript" language="javascript">
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;	
}
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>
<div class="wrapper lineBorder" id="login">
  <div class="location">找回密码第三步</div>
  <div class="theme fLeft">
    <form name='form1' method='POST' action='resetpassword.php'>
      <input type="hidden" name="dopost" value="safequestion">
      <input type="hidden" name="id" value="<?php echo $member['mid'];?>">
      <input type="hidden" name="userid" value="<?php echo $userid;?>">
      <ul>
        <li><span>安全问题：</span>
          <?php
    require(DEDEDATA.'/safequestions.php');
    echo GetSafequestion(0,'safequestion');
      ?>
        </li>
        <li><span>问题答案：</span>
          <input class="text" name="safeanswer" type="text" id="safeanswer" value="" />
        </li>
        <li><span>验证码：</span>
          <input name="vdcode" type="text" id="vdcode" style='width:50px;text-transform:uppercase;' class="text"  />
          <img id="vdimgck" src="../include/vdimgck.php" alt="看不清？点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /> 看不清？<a onclick="changeAuthCode();" href="#">点击更换</a></li>
        <li><span>&nbsp;</span>
          <button class="button2" id="btnSignCheck" type="submit">确定</button>
        </li>
      </ul>
    </form>
  </div>
  <div class="useNew fLeft textCenter">
    <p class="signUp">
      <button class="button6 mTB10" onclick="location='index_do.php?fmdo=user&dopost=regnew'">注册一个新帐号</button>
    </p>
    <p class="mTB10"><a href="resetpassword.php">找回密码&gt;&gt;</a></p>
  </div>
  <div class="clear"></div>
</div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
</body>
</html>
