fuc/storage/framework/smarty/compile/4a3350078b8634a83e40adb826763fa569da34fd_0.file_index.tpl.php
2025-02-23 13:30:57 +08:00

117 lines
4.3 KiB
PHP
Executable File

<?php
/* Smarty version 5.3.1, created on 2024-12-07 14:22:08
from 'file:gembox/draw/index.tpl' */
/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'version' => '5.3.1',
'unifunc' => 'content_6753e9900e4c44_96077936',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4a3350078b8634a83e40adb826763fa569da34fd' =>
array (
0 => 'gembox/draw/index.tpl',
1 => 1733552515,
2 => 'file',
),
),
'includes' =>
array (
'file:gembox/layout/head.tpl' => 1,
'file:gembox/layout/foot.tpl' => 1,
),
))) {
function content_6753e9900e4c44_96077936 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/private/var/www/wwwroot/crc.loc/resources/views/tabler/gembox/draw';
$_smarty_tpl->renderSubTemplate('file:gembox/layout/head.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
?>
<div class="row1">
<table class="listTable">
<thead>
<tr>
<th>id</th>
<th>用户id</th>
<th>用户邮箱</th>
<th>地址</th>
<th>金额</th>
<th>创建时间</th>
<th>网站</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('data'), 'dataRow');
$foreach0DoElse = true;
foreach ($_from ?? [] as $_smarty_tpl->getVariable('dataRow')->value) {
$foreach0DoElse = false;
?>
<tr>
<td><?php echo $_smarty_tpl->getValue('dataRow')->id;?>
</td>
<td><?php echo $_smarty_tpl->getValue('dataRow')->user_id;?>
</td>
<td><?php echo $_smarty_tpl->getValue('dataRow')->user_mail;?>
</td>
<td><?php echo $_smarty_tpl->getValue('dataRow')->addr;?>
</td>
<td><?php echo $_smarty_tpl->getValue('dataRow')->amount;?>
</td>
<td><?php echo $_smarty_tpl->getValue('dataRow')->create_at;?>
</td>
<td><?php echo $_smarty_tpl->getValue('dataRow')->site_code;?>
</td>
<td>
<a href="/gembox/draw/detail/<?php echo $_smarty_tpl->getValue('dataRow')->site_code;?>
/<?php echo $_smarty_tpl->getValue('dataRow')->id;?>
"><button class="btn-1">详细</button></a>
</td>
</tr>
<?php
}
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<div class="pagination">
<button class="btn-1 btn-page" id="page-first">|<</button>
<button class="btn-1 btn-page" id="page-prev"><</button>
<span class='page-num'>
<?php
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('pageBar')['barNums'], 'pageBarNum');
$foreach1DoElse = true;
foreach ($_from ?? [] as $_smarty_tpl->getVariable('pageBarNum')->value) {
$foreach1DoElse = false;
?>
<a page-go="<?php echo $_smarty_tpl->getValue('pageBarNum');?>
" href="#" class="<?php if ($_smarty_tpl->getValue('page') == $_smarty_tpl->getValue('pageBarNum')) {?> page-on <?php }?>"><?php echo $_smarty_tpl->getValue('pageBarNum');?>
</a>
<?php
}
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
<?php if ($_smarty_tpl->getValue('pageBar')['haveMore'] == true) {?>
<span clas="page-more">..</span>
<?php }?>
</span>
<button class="btn-1 btn-page" id="page-next">></button>
<button class="btn-1 btn-page" id="page-last">>|</button>
<input type="hidden" id='limit' value="<?php echo $_smarty_tpl->getValue('count')->limit;?>
">
<input type="hidden" id='page-on' value="<?php echo $_smarty_tpl->getValue('page');?>
">
<input type="hidden" id="page-total" value="<?php echo $_smarty_tpl->getValue('count')->total_page;?>
">
<input type="hidden" id="page-location" value="/gembox/draw">
</div>
</div>
<?php echo '<script'; ?>
>
<?php echo '</script'; ?>
>
<?php $_smarty_tpl->renderSubTemplate('file:gembox/layout/foot.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir);
}
}