Location: PHPKode > scripts > WebsiteMemberManager > members-section/html-admin/update-email-address.html
<style type="text/css">
<!--
.style2 {color: #DF8600}
-->
</style>
<script src="<?php echo $jquery_dir; ?>plugins/jquery.validate.js" type="text/javascript"></script>
<script src="<?php echo $jquery_dir; ?>plugins/jquery.validation.functions.js" type="text/javascript"></script>
<script>
            jQuery(function(){
			jQuery("#contact_email").validate({
                    expression: "if (VAL.match(/^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[a-zA-Z0-9_\\-]+(\\.[a-zA-Z0-9_]+)*\\.[a-zA-Z]{2,4}$/)) return true; else return false;",               
                    message: "Email address invalid"
                });
            jQuery("#existing_password").validate({
                    expression: "if (VAL) return true; else return false;",
                    message: "Password blank!"
                });
				
		});
</script>
<br />
<div style="padding-left:3%;">
<div id="layer" style="padding:4px; width:96%; " class="ui-widget-content ui-corner-all"><form method="POST" action="update-email-address.php" name="AF" id="AF">
  <input type="hidden" name="save" value="1"><div align="center"><center><table border="0"
  width="80%" cellpadding="2" bgcolor="#E6FFE6">
    <tr>
      <td width="100%"><font color="#000000">Changing the email address here
      will change the CONTACT email address used within the system when contacting your
      members.&nbsp; It will NOT change your login username which is:</font><br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><font color="#FF0000"><?php echo $row['their_username']; ?></font></strong><br>
      <font color="#000000">To change the:<br>
      - <strong>email address</strong>, modify the current setting<br>
      - enter the existing <strong>password</strong> for confirmation</font></td>
    </tr>
  </table>
  </center></div><table border="0" width="100%" cellspacing="1">
    <tr>
      <td colspan="2"><div align="center"><center><p><big><strong>Admin email
      address and/or password change </strong></big></td>
    </tr>
    <tr align="center">
      <td width="44%" align="right"><strong>Email address :</strong></td>
      <td width="56%" align="left"><strong><input type="text" name="contact_email" id="contact_email" size="36"></strong></td>
    </tr>
    <tr align="center">
      <td align="right"><strong>Please enter your <span class="style2">existing password:</span></strong></td>
      <td align="left"><input name="existing_password" id="existing_password" size="12" type="password" /></td>
    </tr>
    <tr align="center">
      <td width="44%" align="right"></td>
      <td width="56%" align="left"><em>The password is required for confirmation only</em></td>
    </tr>
    <tr align="center">
      <td colspan="2"><div align="center"><center>
	  
	  <div class="button"><br />
	      <br />
	        <button>Save</button>
<a href="#" onclick="location.href='./'">Cancel</a></div></td>
    </tr>
    <tr align="center">
      <td colspan="2">&nbsp;</td>
    </tr>
  </table>
  
</form>
<script>
$(document).ready(function(){
  $("#contact_email").focus();
});
</script>
</div></div>

Return current item: WebsiteMemberManager