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

85 lines
3.4KB

  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. <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
  12. </head>
  13. <body class="body-bg">
  14. <?php pasterTempletDiy('top.htm');?>
  15. <main class="container py-3">
  16. <div class="row">
  17. <div class="col-md-12">
  18. <h2>找回密码第一步</h2>
  19. <p><a href="index_do.php?fmdo=user&dopost=regnew">还没注册?</a></p>
  20. <form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php">
  21. <input type="hidden" name="dopost" value="getpwd">
  22. <input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>">
  23. <div class="form-group">
  24. <label for="txtUsername">账号</label>
  25. <input type="text" name="userid" id="txtUsername" class="form-control" placeholder="请输入账号">
  26. </div>
  27. <div class="form-group">
  28. <label for="txtMail">邮箱</label>
  29. <input type="text" name="mail" id="txtMail" class="form-control" placeholder="请输入邮箱">
  30. </div>
  31. <div class="form-group">
  32. <label for="iptValidate">找回方式</label>
  33. <div class="input-group">
  34. <select name="type" class="form-control">
  35. <option value="1" selected>通过邮件取回</option>
  36. <option value="2">通过安全问题取回</option>
  37. </select>
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label for="iptValidate">验证码</label>
  42. <div class="input-group">
  43. <input type="text" name="vdcode" class="form-control text-uppercase" id="iptValidate" placeholder="请输入验证码">
  44. <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="验证码">
  45. </div>
  46. </div>
  47. <div><button type="submit" class="btn btn-success btn-md btn-block">下一步</button></div>
  48. </form>
  49. </div>
  50. </div>
  51. </main>
  52. <?php pasterTempletDiy('foot.htm');?>
  53. <script>
  54. function changeAuthCode() {
  55. var num = new Date().getTime();
  56. var rand = Math.round(Math.random() * 10000);
  57. num = num + rand;
  58. $('#ver_code').css('visibility', 'visible');
  59. if ($("#vdimgck")[0]) {
  60. $("#vdimgck")[0].src = "/apps/vdimgck.php?tag=" + num;
  61. }
  62. return false;
  63. }
  64. function hideVc() {
  65. $('#ver_code').css('visibility', 'hidden');
  66. }
  67. $(document).ready(function() {
  68. $("#vdcode").focus(function() {
  69. var leftpos = $("#vdcode").position().left;
  70. $('#ver_code').css('left', leftpos + 'px');
  71. $('#ver_code').css('visibility', 'visible');
  72. });
  73. $("input[type='password']").click(function() {
  74. hideVc()
  75. });
  76. $("#txtUsername").click(function() {
  77. hideVc()
  78. });
  79. $("input[type='radio']").focus(function() {
  80. hideVc()
  81. });
  82. })
  83. </script>
  84. </body>
  85. </html>