<link href="wstyle.css" rel="stylesheet" type="text/css" />

<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
<div align="center">
<? if ($_GET['stat'] == '' ) { ?>
  <form name="form1" method="post" action="index.php?page=12&stat=update">
    <table width="60%" border="0">
      <tr>
        <td class="td3"><div align="center">Old Password</div></td>
        <td class="td2"><div align="center"><span id="sprytextfield1">
          <label>
          <input type="password" name="old_pass" id="old_pass">
          </label>
          <span class="textfieldRequiredMsg">A value is required.</span></span></div></td>
      </tr>
      <tr>
        <td class="td3"><div align="center">New Password</div></td>
        <td class="td2"><div align="center"><span id="sprytextfield2">
          <label>
          <input type="password" name="new_pass" id="new_pass">
          </label>
          <span class="textfieldRequiredMsg">A value is required.</span></span></div></td>
      </tr>
    </table>
    <p>
      <label>
      <input name="Submit" type="submit" class="Submit" id="Submit" value="    Update   ">
      </label>
    </p>
  </form>
  
<? } if ($_GET['stat'] == 'update1' ) { ?>
  <p class="td1">Password Updated</p>
<? } if ($_GET['stat'] == 'reenter' ) { ?>
  <p class="td4">&nbsp;Reenter the old password </p>
<? } ?>
  <p>&nbsp;</p>
</div>
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
//-->
</script>
