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

84 lines
3.3KB

  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. <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
  8. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.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 pasterTempletDiy('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="txtUsername">账号</label>
  24. <input type="text" name="userid" id="txtUsername" class="form-control" placeholder="请输入账号">
  25. </div>
  26. <div class="form-group">
  27. <label for="txtMail">邮箱</label>
  28. <input type="text" name="mail" id="txtMail" class="form-control" placeholder="请输入邮箱">
  29. </div>
  30. <div class="form-group">
  31. <label for="iptValidate">找回方式</label>
  32. <div class="input-group">
  33. <select name="type" class="form-control">
  34. <option value="1" selected>通过邮件取回</option>
  35. <option value="2">通过安全问题取回</option>
  36. </select>
  37. </div>
  38. </div>
  39. <div class="form-group">
  40. <label for="iptValidate">验证码</label>
  41. <div class="input-group">
  42. <input type="text" name="vdcode" class="form-control text-uppercase" id="iptValidate" placeholder="请输入验证码">
  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 pasterTempletDiy('foot.htm');?>
  52. <script>
  53. function changeAuthCode() {
  54. var num = new Date().getTime();
  55. var rand = Math.round(Math.random() * 10000);
  56. num = num + rand;
  57. $('#ver_code').css('visibility', 'visible');
  58. if ($("#vdimgck")[0]) {
  59. $("#vdimgck")[0].src = "../apps/vdimgck.php?tag=" + num;
  60. }
  61. return false;
  62. }
  63. function hideVc() {
  64. $('#ver_code').css('visibility', 'hidden');
  65. }
  66. $(document).ready(function() {
  67. $("#vdcode").focus(function() {
  68. var leftpos = $("#vdcode").position().left;
  69. $('#ver_code').css('left', leftpos + 'px');
  70. $('#ver_code').css('visibility', 'visible');
  71. });
  72. $("input[type='password']").click(function() {
  73. hideVc()
  74. });
  75. $("#txtUsername").click(function() {
  76. hideVc()
  77. });
  78. $("input[type='radio']").focus(function() {
  79. hideVc()
  80. });
  81. })
  82. </script>
  83. </body>
  84. </html>