58 lines
2.0 KiB
Smarty
Executable File
58 lines
2.0 KiB
Smarty
Executable File
{include file='gembox/layout/head.tpl'}
|
|
<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>
|
|
{foreach $data as $dataRow}
|
|
<tr>
|
|
<td>{$dataRow->id}</td>
|
|
<td>{$dataRow->user_id}</td>
|
|
<td>{$dataRow->user_mail}</td>
|
|
<td>{$dataRow->addr}</td>
|
|
<td>{$dataRow->amount}</td>
|
|
<td>{$dataRow->create_at}</td>
|
|
<td>{$dataRow->site_code}</td>
|
|
<td>
|
|
<a href="/gembox/draw/detail/{$dataRow->site_code}/{$dataRow->id}"><button class="btn-1">详细</button></a>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</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'>
|
|
{foreach $pageBar['barNums'] as $pageBarNum}
|
|
<a page-go="{$pageBarNum}" href="#" class="{if $page == $pageBarNum} page-on {/if}">{$pageBarNum}</a>
|
|
{/foreach}
|
|
{if $pageBar['haveMore'] == true}
|
|
<span clas="page-more">..</span>
|
|
{/if}
|
|
</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="{$count->limit}">
|
|
<input type="hidden" id='page-on' value="{$page}">
|
|
<input type="hidden" id="page-total" value="{$count->total_page}">
|
|
<input type="hidden" id="page-location" value="/gembox/draw">
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
|
|
</script>
|
|
|
|
{include file='gembox/layout/foot.tpl'}
|