<?php /* Smarty version 3.1.27, created on 2025-07-23 08:44:36
         compiled from "/home/aurexdex/public_html/tmpl/deposit_list.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:1863661326880a0f40c54f4_39271990%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '90ffbf772e6a4b08faa3ba3bf32c6b26481fe0a9' => 
    array (
      0 => '/home/aurexdex/public_html/tmpl/deposit_list.tpl',
      1 => 1751822332,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1863661326880a0f40c54f4_39271990',
  'variables' => 
  array (
    'currency_sign' => 0,
    'total' => 0,
    'plans' => 0,
    'p' => 0,
    'o' => 0,
    'd' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_6880a0f40e8b37_86855732',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_6880a0f40e8b37_86855732')) {
function content_6880a0f40e8b37_86855732 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/aurexdex/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

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


<div class="main-content">
  <div class="page-content">
    <div class="row">
      <div class="col-xl-12">
        <div class="card">
          <div class="card-body">

            <h4 class="card-title">Your deposits</h4>
            <br>
            <b>Total: <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['total']->value);?>
</b>
            <br><br>

            <?php
$_from = $_smarty_tpl->tpl_vars['plans']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['p']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['p']->value) {
$_smarty_tpl->tpl_vars['p']->_loop = true;
$foreach_p_Sav = $_smarty_tpl->tpl_vars['p'];
?>
              <table class="table table-sm mb-4">
                <tr>
                  <td class="item">
                    <table class="table table-sm">
                      <tr>
                        <td colspan="3" align="center"><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['name']);?>
</b></td>
                      </tr>
                      <tr>
                        <td class="inheader">Plan</td>
                        <td class="inheader" width="200">Amount Spent (<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);?>
)</td>
                        <td class="inheader" width="100" nowrap><nobr><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['period']);?>
 Profit (%)</nobr></td>
                      </tr>

                      <?php
$_from = $_smarty_tpl->tpl_vars['p']->value['plans'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['o'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['o']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['o']->value) {
$_smarty_tpl->tpl_vars['o']->_loop = true;
$foreach_o_Sav = $_smarty_tpl->tpl_vars['o'];
?>
                      <tr>
                        <td class="item"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['o']->value['name']);?>
</td>
                        <td class="item" align="right"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['o']->value['deposit']);?>
</td>
                        <td class="item" align="right"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['o']->value['percent']);?>
</td>
                      </tr>
                      <?php
$_smarty_tpl->tpl_vars['o'] = $foreach_o_Sav;
}
?>
                    </table>

                    <br>

                    <table class="table table-sm">
                      <?php if (!$_smarty_tpl->tpl_vars['p']->value['deposits']) {?>
                      <tr>
                        <td colspan="4"><b>No deposits for this plan</b></td>
                      </tr>
                      <?php } else { ?>
                      <tr>
                        <td colspan="4" class="inheader" style="text-align:left">Your deposits:</td>
                      </tr>
                      <tr>
                        <td class="inheader">Date</td>
                        <td class="inheader">Amount</td>
                        <?php if ($_smarty_tpl->tpl_vars['p']->value['use_compound']) {?>
                          <td class="inheader">Compounding Percent</td>
                        <?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['p']->value['withdraw_principal']) {?>
                          <td class="inheader">Release</td>
                        <?php }?>
                      </tr>

                      <?php
$_from = $_smarty_tpl->tpl_vars['p']->value['deposits'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['d'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['d']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['d']->value) {
$_smarty_tpl->tpl_vars['d']->_loop = true;
$foreach_d_Sav = $_smarty_tpl->tpl_vars['d'];
?>
                      <tr>
                        <td align="center" class="item">
                          <b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['d']->value['date']);?>
</b><br>
                          <?php if ($_smarty_tpl->tpl_vars['p']->value['q_days'] == 0) {?>
                            Working <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['d']->value['duration']);?>
 days
                          <?php } else { ?>
                            Expire in <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['d']->value['expire_in']);?>
 days
                          <?php }?>
                        </td>
                        <td align="center" class="item">
                          <b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['d']->value['deposit']);?>
 <img src="images/<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['d']->value['ec']);?>
.gif" align="absmiddle" hspace="1" height="17"></b>
                        </td>

                        <?php if ($_smarty_tpl->tpl_vars['p']->value['use_compound']) {?>
                        <td align="center" class="item">
                          <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['d']->value['compound']);?>
% <a href="<?php echo smarty_modifier_myescape(encurl("?a=change_compound&deposit=".((string)$_smarty_tpl->tpl_vars['d']->value['id'])));?>
">[change]</a>
                        </td>
                        <?php }?>

                        <?php if ($_smarty_tpl->tpl_vars['p']->value['withdraw_principal']) {?>
                        <td align="center" class="item">
                          <?php if ($_smarty_tpl->tpl_vars['d']->value['can_withdraw']) {?>
                            <a href="<?php echo smarty_modifier_myescape(encurl("?a=withdraw_principal&deposit=".((string)$_smarty_tpl->tpl_vars['d']->value['id'])));?>
">[release]</a>
                          <?php } else { ?>
                            <?php if ($_smarty_tpl->tpl_vars['d']->value['pending_duration'] > 0) {?>
                              <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['d']->value['pending_duration']);?>
 day<?php if ($_smarty_tpl->tpl_vars['d']->value['pending_duration'] > 1) {?>s<?php }?> left
                            <?php } else { ?>
                              not available
                            <?php }?>
                          <?php }?>
                        </td>
                        <?php }?>
                      </tr>
                      <?php
$_smarty_tpl->tpl_vars['d'] = $foreach_d_Sav;
}
?>
                      <?php }?>
                    </table>

                    <?php if ($_smarty_tpl->tpl_vars['p']->value['total_deposit'] > 0 || $_smarty_tpl->tpl_vars['p']->value['today_profit'] > 0 || $_smarty_tpl->tpl_vars['p']->value['total_profit'] > 0) {?>
                    <table class="table table-sm mt-2">
                      <tr>
                        <td>Deposited Total:</td>
                        <td><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['total_deposit']);?>
</b></td>
                      </tr>
                      <tr>
                        <td>Profit Today:</td>
                        <td><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['today_profit']);?>
</b></td>
                      </tr>
                      <tr>
                        <td>Total Profit:</td>
                        <td><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['total_profit']);?>
</b></td>
                      </tr>
                    </table>
                    <?php }?>

                    <br>
                  </td>
                </tr>
              </table>
              <br>
            <?php
$_smarty_tpl->tpl_vars['p'] = $foreach_p_Sav;
}
?>

          </div>
        </div>
      </div>
    </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);
?>

<?php }
}
?>