<?php /* Smarty version 2.6.28, created on 2017-10-11 11:02:52
         compiled from /home/vinhostm/public_html/order/templates/portal/clientareachangepw.tpl */ ?>
<script type="text/javascript" src="includes/jscript/pwstrength.js"></script>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template'])."/clientareadetailslinks.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<h2><?php echo $this->_tpl_vars['LANG']['clientareanavchangepw']; ?>
</h2>
<?php if ($this->_tpl_vars['successful']): ?>
<div class="successbox"><?php echo $this->_tpl_vars['LANG']['changessavedsuccessfully']; ?>
</div>
<br />
<?php endif; ?>
<?php if ($this->_tpl_vars['errormessage']): ?>
<div class="errorbox"><?php echo $this->_tpl_vars['errormessage']; ?>
</div>
<br />
<?php endif; ?>

<script>
window.langPasswordStrength = "<?php echo $this->_tpl_vars['LANG']['pwstrength']; ?>
";
window.langPasswordWeak = "<?php echo $this->_tpl_vars['LANG']['pwstrengthweak']; ?>
";
window.langPasswordModerate = "<?php echo $this->_tpl_vars['LANG']['pwstrengthmoderate']; ?>
";
window.langPasswordStrong = "<?php echo $this->_tpl_vars['LANG']['pwstrengthstrong']; ?>
";
</script>

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?action=changepw">
  <input type="hidden" name="submit" value="true" />
  <table width="100%" cellspacing="0" cellpadding="0" class="frame">
    <tr>
      <td><table width="100%" border="0" cellpadding="10" cellspacing="0">
          <tr>
            <td width="150" class="fieldarea"><?php echo $this->_tpl_vars['LANG']['existingpassword']; ?>
</td>
            <td><input type="password" name="existingpw" size="25" /></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td width="150" class="fieldarea"><?php echo $this->_tpl_vars['LANG']['newpassword']; ?>
</td>
            <td><input type="password" name="newpw" id="newpw" size="25" /></td>
            <td><script language="javascript">showStrengthBar();</script></td>
          </tr>
          <tr>
            <td width="150" class="fieldarea"><?php echo $this->_tpl_vars['LANG']['confirmnewpassword']; ?>
</td>
            <td><input type="password" name="confirmpw" size="25" /></td>
            <td>&nbsp;</td>
          </tr>
        </table></td>
    </tr>
  </table>
  <p align="center">
    <input type="submit" value="<?php echo $this->_tpl_vars['LANG']['clientareasavechanges']; ?>
" class="button" />
    <input type="reset" value="<?php echo $this->_tpl_vars['LANG']['clientareacancel']; ?>
" class="button" />
  </p>
</form>