<?php /* Smarty version 2.6.2, created on 2013-01-22 14:45:05
         compiled from usermenu_btns.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'myescape', 'usermenu_btns.tpl', 1, false),)), $this); ?>
<?php if (((is_array($_tmp=$this->_tpl_vars['userinfo']['logged'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) != 1): ?>
<?php echo '
<script language=javascript>
function checklogin() {   
  if (document.loginform.username.value==\'\') {
    alert("Please enter your username!");
    document.loginform.username.focus();
    return false;
  }
  if (document.loginform.password.value==\'\') {
    alert("Please enter your password!");
    document.loginform.password.focus();
    return false;
  }
  return true;
}
</script>

'; ?>


<form method=post name=loginform onsubmit="return checklogin()">
<input type=hidden name=a value='do_login'>
<input type=hidden name=follow value='<?php echo ((is_array($_tmp=$this->_tpl_vars['frm']['follow'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
'>


    <div class="clearfix grpelem" id="u5860"><!-- group -->
      <div class="clearfix grpelem" id="u5850-4"><!-- content -->
       <p>Username:</p>
      </div>
      <div class="rounded-corners clearfix grpelem" id="u5847"><!-- group -->
	   <input class="form-field" type="text" name="username" style="margin-top: 3px; margin-left: 9px; height: 18px; width: 138px; background: #EDEDED;"/>
       <div class="grpelem" id="u5851"><!-- image -->
        <img id="u5851_img" src="images/user_login_1.png" alt="" width="20" height="17"/>
       </div>
      </div>
      <a class="nonblock nontext grpelem" id="u5855" href="?a=forgot_password"><!-- image --><img id="u5855_img" src="images/search-icon-red_17_d.png" alt="" width="17" height="17"/></a>
      <div class="clearfix grpelem" id="u5849-4"><!-- content -->
       <p>Password:</p>
      </div>
      <div class="rounded-corners clearfix grpelem" id="u5848"><!-- group -->
	   <input class="form-field" type="password" name="password" style="margin-top: 3px; margin-left: 9px; height: 18px; width: 138px; background: #EDEDED;">
       <div class="grpelem" id="u5853"><!-- image -->
        <img id="u5853_img" src="images/user_password_1.png" alt="" width="20" height="17"/>
       </div>
      </div>
	  
      
	  <div><!-- simple frame -->
	  <input class="grpelem" id="u5908" type="submit" value=".">
	  </div>
       
    
      <div class="clearfix grpelem" id="u5841"><!-- group -->
       <div class="pointer_cursor clearfix grpelem" id="u5842"><!-- group -->
        <a class="block" href="?a=signup"></a>
        <a class="nonblock nontext clearfix grpelem" id="u5843-4" href="?a=signup"><!-- content --><p></p></a>
       </div>
      </div>
	</div>
	</form>
	 
	 
<?php else: ?>



<table align="center" cellspacing=0 cellpadding=2 border=0 width="100%" class="bgcolormain">

<tr>
 <th colspan=2 class=title>Navigation</th>
</tr>
<tr>
<td height="20"></td>
</tr>
<tr>
 <td class=navmenu><a href=?a=account class=navtext>Account</a></td>
</tr>
<tr>
 <td class=navmenu><a href=?a=deposit class=navtext><b>Make Deposit</b></a></td>
</tr>
<tr>
<?php if (((is_array($_tmp=$this->_tpl_vars['settings']['use_add_funds'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
 <td class=navmenu><a href=?a=add_funds class=navtext>Make Deposit to Account</a></td>
</tr><tr>
<?php endif; ?>
 <td class=navmenu><a href=?a=deposit_list class=navtext>Your Deposits</a></td>
</tr><tr>
 <td class=navmenu><a href=?a=deposit_history class=navtext>Deposits History</a></td>
</tr><tr>
 <td class=navmenu><a href=?a=earnings class=navtext>Earnings History</a></td>
</tr><?php if (((is_array($_tmp=$this->_tpl_vars['settings']['use_referal_program'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 1): ?><tr>
 <td class=navmenu><a href=?a=earnings&type=commissions class=navtext>Referrals History</a></td>
</tr><?php endif; ?>
<tr>
 <td class=navmenu><a href=?a=withdraw class=navtext><b>Withdraw</b></a></td>
</tr><tr>
 <td class=navmenu><a href=?a=withdraw_history class=navtext>Withdrawals History</a></td>
<?php if (((is_array($_tmp=$this->_tpl_vars['settings']['internal_transfer_enabled'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
</tr><tr>
 <td class=navmenu><a href=?a=internal_transfer class=navtext>Internal Transfer</a></td>
<?php endif; ?>
</tr><tr>
</tr><?php if (((is_array($_tmp=$this->_tpl_vars['settings']['use_referal_program'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 1): ?><tr>
 <td class=navmenu><a href=?a=referals class=navtext>Your Referrals</a></td>
</tr><tr>
 <td class=navmenu><a href=?a=referallinks class=navtext>Referral Links</a></td>
</tr><?php endif; ?>
<?php if (((is_array($_tmp=$this->_tpl_vars['settings']['tell_friend_page'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
<tr>
 <td class=navmenu><a href=?a=tell_friend class=navtext>Tell a friend</a></td>
</tr>
<?php endif; ?>
<tr>
 <td class=navmenu><a href=?a=edit_account class=navtext>Edit Account</a></td>
</tr><tr>
 <td class=navmenu><a href=?a=security class=navtext>Security</a></td>
</tr><tr>

 <td class=navmenu><a href=?a=logout class=navtext>Logout</a></td>
</tr>
</table>


	 
<?php endif; ?>	 