<?php

/* Smarty version 2.6.18, created on 2013-07-22 13:23:32
   compiled from users/add.html */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'dev_get_admin_page_link', 'users/add.html', 2, false), array('function', 'html_options', 'users/add.html', 12, false))), $this);
?>
<h4>User Details: #<?php 
echo $this->_tpl_vars['user_data']['account_number'];
?>
</h4>
<form name="frmEdit" action="<?php 
echo smarty_function_dev_get_admin_page_link(array('page' => 'PAGE_USERS'), $this);
?>
" method="post" >
<input type="hidden" name="action" value="add"  />

<table width="100%" cellpadding="2" cellspacing="2"  border="0">
	<tr><td width="20%">First Name</td><td width="93%"><input name="firstname" value="" type="input"  /></td></tr>
	<tr><td>Last Name</td><td><input name="lastname" value="" type="input"  /></td></tr>
 	<tr><td>E-mail</td><td><input name="email" value="" type="input"  /></td></tr>
	<tr><td>Mobile</td><td><input name="mobile" value="" type="input"  /></td></tr>
	<tr><td>Phone</td><td><input name="phone" value="" type="input"  /></td></tr>
        <tr><td>Security Question</td><td><select name="security_question" class="inputselect" onchange="checkSecurityQuestion(this.value);">
                        <?php 
echo smarty_function_html_options(array('options' => $this->_tpl_vars['security_questions_array']), $this);
?>
</select></td></tr>
        
        <tr><td>Answer</td><td><input name="security_answer" value="" type="input"  /></td></tr>
        <tr><td>Acount name</td><td><input name="account_name" value="" type="input"  /></td></tr>
?>
</h2>	
        </div>
    </div>

</div>

<div class="content" style="z-index: 730;">
    <?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['_TEMPLATE_SOURCE_DIR'] . "/modules/validate_error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
    <form action="<?php 
echo smarty_function_dev_get_admin_page_link(array('page' => 'PAGE_EMAILTEMPLATE_NEW'), $this);
?>
" method="post" name="frmNew" >
        <input type="hidden"  name="action" value="process" />
        <table class="form" >	
            <tr>
                <td><?php 
echo $this->_tpl_vars['langs']['TEXT_EMAILTEMPLATE_KEY'];
?>
</td>
                <td><input name="emailtemplate_key" type="text" id="emailtemplate_key" value="<?php 
echo $this->_tpl_vars['emailtemplate_key'];
?>
" size="30"></td>
            </tr>
            <tr>
" size="5" maxlength="5"></td>
	  </tr>		
<tr>
		  <td>Transaction Memo(optional)</td>
		  <td><textarea name="transaction_memo" type="text" id="transaction_memo" cols="50"  rows="3"><?php 
    echo $this->_tpl_vars['transaction_memo'];
    ?>
</textarea></td>
	  </tr>		  	  		
		<tr>
		  <td>&nbsp;</td>
		  <td>
		    <input type="submit" name="Submit" value="<?php 
    echo $this->_tpl_vars['BUTTON_SUBMIT'];
    ?>
" class="button">
	        <input type="button" name="btnCancel" value="<?php 
    echo $this->_tpl_vars['BUTTON_CANCEL'];
    ?>
" onClick="redirect('<?php 
    echo smarty_function_dev_get_admin_page_link(array('page' => 'PAGE_TRANSACTIONS'), $this);
    ?>
');" class="button">
		  </td>
	  </tr>
	</table>
<?php 
}
?>
</form>	
</div>
        <div class="clear"></div>
    </div>


    <!-- profile box -->
    <div id="profilebox">
        <a href="#" class="display">
            <b>Logged in as</b>	<span><?php 
    echo $_SESSION['admin_login_username'];
    ?>
</span>
        </a>

        <div class="profilemenu">
            <ul>
                <li><a href="#">Account Settings</a></li>
                <li><a href="<?php 
    echo smarty_function_dev_get_admin_page_link(array('page' => 'PAGE_ADMIN_LOGOUT', 'ssl' => true), $this);
    ?>
">Logout</a></li>
            </ul>
        </div>

    </div>


    <div class="clear"></div>
</div>
<!-- END HEADER -->
<?php 
}