<?php /* Smarty version 3.1.27, created on 2025-07-03 19:37:18
         compiled from "/home/ewfdahxt/public_html/tmpl/earnx.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:21263088646866dbeeb436f0_19614183%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5eab8b7b99884fb99876eeb9220ab125ab792f08' => 
    array (
      0 => '/home/ewfdahxt/public_html/tmpl/earnx.tpl',
      1 => 1749991331,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21263088646866dbeeb436f0_19614183',
  'variables' => 
  array (
    'trans' => 0,
    't' => 0,
    'return' => 0,
    'totals' => 0,
    'paginator' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_6866dbeeb54837_12730699',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_6866dbeeb54837_12730699')) {
function content_6866dbeeb54837_12730699 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/ewfdahxt/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '21263088646866dbeeb436f0_19614183';
?>

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

<!--Row-->
					<div class="row">
						<div class="col-xl-12 col-lg-12 col-md-12">
							<div class="card">
								<div class="card-header">
									<h3 class="card-title">Transaction history</h3>
								</div>
								<div class="card-body">
									<div class="table-responsive">
<table class="table table-vcenter text-nowrap mb-0 table-striped table-bordered border-top">
<thead class="">
												<tr>
													<th>Type</th>
                                                    <th>Amount</th>
                                                    <th>Date</th>
												</tr>
											</thead>
<?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><b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['transtype']);?>
</b></td>
 <td width=200 align=right><b><?php echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['t']->value['amount'],$_smarty_tpl->tpl_vars['t']->value['ec']));?>
</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><b><small><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['d']);?>
</small></b></td>
</tr>
<tr>
 <td colspan=3 class=gray><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['totals']->value) {?>
<tr>
 <td><b>Total for selected options:</b></td>
 <td align=right nowrap>
  <?php
$_from = $_smarty_tpl->tpl_vars['totals']->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'];
echo smarty_modifier_myescape(amount_smarty_fiat($_smarty_tpl->tpl_vars['t']->value['amount'],$_smarty_tpl->tpl_vars['t']->value['ec']));?>
 <img src="images/<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['t']->value['ec']);?>
.gif" align=absmiddle><br><?php
$_smarty_tpl->tpl_vars['t'] = $foreach_t_Sav;
}
?>
 </td>
 <td></td>
</tr>
<?php }?>


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

</div>
								</div>
							</div>
						</div>
					</div>
					<!--End row--><?php }
}
?>