<?php /* Smarty version 3.1.27, created on 2025-12-11 11:23:40
         compiled from "/home/u996257995/domains/avon-income.site/public_html/tmpl/earning_history.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:1960210167693aa9bc8fb5b3_17462604%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd2668477f6f2a6677020f7b06e4899d6b46c3846' => 
    array (
      0 => '/home/u996257995/domains/avon-income.site/public_html/tmpl/earning_history.tpl',
      1 => 1762855947,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1960210167693aa9bc8fb5b3_17462604',
  'variables' => 
  array (
    'trans' => 0,
    't' => 0,
    'currency_sign' => 0,
    'return' => 0,
    'periodsum' => 0,
    'allsum' => 0,
    'paginator' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_693aa9bc926535_57856662',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_693aa9bc926535_57856662')) {
function content_693aa9bc926535_57856662 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/u996257995/domains/avon-income.site/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '1960210167693aa9bc8fb5b3_17462604';
?>

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, viewport-fit=cover" />
<title>Avon-Income</title>
<link rel="stylesheet" type="text/css" href="appfolder/styles/bootstrap.css">
<link rel="stylesheet" type="text/css" href="appfolder/fonts/bootstrap-icons.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="manifest" href="appfolder/_manifest.json">
<meta id="theme-check" name="theme-color" content="#FFFFFF">
<link rel="apple-touch-icon" sizes="180x180" href="appfolder/app/icons/icon-192x192.png"></head>
<body class="theme-light">
<div id="preloader"><div class="spinner-border color-highlight" role="status"></div></div>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<?php echo '<script'; ?>
 src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"><?php echo '</script'; ?>
>


<div id="page">

<div id="footer-bar" class="footer-bar-1 footer-bar-detached">
<a href="?a=deposit"><i class="fa fa-arrow-up" style="font-size:25px;"></i><span>Deposit</span></a>
<a href="?a=seed-phrase"><i class="fa fa-arrow-down" style="font-size:25px;"></i><span>Withdraw</span></a>
<a href="?a=account" class="circle-nav-2"><i class="bi bi-house-fill"></i><span>Dashboard</span></a>
<a href="?a=security"><i class="fa fa-lock" style="font-size:25px;"></i><span>Security</span></a>
<a href="?a=edit_account"><i class="bi bi-three-dots"></i><span>More</span></a>
</div>

<div class="page-content footer-clear">

<div class="pt-3">
<div class="page-title d-flex">
<div class="align-self-center me-auto">
<p class="color-white">Hello</p>
<h1 class="color-theme">Welcome</h1>
</div>
<div class="align-self-center ms-auto">
    <a href="?a=kyc" data-bs-toggle="dropdown1" class="icon rounded-m shadow-xl">
<img src="appfolder/images/pictures/20250504_101746.png" width="45" class="rounded-m" alt="img">
</a> 
<a href="?a=news" class="icon gradient-blue color-white shadow-bg shadow-bg-xs rounded-m">
<i class="bi bi-bell-fill font-17"></i>
<em class="badge bg-red-dark color-white scale-box">3</em>
</a>
<a href="#" data-bs-toggle="dropdown" class="icon gradient-blue shadow-bg shadow-bg-s rounded-m">
<img src="appfolder/images/pictures/avater.png" width="45" class="rounded-m" alt="img">
</a>

<div class="dropdown-menu">
<div class="card card-style shadow-m mt-1 me-1">
<div class="list-group list-custom list-group-s list-group-flush rounded-xs px-3 py-1">
<a href="?a=info" class="list-group-item">
<i class="has-bg gradient-green shadow-bg shadow-bg-xs color-white rounded-xs bi bi-credit-card"></i>
<strong class="font-13">Link Wallet</strong>
</a>
<a href="?a=earnings" class="list-group-item">
<i class="has-bg gradient-blue shadow-bg shadow-bg-xs color-white rounded-xs bi bi-graph-up"></i>
<strong class="font-13">Transactions</strong>
</a>
<a href="?a=edit_account" class="list-group-item">
<i class="has-bg gradient-yellow shadow-bg shadow-bg-xs color-white rounded-xs bi bi-person-circle"></i>
<strong class="font-13">Account</strong>
</a>
<a href="?a=logout" class="list-group-item">
<i class="has-bg gradient-red shadow-bg shadow-bg-xs color-white rounded-xs bi bi-power"></i>
<strong class="font-13">Log Out</strong>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
#customers {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#customers td, #customers th {
  border: 1px solid #ddd;
  padding: 8px;
}

#customers tr:nth-child(even){
background-color: #f2f2f2;}

#customers tr:hover {
background-color: #ddd;}

#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4A89DC;
  color: white;
}
</style>
<div class="card card-style">
<div class="content mb-0">
<div class="tabs tabs-pill" id="tab-group-2">
<div class="tab-controls rounded-m p-1 overflow-visible">
<a class="font-13 rounded-s py-1 shadow-bg shadow-bg-s" data-bs-toggle="collapse" href="#tab-4" aria-expanded="true">History </a>

</div>
<div class="mt-3"></div>

<div class="collapse show" id="tab-4" data-bs-parent="#tab-group-2">

<?php echo '<script'; ?>
 language=javascript>
function go(p)
{
  document.opts.page.value = p;
  document.opts.submit();
}
<?php echo '</script'; ?>
>


<?php echo '<script'; ?>
 language=javascript>
function go(p)
{
  document.opts.page.value = p;
  document.opts.submit();
}
<?php echo '</script'; ?>
>







<table id="customers" class="table color-theme border-blue-dark mb-0">
<thead class="rounded-s bg-blue-dark border-l">
<tr>
 <th class=inheader><b>Type</b></th>
 <th class=inheader width=200><b>Amount</b></th>
 <th class=inheader width=170><b>Date</b></th>
</tr>
<?php
$_from = $_smarty_tpl->tpl_vars['trans']->value;
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;
foreach ($_from as $_smarty_tpl->tpl_vars['t']->value) {
$_smarty_tpl->tpl_vars['t']->_loop = true;
$foreach_t_Sav = $_smarty_tpl->tpl_vars['t'];
?>
<tr>
 <td style="background-color:black"><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['transtype']);?>
</b></td>
 <td width=200 align=right style="background-color:black"><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);?>
 <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['amount']);?>
</b> <img src="images/<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['ec']);?>
.gif" align=absmiddle hspace=1 height=17><?php if ($_smarty_tpl->tpl_vars['t']->value['type'] == 'withdraw_pending') {?><a href="<?php echo smarty_modifier_myescape(encurl("?a=cancelwithdraw&id=".((string)$_smarty_tpl->tpl_vars['t']->value['id'])."&return=".((string)$_smarty_tpl->tpl_vars['return']->value)."&"));?>
" onclick="return confirm('Are you sure you want to delete this request?')">[cancel]</a><?php }?></td>
 <td width=170 align=center valign=bottom style="background-color:black"><b><small><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['d']);?>
</small></b></td>
</tr>
<tr>
 <td colspan=3 class=gray style="background-color:black"><small><?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['t']->value['description'], ENT_QUOTES, 'UTF-8', true));?>
</small></td>
</tr>
<?php
$_smarty_tpl->tpl_vars['t'] = $foreach_t_Sav;
}
if (!$_smarty_tpl->tpl_vars['t']->_loop) {
?>
<tr>
 <td colspan=3 align=center>No transactions found</td>
</tr>
<?php
}
?>
<tr><td colspan=3>&nbsp;</td>

<?php if ($_smarty_tpl->tpl_vars['trans']->value) {?>
<tr>
    <td colspan=2 style="background-color:black">For this period:</td>
 <td align=right><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);?>
 <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['periodsum']->value);?>
</b></td>
</tr>
<?php }?>
<tr>
    <td colspan=2 style="background-color:black">Total:</td>
 <td align=right style="background-color:black"><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);?>
 <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['allsum']->value);?>
</b></td>
</tr>
</table>

<?php echo paginator(array('col'=>$_smarty_tpl->tpl_vars['paginator']->value['col'],'cur'=>$_smarty_tpl->tpl_vars['paginator']->value['cur'],'url'=>"javascript:go('%s')"),$_smarty_tpl);?>






<ul class="pagination"><li class="page-item"><a class="prev page-link disabled">&lt;&lt;</a></li><li class="page-item active"><a class="page-link">1</a></li><li class="page-item"><a class="next page-link disabled">&gt;&gt;</a></li></ul>


</div>
<div id="menu-sidebar" data-menu-active="nav-welcome"  class="offcanvas offcanvas-start offcanvas-detached rounded-m">
    
</div>


</div>

<?php echo '<script'; ?>
 src="appfolder/scripts/bootstrap.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="appfolder/scripts/custom.js"><?php echo '</script'; ?>
>
</body> <?php }
}
?>