国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.5KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>找回密码第一步-<?php echo $cfg_webname;?></title>
  7. <link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/static/web/css/style.css">
  10. </head>
  11. <body>
  12. <?php obtaintheme('top.htm');?>
  13. <main class="container py-3">
  14. <h2>找回密码第一步</h2>
  15. <p><a href="index_do.php?fmdo=user&dopost=regnew">还没注册?</a></p>
  16. <form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php">
  17. <input type="hidden" name="dopost" value="getpwd">
  18. <input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>">
  19. <div class="form-group">
  20. <label for="iptUserid">账号</label>
  21. <input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入账号" required>
  22. </div>
  23. <div class="form-group">
  24. <label for="selType">找回方式</label>
  25. <div class="input-group">
  26. <select name="type" id="selType" class="form-control" change="">
  27. <option value="1" selected>通过邮件取回</option>
  28. <option value="2">通过安全问题取回</option>
  29. </select>
  30. </div>
  31. </div>
  32. <div class="form-group" id="mail-box">
  33. <label for="iptMail">邮箱</label>
  34. <input type="text" name="mail" id="iptMail" class="form-control" placeholder="请输入邮箱">
  35. </div>
  36. <div class="form-group">
  37. <label for="iptValidate">验证码</label>
  38. <div class="input-group">
  39. <input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required>
  40. <div class="input-group-append"><img src="<?php echo $cfg_phpurl;?>/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_phpurl;?>/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码"></div>
  41. </div>
  42. </div>
  43. <div><button type="submit" class="btn btn-success btn-block">下一步</button></div>
  44. </form>
  45. </main>
  46. <?php obtaintheme('foot.htm');?>
  47. <script>
  48. $(document).ready(function() {
  49. $("#selType").on("change", function() {
  50. if (this.value == 2) {
  51. $("#mail-box").hide();
  52. } else {
  53. $("#mail-box").show();
  54. }
  55. });
  56. });
  57. </script>
  58. </body>
  59. </html>