<?php
/* Smarty version 3.1.30, created on 2021-12-29 10:14:43
  from "/home/rexbeenc/public_html/templates/changePassword.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_61cbe7bb054787_05946855',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '6afcc23e2c89d012a7359a054c4369072e6592cf' => 
    array (
      0 => '/home/rexbeenc/public_html/templates/changePassword.tpl',
      1 => 1490146616,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./main.tpl' => 1,
  ),
),false)) {
function content_61cbe7bb054787_05946855 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_184947054961cbe7bb03a812_48798157', 'head');
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_141473765561cbe7bb052424_78464338', 'body');
$_smarty_tpl->inheritance->endChild();
$_smarty_tpl->_subTemplateRender("file:./main.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 2, false);
}
/* {block 'head'} */
class Block_184947054961cbe7bb03a812_48798157 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<?php echo '<script'; ?>
 language="javascript">
$(document).ready(function() {
  $('#oldPassword').focus();
});
function confNewPasswordMatch()
{
  if(document.form1.newPassword.value != document.form1.confNewPassword.value)
  {
    alert("Password MitchMatch!!!!!");
    document.form1.confNewPassword.value="";
    document.form1.newPassword.focus();
    return false;
  }
  if(document.form1.newPassword.value == document.form1.oldPassword.value)
  {
    alert("Old Password & New Password is Same --> Please Reenter Your New Password!!!!!");
    document.form1.newPassword.value="";
    document.form1.confNewPassword.value="";
    document.form1.newPassword.focus();
    return false;
  }
}
<?php echo '</script'; ?>
>
<?php
}
}
/* {/block 'head'} */
/* {block 'body'} */
class Block_141473765561cbe7bb052424_78464338 extends Smarty_Internal_Block
{
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

<form name="form1" action="<?php echo $_SERVER['PHP_SELF'];?>
" method="POST" onsubmit="return confNewPasswordMatch();">
<table border="1" cellpadding="2" cellspacing="0" align="center">
<tr>
  <td colspan="8" style="background:#EBF5FF;">
    <h1 align="center"><font size="5px">Change Password</font></h1>
  </td>
</tr>
<tr>
  <td align="right">Old Password : </td>
  <td align="right"><INPUT type="password" name="oldPassword" id="oldPassword" REQUIRED /></td>
</tr>
<tr>
  <td align="right">New Password : </td>
  <td align="right"><input type="password" name="newPassword" REQUIRED /></td>
</tr>
<tr>
  <td align="right">Re-Type New Password : </td>
  <td align="right"><input type="password" name="confNewPassword" onblur="confNewPasswordMatch();" REQUIRED /></td>
</tr>
<tr>
  <td align="center" colspan="2"><input type="submit" name="newPasswordSet" value="Change" class="btnSubmit" onsubmit="confNewPasswordMatch();" /></td>
</tr>
</table>
</form>
<center><font color='red' size="15"><?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</font></center>
<?php if ($_smarty_tpl->tpl_vars['done']->value == 'done') {?>
<center><font color='red' size="20"><a href="index.php">Home</a></font></center>
<?php }
}
}
/* {/block 'body'} */
}
