Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <!--
- Copyright (C) 2013
- No part of this file may be used without permission.
- -->
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" href="../shared/images/icon/favicon.ico" type="image/x-icon">
- <link rel="icon" href="../shared/images/icon/favicon.ico" type="image/x-icon">
- <title>Internet Service // Usage-Account</title>
- <link href="../shared/styles/default/webui-theme.css" rel="stylesheet" type="text/css" />
- <script src="../shared/javascript/jquery-1.5.2.min.js" type="text/javascript"></script>
- <script src="../shared/javascript/jquery.common.js" type="text/javascript"></script>
- <script type="text/javascript">
- <!--
- var postClose = true;
- var postMsg = null;
- $(document).ready(function() {
- if (postMsg != null) {
- if (postMsg) {
- alert(postMsg);
- }
- }
- if (postClose) {
- //if (window.opener && !window.opener.closed) {
- // window.opener.location.reload();
- //}
- self.close();
- }
- $("form").submit(function() {
- var a_passwd_new;
- var isSubmitable = true;
- $(this).find("input:password").each(function() {
- switch(this.name) {
- case 'a_passwd_new':
- a_passwd_new = this.value;
- if (this.value.length > 0 && !this.value.isName()) {
- alert('Password must be English character or Number only!');
- isSubmitable = false;
- }
- break;
- case 'a_passwd_new_cf':
- if (this.value != a_passwd_new) {
- alert('Confirmation password mismatch!');
- isSubmitable = false;
- }
- break;
- }
- if (!isSubmitable) {
- this.focus();
- return isSubmitable;
- }
- });
- if (isSubmitable && confirm('Do you want to proceed?')) {
- return true;
- }
- return false;
- });
- $("#btnClose").click(function() {
- self.close();
- });
- });
- //-->
- </script>
- </head>
- <body>
- <div id="wrapper">
- <div id="content">
- <h1><img src="../shared/images/icon/passwd.gif" alt="icon" /> Change Password </h1>
- <hr />
- <form name="pwdForm" id="pwdForm" method="post" action="account-passwd-quick.php">
- <table class="fieldtable" width="320" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td class="spacer">Username</td>
- <td><input name="a_login" id="a_login" type="text" maxlength="48" readonly="readonly" value=""/></td>
- </tr>
- <tr>
- <td>Old Password</td>
- <td><input name="a_passwd_old" id="a_passwd_old" type="password" maxlength="48" /></td>
- </tr>
- <tr>
- <td>New Password</td>
- <td><input name="a_passwd_new" id="a_passwd_new" type="password" maxlength="48" /></td>
- </tr>
- <tr>
- <td>New Password (Confirm)</td>
- <td><input name="a_passwd_new_cf" id="a_passwd_new_cf" type="password" maxlength="48" /></td>
- </tr>
- <tr>
- <td> </td>
- <td><input name="btnChange" type="submit" id="btnChange" value="Change" /> <input name="btnReset" type="reset" id="btnReset" value="Reset" /></td>
- </tr>
- <input name="reqType" id="reqType" type="hidden" value="change"/>
- </table>
- </form>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement