<?php /* Smarty version 2.6.28, created on 2014-08-27 00:30:10
         compiled from /home/vinhostm/public_html/order/templates/portal/forwardpage.tpl */ ?>
<br /><br />
<p align="center"><?php echo $this->_tpl_vars['message']; ?>
</p>
<p align="center"><img src="images/loading.gif" alt="Loading" border="0" /></p>
<div align="center" id="submitfrm"><?php echo $this->_tpl_vars['code']; ?>
</div>
<form method="post" action="<?php if ($this->_tpl_vars['invoiceid']): ?>viewinvoice.php?id=<?php echo $this->_tpl_vars['invoiceid']; ?>
<?php else: ?>clientarea.php<?php endif; ?>"></form>
<br /><br /><br />
<?php echo '
<script language="javascript">
setTimeout ( "autoForward()" , 5000 );
function autoForward() {
	var submitForm = $("#submitfrm").find("form");
    submitForm.submit();
}
</script>
'; ?>