<?php /* Smarty version 3.1.27, created on 2021-01-24 15:25:05
         compiled from "/home/admin/web/surextrade.co/public_html/tmpl/account_main.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:1239496678600d9151c97998_99703864%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd02596857f1f695b7a26c0b19225432350e73203' => 
    array (
      0 => '/home/admin/web/surextrade.co/public_html/tmpl/account_main.tpl',
      1 => 1589857454,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1239496678600d9151c97998_99703864',
  'variables' => 
  array (
    'ab_formated' => 0,
    'settings' => 0,
    'userinfo' => 0,
    'last_access' => 0,
    'last_deposit' => 0,
    'last_withdrawal' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_600d9151d11583_50393264',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_600d9151d11583_50393264')) {
function content_600d9151d11583_50393264 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/admin/web/surextrade.co/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '1239496678600d9151c97998_99703864';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


   <div class="container-fluid page-body-wrapper">
	<div class="main-panel my-5">
		<div class="container">
			<div class="row ">
	<?php echo '<script'; ?>
 language="javascript">
      function updateCompound() {
      var id = 0;
      var tt = document.spendform.h_id.type;
      if (tt && tt.toLowerCase() == 'hidden') {
      id = document.spendform.h_id.value;
      } else {
      for (i = 0; i < document.spendform.h_id.length; i++) {
      if (document.spendform.h_id[i].checked) {
      	id = document.spendform.h_id[i].value;
      }
      }
      }
      var cpObj = document.getElementById('compound_percents');
      if (cpObj) {
      while (cpObj.options.length != 0) {
      cpObj.options[0] = null;
      }
      }
      if (cps[id] && cps[id].length > 0) {
      document.getElementById('coumpond_block').style.display = '';
      for (i in cps[id]) {
      cpObj.options[cpObj.options.length] = new Option(cps[id][i]);
      }
      } else {
      document.getElementById('coumpond_block').style.display = 'none';
      }
      }
      var cps = {};
   <?php echo '</script'; ?>
> 
		
			<div class="col-12 col-lg-6 col-xl-4 gcard">
				<div class="row text-center grid-margin stretch-card">
	
<div class="col-12 col-lg-6 xcard">				<i class="fas fa-money-check-alt" style="
    font-size: 24px;
    margin-bottom: 21px;
    color: white;
"></i>
						<p class="headbox">
									Account Balance
								</p>
						<h2 class="totalbalance-id">$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['total']);?>

						</h2>
							<h2 style="display:none;" class="totalbalance-r">Loading...
						</h2>
							
				</div>
				<div class="col-12 col-lg-6 lcard">
				<i class="fas fa-piggy-bank" style="
    font-size: 24px;
    margin-bottom: 21px;
    color: #46c4c4;;
"></i>
						<p class="headbox">
									Invested Total
								</p>
						<h2 class="totalbalance-id">$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['deposit']);?>

						</h2>
							<h2 style="display:none;" class="totalbalance-r">Loading...
						</h2>
							
				</div>
			
				
				</div>
							<div class="row text-center grid-margin stretch-card">
	
				<div class="col-12 col-lg-6 lcard">
				<i class="fas fa-donate" style="
    font-size: 24px;
    margin-bottom: 21px;
    color: #46c4c4;;
"></i>
						<p class="headbox">
								Total Withdrawn
								</p>
						<h2 class="totalbalance-id">$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['withdrawal']);?>

						</h2>
							<h2 style="display:none;" class="totalbalance-r" >Loading...
						</h2>
							
				</div>
				<div class="col-12 col-lg-6 lcard">
				<i class="fas fa-coins" style="
    font-size: 24px;
    margin-bottom: 21px;
    color: #46c4c4;;
"></i>
						<p class="headbox">
								Earned Total

								</p>
						<h2 class="totalbalance-id">$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['earning']);?>

						</h2>
							<h2 style="display:none;" class="totalbalance-r" >Loading...
						</h2>
							
				</div>
			
			
				
				</div>
					<div class="col-lg-12 col-12 ocard text-white">
					<h2>SHARE AND EARN WITH US</h2>
<p class="text-muted mb-0"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['site_name']);?>
 offers to the customers who have not invested in any plan the opportunity to earn. </p>
<br>
<div style="
    padding: 15px;
    background: #201f49;
    border-radius: 5px;
">
<button id="reflink" class="btn-reflink" data-clipboard-text="http://<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['site_url']);?>
/?ref=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['username']);?>
" data-original-title="" title="">
<p class=" mb-0" style="color: #fff;"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['site_url']);?>
/?ref=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['username']);?>
</p>
</button>
<button id="reflink" class="btn-reflink" data-clipboard-text="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['site_url']);?>
/?ref=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['username']);?>
" style="
    float: right;
"><i class="icon-paper-clip text-primary icon-lg" style="
    font-size: 18px;
    color: #46c4c4 !important;
"></i></button>
</div>
</div>
</div>
<div class="col-12 col-lg-5 mx-auto col-xl-8">
<div class="row">
<div class="col-12 col-lg-12 col-xl-5 mx-xl-5 my-5 my-lg-0 my-xl-0 gcard">
<i class="fas fa-user-alt" style="
    color: #46c4c4;
    font-size: 32px;
    margin-bottom: 29px;
"></i>
<h5 class="mb-4"> Welcome <span style=" color: #46c4c4;"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['username']);?>
</span></h5>
<div class="form-group row">
<label class="col-sm-12 col-form-label mb-2" style="
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
">EMAIL</label>
<label class="col-sm-12 col-form-label" style="
    background: #201f49;
    padding: 0;
    margin-top: 10px;
"><i class="fas fa-at" style="
    color: #46c4c4;
    padding: 16px 17px;
    border-radius: 5px;
    margin-right: 10px;
    background: #322f6957;
"></i> <a style="
    color: #dedede;
"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['email']);?>
</a></label>

</div>

<div class="form-group row">
<label class="col-sm-12 col-form-label mb-2" style="
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
">Registration</label>
<label class="col-sm-12 col-form-label" style="
    background: #201f49;
    padding: 0;
    margin-top: 10px;
"><i class="fas fa-sign-in-alt" style="
    color: #46c4c4;
    padding: 16px 17px;
    border-radius: 5px;
    margin-right: 10px;
    background: #322f6957;
"></i> <a style="
    color: #dedede;
"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['create_account_date']);?>
</a></label>

</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label mb-2" style="
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
">lOGIN</label>
<label class="col-sm-12 col-form-label" style="
    background: #201f49;
    padding: 0;
    margin-top: 10px;
"><i class="fas fa-sign-out-alt" style="
    color: #46c4c4;
    padding: 16px 17px;
    border-radius: 5px;
    margin-right: 10px;
    background: #322f6957;
"></i> <a style="
    color: #dedede;
"><?php echo smarty_modifier_myescape((($tmp = @$_smarty_tpl->tpl_vars['last_access']->value)===null||$tmp==='' ? "n/a" : $tmp));?>
&nbsp;</a></label>
</div>
<div class="form-group row">
<label class="col-sm-12 col-form-label mb-2" style="
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
">CURRENT IP</label>
<label class="col-sm-12 col-form-label" style="
    background: #201f49;
    padding: 0;
    margin-top: 10px;
"><i class="fas fa-map-pin" style="
    color: #46c4c4;
    padding: 16px 17px;
    border-radius: 5px;
    margin-right: 10px;
    background: #322f6957;
"></i> <a style="
    color: #dedede;
"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['ip']);?>
</a></label>

</div>
<div class="form-group row">
<a href="/?a=edit_account" style="text-decoration: none;letter-spacing: 3px;padding: 10px 18px;box-shadow: 3px 1px 20px 11px #bd195b4a;margin-top: 15px;text-transform: uppercase;border-radius: 4px;background: #46c4c4;">SETTINGS</a>

</div>
</div>
<div class="col-12 col-lg-12 col-xl-5 mt-lg-5 mt-xl-0">
<div class="row ">
<div class="col-12 gcard mb-5 ">
<div class="form-group row">
<div class="col-sm-8 align-items">
<h4> Deposit <span style="
    color: #46c4c4;
">stats</span></h4>
</div>
</div>

                                            <div class="form-group mt-2">
													<label class="form__label form__label_btc" id="input_label">
													</label>
												</div>
                                      
 <div class="form-group row">

 <label for="exampleInputUsername2" class="col-sm-6 col-form-label" style="
    letter-spacing: 1px;
">Funds Added</label>
<div class="col-sm-6 align-items">
<span>$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['deposit']);?>

</span>
</div>    
</div>
 <div class="form-group row">

 <label for="exampleInputUsername2" class="col-sm-6 col-form-label" style="
    letter-spacing: 1px;
">Active Deposit</label>
<div class="col-sm-6 align-items">
<span>$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['total']);?>

</span>
</div>    
</div>
<div class="form-group row">

 <label for="exampleInputUsername2" class="col-sm-6 col-form-label" style="
    letter-spacing: 1px;
">Last deposit</label>
<div class="col-sm-6 align-items">
<span>$<?php echo smarty_modifier_myescape((($tmp = @$_smarty_tpl->tpl_vars['last_deposit']->value)===null||$tmp==='' ? "n/a" : $tmp));?>

</span>
</div>    
</div>
<a href="/?a=deposit" style="

text-decoration: none;
    letter-spacing: 3px;
    padding: 10px 18px;
    box-shadow: 3px 1px 20px 11px #bd195b4a;
    margin-top: 15px;
    text-transform: uppercase;
    border-radius: 4px;
    background: #46c4c4;
    display: inline-block;
">Deposit</a>

</div>
<div class="col-12 gcard" style="margin-top:8px;">
<div class="form-group row">
<div class="col-sm-8 align-items">
<h4> Withdrawal <span style="
    color: #46c4c4;
">stats</span></h4>
</div>
</div>
   
                                                    <div class="form-group row">

 <label for="exampleInputUsername2" class="col-sm-6 col-form-label" style="
    letter-spacing: 1px;
">Pending</label>
<div class="col-sm-6 align-items">
<span>$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['withdraw_pending']);?>

</span>
</div>    
</div>

                                                    <div class="form-group row">

 <label for="exampleInputUsername2" class="col-sm-6 col-form-label" style="
    letter-spacing: 1px;
">Last Withdrawal</label>
<div class="col-sm-6 align-items">
<span>$<?php echo smarty_modifier_myescape((($tmp = @$_smarty_tpl->tpl_vars['last_withdrawal']->value)===null||$tmp==='' ? "n/a" : $tmp));?>

</span>
</div>    
</div>
           

<a href="/?a=withdraw" style="
text-decoration: none;
    letter-spacing: 3px;
    padding: 10px 18px;
    box-shadow: 3px 1px 20px 11px #bd195b4a;
    margin-top: 15px;
    text-transform: uppercase;
    border-radius: 4px;
    background: #46c4c4;
    display: inline-block;

">Withdraw</a>


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

<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>