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