<?php /* Smarty version 2.6.28, created on 2014-06-04 09:28:48
         compiled from /home/vinhostm/public_html/order/templates/portal/pwresetvalidation.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf2', '/home/vinhostm/public_html/order/templates/portal/pwresetvalidation.tpl', 19, false),)), $this); ?>
<script type="text/javascript" src="includes/jscript/pwstrength.js"></script>

<?php if ($this->_tpl_vars['invalidlink']): ?>

  <div class="errorbox">
    <?php echo $this->_tpl_vars['invalidlink']; ?>

  </div>
  <br /><br /><br /><br />

<?php elseif ($this->_tpl_vars['success']): ?>

  <br />
  <div class="successbox">
    <?php echo $this->_tpl_vars['LANG']['pwresetvalidationsuccess']; ?>

  </div>


  <br />
  <p align="center"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['pwresetsuccessdesc'])) ? $this->_run_mod_handler('sprintf2', true, $_tmp, '<a href="clientarea.php">', '</a>') : smarty_modifier_sprintf2($_tmp, '<a href="clientarea.php">', '</a>')); ?>
</p>

  <br /><br /><br /><br />

<?php else: ?>

<?php if ($this->_tpl_vars['errormessage']): ?>

  <div class="errorbox">
    <?php echo $this->_tpl_vars['errormessage']; ?>

  </div>
  
<?php endif; ?>

<form class="form-horizontal" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?action=pwreset">
<input type="hidden" name="key" id="key" value="<?php echo $this->_tpl_vars['key']; ?>
" />

<h4 align="center"><?php echo $this->_tpl_vars['LANG']['pwresetenternewpw']; ?>
</h4>
<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']['newpassword']; ?>
</td>
                    <td width="175"><input type="password" name="newpw" id="newpw" /></td>
                    <td><script language="javascript">showStrengthBar();</script></td>
                </tr>
                <tr>
                    <td width="150" class="fieldarea"><?php echo $this->_tpl_vars['LANG']['confirmnewpassword']; ?>
</td>
                    <td width="175"><input type="password" name="confirmpw" id="confirmpw" /></td>
                    <td>&nbsp;</td>
                </tr>
            </table>
        </td>
    </tr>
</table>

<p align="center"><input type="submit" value="<?php echo $this->_tpl_vars['LANG']['clientareasavechanges']; ?>
" class="buttongo" /> <input type="reset" value="<?php echo $this->_tpl_vars['LANG']['cancel']; ?>
" class="button" /></p>

</form>

<?php endif; ?>