<?php /* Smarty version 3.1.27, created on 2025-11-11 01:26:29
         compiled from "/home/qbasisex/absglobalinvest.com/tmpl/account_main.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:1816853653691290c5b6b449_93672746%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8474a0437e3e9a3a7def34c185e4e8312b65551b' => 
    array (
      0 => '/home/qbasisex/absglobalinvest.com/tmpl/account_main.tpl',
      1 => 1730232038,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1816853653691290c5b6b449_93672746',
  'variables' => 
  array (
    'ab_formated' => 0,
    'userinfo' => 0,
    'last_deposit' => 0,
    'last_deposit_ec' => 0,
    'last_withdrawal' => 0,
    'last_withdrawal_ec' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_691290c5ba7815_87568632',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_691290c5ba7815_87568632')) {
function content_691290c5ba7815_87568632 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/qbasisex/absglobalinvest.com/inc/libs/smarty3/plugins/modifier.myescape.php';

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




<div class="row pt-3">
    <div class="col-md-7  stretch-card">
        <div class="card">
            <div class="card-header header-sm d-flex justify-content-between align-items-center" style="background-color: #1b1b1c;">
                <h4 class="card-title text-dark">Account Summary</h4>
                <a class="btn btn-primary btn-sm" href="?a=deposit_list"><i class="fa fa-file-text"></i>Active Plans & History</a>
            </div>
            <div class="card-body d-flex flex-column">
                <div class="d-flex align-items-center justify-content-between">
                    <div class=" align-items-center">
                        <p style="margin-bottom: 0.5rem;" class="text-muted">Available Balance</p>
                        <h1 class="font-weight-medium mb-0" id="ab"><?php echo amount_smarty_fiat_func(array(),$_smarty_tpl);?>
<b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['total']);?>
</b</h1>
                    </div>
                </div>
                <div class="d-flex flex-row mt-4 mb-4">
                    <div class="wrapper">
                        <p class="mb-0 text-muted">Total Deposit</p>
                        <div class="d-flex align-items-center">
                            <h5 class="font-weight-medium mb-0" id="bb"><?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['ab_formated']->value['deposit']));?>
</h5>
                        </div>
                    </div>
                    <div class="wrapper ml-4 border-left pl-4">
                        <p class="mb-0 text-muted">Total withdraw </p>
                        <div class="d-flex align-items-center">
                            <h5 class="font-weight-medium mb-0" id="lp"><?php echo amount_smarty_fiat_func(array(),$_smarty_tpl);?>
<b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['withdrawal']);?>
</b></h5>
                            <!--div class="badge badge-success ml-2 badge-sm">NAN%</div-->
                        </div>
                    </div>
                </div>
                <div class="d-flex flex-row mb-3">
                    <a href="?a=deposit" class="btn btn-success mr-1"><i class="fa fa-upload"></i> Deposit</a>
                    <a href="?a=withdraw" class="btn btn-outline-warning mr-1"><i class="fa fa-download"></i> Withdraw</a>
                </div>
                <div class="d-flex flex-row">
                    <p><small class="text-muted mt-5">Your Available balance is the real balance you can withdraw from while your book balance is your potential balance that will become available when your deposit plan is completed.</small></p>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-5 stretch-card d-none d-md-block">
        <div class="card text-center">
            <div class="card-body d-flex flex-column px-2">
                <div class="wrapper">
                    <h5>Invite Your Friends</h5>
                    
                    <form class="forms-sample mt-3"><input type="hidden" name="form_id" value="16994783316224">
                        <div class="form-group">
                            <input type="text" style="background-color: #eee; border-color: #eee;" readonly="" id="ref_cop" class="form-control" value="<?php echo smarty_modifier_myescape(encurl("?ref=".((string)$_smarty_tpl->tpl_vars['userinfo']->value['username']),0,1));?>
">
                        </div>
                        <button id="ref_btn" type="button" onclick="copy_ref('ref_cop','#ref_btn');" class="btn btn-primary btn-block"><i class="fa fa-copy"></i> Copy Referral Link</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-md-12 grid-margin">
        <div class="card">
            <div class="card-header header-sm d-flex justify-content-between align-items-center" style="background-color: rgba(0,0,0,0.3);">
                <h4 class="card-title">Popular Market</h4>
                <a class="btn btn-inverse-success btn-sm" href="/userList"><i class="fa fa-upload"></i> Invest Now</a>
            </div>
            <div class="card-body">
                <div class="row">
                    <div class="col-lg-3 col-md-6 border-bottom-m ms">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted">ACCOUNT BALANCE</p>
                                <?php echo amount_smarty_fiat_func(array(),$_smarty_tpl);?>
<b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['total']);?>
</b>                            </h1>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 border-bottom-m ms">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted"> ACTIVE DEPOSIT</p>
                                <?php echo amount_smarty_fiat_func(array(),$_smarty_tpl);?>
<b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['active_deposit']);?>
</b>                            </h1>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 border-bottom-m ms">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted">TOTAL DEPOSIT</p>
                                <?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['ab_formated']->value['deposit']));?>
                            </h1>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 border-bottom-m ms">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted">TOTAL WITHDRAW </p>
                               <?php echo amount_smarty_fiat_func(array(),$_smarty_tpl);?>
<b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['withdrawal']);?>
</b>                         </h1>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<style>
    .ms{
                        width: 50%;
                    }
                    </style>
<div class="row">
    <div class="col-md-12 grid-margin">
        <div class="card">
            <div class="card-body">
                <div class="row">
                    <div class="col-lg-3 col-md-6 border-bottom-m ms">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted">TOTAL EARNING</p>
                                <?php echo amount_smarty_fiat_func(array(),$_smarty_tpl);?>
<b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['earning']);?>
</b>                         </h1>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 border-bottom-m ms">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted"> LAST<br> DEPOSIT</p>
                                <?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['last_deposit']->value,$_smarty_tpl->tpl_vars['last_deposit_ec']->value));?>
                         </h1>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 border-bottom-m ms">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted">LAST WITHDRAW </p>
                                <?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['last_withdrawal']->value,$_smarty_tpl->tpl_vars['last_withdrawal_ec']->value));?>
                       </h1>
                        </div>
                    </div>
                    <div class="col-lg-3 col-md-6 border-bottom-m" style=" width: auto;">
                        <div class="d-flex align-items-center">
                            <h1 class="ml-auto font-weight-medium">
                                <p class="mb-0 text-muted"> Registration date </p>
                                <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['create_account_date']);?>
                             
                            </h1>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    
    <div class="col-md-12  stretch-card">
        <div class="card">
            <div class="card-body px-0">
                <h4 class="card-title text-center">Recent Transaction</h4>
                <div class="">
                    <table class="table  table-striped">
                        <tbody>
                                                                                                                                                                                                                                        </tbody>
                    </table>
                </div>
                <div class="text-center">
                    <a class=" btn btn-outline-success mt-3 px-3" href="?a=earnings">Show all transactions</a>
                </div>
            </div>
        </div>
    </div>
</div></div>

















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

}
}
?>