国内流行的内容管理系统(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.

64 lines
2.8KB

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