Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1.  
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <!--
  5. Copyright (C) 2013
  6. No part of this file may be used without permission.
  7. -->
  8. <head>
  9. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  10. <link rel="shortcut icon" href="../shared/images/icon/favicon.ico" type="image/x-icon">
  11. <link rel="icon" href="../shared/images/icon/favicon.ico" type="image/x-icon">
  12. <title>Internet Service // Usage-Account</title>
  13. <link href="../shared/styles/default/webui-theme.css" rel="stylesheet" type="text/css" />
  14. <script src="../shared/javascript/jquery-1.5.2.min.js" type="text/javascript"></script>
  15. <script src="../shared/javascript/jquery.common.js" type="text/javascript"></script>
  16. <script type="text/javascript">
  17. <!--
  18. var postClose = true;
  19. var postMsg = null;
  20.  
  21. $(document).ready(function() {
  22. if (postMsg != null) {
  23. if (postMsg) {
  24. alert(postMsg);
  25. }
  26. }
  27.  
  28. if (postClose) {
  29. //if (window.opener && !window.opener.closed) {
  30. // window.opener.location.reload();
  31. //}
  32. self.close();
  33. }
  34.  
  35. $("form").submit(function() {
  36. var a_passwd_new;
  37. var isSubmitable = true;
  38. $(this).find("input:password").each(function() {
  39. switch(this.name) {
  40. case 'a_passwd_new':
  41. a_passwd_new = this.value;
  42. if (this.value.length > 0 && !this.value.isName()) {
  43. alert('Password must be English character or Number only!');
  44. isSubmitable = false;
  45. }
  46. break;
  47. case 'a_passwd_new_cf':
  48. if (this.value != a_passwd_new) {
  49. alert('Confirmation password mismatch!');
  50. isSubmitable = false;
  51. }
  52. break;
  53. }
  54. if (!isSubmitable) {
  55. this.focus();
  56. return isSubmitable;
  57. }
  58. });
  59. if (isSubmitable && confirm('Do you want to proceed?')) {
  60. return true;
  61. }
  62. return false;
  63. });
  64. $("#btnClose").click(function() {
  65. self.close();
  66. });
  67. });
  68. //-->
  69. </script>
  70. </head>
  71. <body>
  72. <div id="wrapper">
  73. <div id="content">
  74. <h1><img src="../shared/images/icon/passwd.gif" alt="icon" /> Change Password </h1>
  75. <hr />
  76. <form name="pwdForm" id="pwdForm" method="post" action="account-passwd-quick.php">
  77. <table class="fieldtable" width="320" border="0" cellspacing="1" cellpadding="3">
  78. <tr>
  79. <td class="spacer">Username</td>
  80. <td><input name="a_login" id="a_login" type="text" maxlength="48" readonly="readonly" value=""/></td>
  81. </tr>
  82. <tr>
  83. <td>Old Password</td>
  84. <td><input name="a_passwd_old" id="a_passwd_old" type="password" maxlength="48" /></td>
  85. </tr>
  86. <tr>
  87. <td>New Password</td>
  88. <td><input name="a_passwd_new" id="a_passwd_new" type="password" maxlength="48" /></td>
  89. </tr>
  90. <tr>
  91. <td>New Password (Confirm)</td>
  92. <td><input name="a_passwd_new_cf" id="a_passwd_new_cf" type="password" maxlength="48" /></td>
  93. </tr>
  94. <tr>
  95. <td>&nbsp;</td>
  96. <td><input name="btnChange" type="submit" id="btnChange" value="Change" /> <input name="btnReset" type="reset" id="btnReset" value="Reset" /></td>
  97. </tr>
  98. <input name="reqType" id="reqType" type="hidden" value="change"/>
  99. </table>
  100. </form>
  101. </div>
  102. </div>
  103. </body>
  104. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement