<!DOCTYPE html>
<html>
<head>
  <meta charset="<?php echo $cfg_soft_lang; ?>">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <script src="<?php echo $cfg_cmsurl; ?>/static/web/js/jquery.min.js"></script>
  <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/bootstrap.min.css">
  <link href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet">
  <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css">
  <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css">
  <title>密码帮手 - 找回密码第三步</title>
</head>
<body>
  <?php include(DEDEMEMBER."/templets/top.htm"); ?>
  <?php include(DEDEMEMBER."/templets/header.htm"); ?>
  <main class="">
    <div class="container">
      <div class="main mb-3">
        <p>找回密码第三步<em><a href="index_do.php?fmdo=user&dopost=regnew">还没注册 点击这里</a></em></p>
        <form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/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;?>">
          <div class="form-group">
            <?php
          require(DEDEDATA.'/safequestions.php');
          echo GetSafequestion(0,'safequestion');
            ?>
          </div>
          <div class="form-group">
            <div class="input-group">
              <input placeholder="问题答案" name="safeanswer" type="text" class="form-control">
            </div>
          </div>
          <div class="form-group">
            <div class="input-group">
              <input name="vdcode" placeholder="输入图形验证码" type="text" class="form-control" id="iptValidate" style="text-transform:uppercase">
              <img src="<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl; ?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="点击我更换图片" alt="点击我更换图片" />
            </div>
          </div>
          <button type="submit" class="btn btn-success btnLogin">确定</button>
        </form>
      </div>
    </div>
  </main>
  <?php include(DEDEMEMBER."/templets/footer.htm"); ?>
</body>
</html>