getPassword-mobile2.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang=zh-cn>
  3. <head>
  4. <meta charset=utf-8>
  5. <title>注册纵横通行帐号</title>
  6. <meta name=description content=一个帐号通用纵横旗下所有网络产品。>
  7. <meta name=copyright content=smartcost.com.cn>
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  9. <link rel=stylesheet href=css/global.css>
  10. <link rel=stylesheet href=<?php echo $data['rootUrl_CSS']; ?>global.css>
  11. <script src=<?php echo $data['rootUrl_JS']; ?>jquery-1.7.1.min.js></script>
  12. <script src=<?php echo $data['rootUrl_JS']; ?>global.js></script>
  13. <script src=<?php echo $data['rootUrl_JS']; ?>jquery.validate.min.js></script>
  14. <script type="text/javascript">
  15. $(function(){
  16. $("#getpasswdbyphone").validate({
  17. rules: {
  18. password: {
  19. required: true,
  20. minlength: 6,
  21. maxlength: 16
  22. }
  23. },
  24. messages: {
  25. password:{
  26. required:"请输入密码",
  27. minlength: "密码长度不能小于6",
  28. maxlength: "密码长度不能大于16"
  29. }
  30. },
  31. errorElement: "span",// 错误信息容器标签
  32. errorClass: "textError",
  33. validClass: "inputSus",
  34. onkeyup: false
  35. })
  36. });
  37. </script>
  38. </head>
  39. <body>
  40. <div class="mobileRe">
  41. <!-- <h3 class="mobileTopImg"><img src="images/mainlogo.png"></h3> -->
  42. <div class="trainFormItem">
  43. <div class="formEntry">
  44. <form method="post" name="getpasswdbyphone" id="getpasswdbyphone" action="<?php echo $data['rootUrl']; ?>mobile/successpw" >
  45. <input value="<?php echo $data['userid']; ?>" name="userid" type="hidden">
  46. <input value="<?php echo $data['usersalt']; ?>" name="usersalt" type="hidden">
  47. <dl class="regForm">
  48. <dt>新密码</dt>
  49. <dd>
  50. <input type="password" id="password" name="password" class="inputText" placeholder="密码长度为6~16位,建议使用数字与英文混合">
  51. </dd>
  52. </dl>
  53. <dl class="regForm">
  54. <dd class="clearfix"><br><br><input class="button btn-green btnMobile" type="submit" id="mobilesubmit" name="mobilesubmit" value="确认修改"><?php if( isset($data['messages']) ): ?><p class="textError"><?php echo $data['messages']; ?></p><?php endif; ?></dd>
  55. </dl>
  56. </form>
  57. </div>
  58. </div>
  59. </div>
  60. </body>