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.
 
 
 
 

81 rivejä
3.3 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>修改密码 - 用户中心 - {$kx.config.sitename}</title>
  6. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/global.css"/>
  7. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/style.css"/>
  8. </head>
  9. <body>
  10. <!-- 头部 -->
  11. {include file="/system/header"}
  12. <!-- 内容 -->
  13. <div class="pt-content">
  14. <!-- 面包屑 -->
  15. <div class="pt-crumb">
  16. <img src="{$kx.config.resurl}/template/kxwebno1/images/crumb_icon.png" class="pt-crumb-icon">
  17. <span class="color5">
  18. <a href="{$kx.config.siteurl}">{$kx.config.sitename}</a> > <a href="{link=user.index.index}" class="color5">用户中心</a> > <a href="{link=user.info.pwd}">修改密码</a>
  19. </span>
  20. </div>
  21. <!-- 一楼 -->
  22. <div class="pt-floor1">
  23. {include file="/system/userleft"}
  24. <!-- 推荐 -->
  25. <div class="relative pt-rank">
  26. <!-- 书架title -->
  27. <div class="pt-rank-head">
  28. <span class="mr10 size16 color2 bold">修改密码</span>
  29. </div>
  30. <div class="pt-info-cont mt30">
  31. <form action="" method="post">
  32. <div class="mb20 pt-info-cont-name">
  33. <span class="inline-block color8 w80">原始密码</span>
  34. <input class="color32" type="password" name="old_pwd">
  35. <span class="color4">您之前的密码,如果为第三方登录用户请留空</span>
  36. </div>
  37. <div class="mb20 pt-info-cont-name">
  38. <span class="inline-block color8 w80">新密码</span>
  39. <input class="color32" type="password" name="new_pwd">
  40. <span class="color4">您要设置的新密码</span>
  41. </div>
  42. <div class="mb20 pt-info-cont-name">
  43. <span class="inline-block color8 w80">重复密码</span>
  44. <input class="color32" type="password" id="repeat_pwd">
  45. <span class="color4">请重复输入您的新密码</span>
  46. </div>
  47. <button type="submit" class="fl cursor pt-info-cont-save mb10 bg-white">提交保存</button>
  48. </form>
  49. </div>
  50. </div>
  51. </div>
  52. <!-- 广告位 -->
  53. </div>
  54. <!-- 底部版权-->
  55. {include file="/system/footer"}
  56. <script>
  57. $('form').submit(function(){
  58. if (!$(this).find('input[name=old_pwd]').val()){
  59. layer.msg('原始密码不能为空,请检查后重试!');
  60. return false;
  61. }
  62. if (!$(this).find('input[name=new_pwd]').val()){
  63. layer.msg('新密码不能为空,请检查后重试!');
  64. return false;
  65. }
  66. if ($(this).find('input[name=new_pwd]').val() != $(this).find('#repeat_pwd').val()){
  67. $(this).find('input[name=new_pwd]').val('');
  68. $(this).find('#repeat_pwd').val('');
  69. layer.msg('两次输入密码不一致,请检查后重试!');
  70. return false;
  71. }
  72. return true;
  73. });
  74. </script>
  75. <!-- js-->
  76. <script src="{$kx.config.resurl}/template/kxwebno1/js/rankdetail.js"></script>
  77. </body>
  78. </html>