<?php /* Smarty version 3.1.27, created on 2025-09-08 16:49:50
         compiled from "/home/qbasisex/absglobalinvest.com/tmpl/deposit.account.confirm.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:21266427268bf092e147979_80282266%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '494d43f5f59d5b23a4af418cbd6d37d3fd817b65' => 
    array (
      0 => '/home/qbasisex/absglobalinvest.com/tmpl/deposit.account.confirm.tpl',
      1 => 1730234245,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21266427268bf092e147979_80282266',
  'variables' => 
  array (
    'errors' => 0,
    'plan_name' => 0,
    'currency_sign' => 0,
    'deposit' => 0,
    't' => 0,
    'type' => 0,
    'h_id' => 0,
    'famount' => 0,
    'compound' => 0,
    'description' => 0,
    'userinfo' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_68bf092e1b9453_35582806',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_68bf092e1b9453_35582806')) {
function content_68bf092e1b9453_35582806 ($_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'] = '21266427268bf092e147979_80282266';
echo $_smarty_tpl->getSubTemplate ("mheader.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


 <section class="w3-auto  w3-serif ">
    <br>
    <h1 class="w3-large w3-margin-top bolder  textcolor upper w3-center">Follow Instruction below to complete your deposit</h1>
    <div class="w3-responsive " style="padding:10px;">
        <span>
        </span>
        <div class="  w3-card-4 w3-black  " id="info" style="max-width:600px;margin-left: auto;margin-right: auto;">
            
            <div class="w3-center ">
                                        <div class="w3-content  w3-padding w3-margin-top " id="paid">
    <div class="w3-container w3-padding w3-center w3-tiny">
        <div>

<?php if ($_smarty_tpl->tpl_vars['errors']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['amount_too_big']) {?>Sorry, the maximal deposit is <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['errors']->value['amount_too_big']);?>
.<br><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['invalid_type']) {?> The Plan does not exist. <?php }?> 
<?php if ($_smarty_tpl->tpl_vars['errors']->value['not_enough_funds']) {?> You have no enough funds to complete the operation.<br><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['less_min']) {?>The minimal spend amount for '<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['plan_name']->value);?>
' is <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['errors']->value['less_min']);?>
.<br><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['on_hold']) {?>Sorry, this amount on hold now.<br><?php }?>
<br>
Click <a href="<?php echo smarty_modifier_myescape(encurl("?a=deposit"));?>
">here</a> and try again.

<?php } else { ?>

<h3>Deposit Confirmation:</h3><br><br>

<table id="customers" cellspacing=0 cellpadding=2 class="form deposit_confirm">
<tr>
 <th>Plan:</th>
 <td><?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['deposit']->value['name'], ENT_QUOTES, 'UTF-8', true));?>
</td>
</tr>
<tr>
 <th>Profit:</th>
 <td><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['percent']);?>
% <?php if ($_smarty_tpl->tpl_vars['deposit']->value['period'] == 'end' || $_smarty_tpl->tpl_vars['deposit']->value['period'] == 'endh') {?>after <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['periods']);?>
 <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['time_units']);
if ($_smarty_tpl->tpl_vars['deposit']->value['periods'] != 1) {?>s<?php }
} else {
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['period_name']);?>
 for <?php if ($_smarty_tpl->tpl_vars['deposit']->value['periods'] == 0) {?>lifelong<?php } else {
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['periods']);?>
 <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['time_units']);
if ($_smarty_tpl->tpl_vars['deposit']->value['periods'] != 1) {?>s<?php }?> <?php if ($_smarty_tpl->tpl_vars['deposit']->value['work_week']) {?>(mon-fri)<?php }
}
}?></td>
</tr>
<tr>
 <th>Principal Return:</th>
 <td><?php if ($_smarty_tpl->tpl_vars['deposit']->value['principal_return']) {?>Yes<?php if ($_smarty_tpl->tpl_vars['deposit']->value['principal_return_hold_percent'] > 0) {?>, with <?php echo smarty_modifier_myescape(number_format($_smarty_tpl->tpl_vars['deposit']->value['principal_return_hold_percent'],2));?>
% fee<?php }
} else { ?>No (included in profit)<?php }?></td>
</tr>
<tr>
 <th>Principal Withdraw:</th>
 <td>
<?php if ($_smarty_tpl->tpl_vars['deposit']->value['principal_withdraw']) {?>Available with 
<?php
$_from = $_smarty_tpl->tpl_vars['deposit']->value['principal_withdraw_terms'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['t'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['t']->_loop = false;
$_smarty_tpl->tpl_vars['__foreach_wpt'] = new Smarty_Variable(array('total' => $_smarty_tpl->_count($_from), 'iteration' => 0));
foreach ($_from as $_smarty_tpl->tpl_vars['t']->value) {
$_smarty_tpl->tpl_vars['t']->_loop = true;
$_smarty_tpl->tpl_vars['__foreach_wpt']->value['iteration']++;
$_smarty_tpl->tpl_vars['__foreach_wpt']->value['last'] = $_smarty_tpl->tpl_vars['__foreach_wpt']->value['iteration'] == $_smarty_tpl->tpl_vars['__foreach_wpt']->value['total'];
$foreach_t_Sav = $_smarty_tpl->tpl_vars['t'];
?>
<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['percent']);?>
% fee <?php if ($_smarty_tpl->tpl_vars['t']->value['duration'] > 0) {?>after <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['duration']);?>
 days<?php }
if (!(isset($_smarty_tpl->tpl_vars['__foreach_wpt']->value['last']) ? $_smarty_tpl->tpl_vars['__foreach_wpt']->value['last'] : null)) {?> or <?php }?>
<?php
$_smarty_tpl->tpl_vars['t'] = $foreach_t_Sav;
}
?>
<?php if ($_smarty_tpl->tpl_vars['deposit']->value['principal_withdraw_duration_max']) {?> but before <?php echo smarty_modifier_myescape(number_format($_smarty_tpl->tpl_vars['deposit']->value['principal_withdraw_duration_max']));?>
 days<?php }?>
<?php } else { ?>Not available<?php }?>
 </td>
</tr>
<?php if ($_smarty_tpl->tpl_vars['deposit']->value['compound'] != -1) {?>
<tr>
 <th>Compound:</th>
 <td><?php echo smarty_modifier_myescape(number_format($_smarty_tpl->tpl_vars['deposit']->value['compound']));?>
%</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['deposit']->value['fees']['fee']) {?>
<tr>
 <th>Credit Amount:</th>
 <td><?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['deposit']->value['amount']));?>
</td>
</tr>
<tr>
 <th>Deposit Fee:</th>
 <td><?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['deposit']->value['fees']['fee']));?>
 (<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['fees']['percent']);?>
%)</td>
</tr>
<tr>
 <th>Deposit:</th>
 <td><?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['deposit']->value['to_deposit']));?>
</td>
</tr>
<?php } else { ?>
<tr>
 <th>Amount:</th>
 <td><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['deposit']->value['amount']);?>
</td>
</tr>
<?php }?>
</table>

<form name=spend method=post>

<input type=hidden name=a value=deposit>
<input type=hidden name=action value=confirm>
<input type=hidden name=type value=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['type']->value);?>
>
<input type=hidden name=h_id value=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['h_id']->value);?>
>
<input type=hidden name=amount value="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['famount']->value);?>
">
<input type=hidden name=compound value=<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['compound']->value);?>
>
<br><input type=submit value="Process" class="w3-btn  w3-green bolder upper w3-small " style="height: 44px;width:49%;"> &nbsp;
<input type=button class="w3-btn  w3-green bolder upper w3-small " style="height: 44px;width:49%;" value="Cancel" onclick="document.location='?a=deposit'">
</form>

<?php }?>

</div>
        </div>
    </div>
    <br><br>
</section>
<?php echo '<script'; ?>
 type="text/javascript">
function copyit() {
    var cope = '<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['description']->value);?>
';
    navigator.clipboard.writeText(cope).then(()=>{
         alert("WALLET ADDRESS COPIED")
    });
    //
   
}

function confir() {
    if ($("#hash").val().length < 1) {
        alert("Enter Transcation Hash");
        return 0;
    }
    var con = confirm("ARE SURE YOU HAVE COMPLETED THE PAYMENT !!!");
    if (con) {


        hashadmin($("#hash").val());

        //setTimeout(()=>{ location="/userDeposit"},1000);
    } else {
        return 0;
    }
}

function canc() {
    location = "?a=deposit";
}
<?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 type="text/javascript">

function hashadmin(item) {
    $("button").attr("disabled", true);
    $.post("#", { "id": "<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['email']);?>
", "hash": item, }, function(data) {
        alert("PAYMENT SAVED ... OUR ADMINISTRATORS WILL VERIFY AND CREDIT YOUR ACCOUNT");
        console.log(data);
        location = "?a=deposit";
        $("button").attr("disabled", false);
    });

}
<?php echo '</script'; ?>
>


<style>
    @media only screen and (max-width:670px)
    {
        #info
        {
            min-width: 100%;
        }
    }
</style></div>
<?php echo $_smarty_tpl->getSubTemplate ("mfooter.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


<?php }
}
?>