index.html
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<include file="public@header"/>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a>用户操作管理</a></li>
<li><a href="{:url('AdminUserAction/sync')}">同步用户操作</a></li>
</ul>
<form method="post" class="js-ajax-form margin-top-20">
<php>$cycle_types=['0'=>'不限','1'=>'天','2'=>'小时','3'=>'永久']</php>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>操作</th>
<th>积分更改</th>
<th>金币更改</th>
<th>奖励周期</th>
<th>{:lang('ACTIONS')}</th>
</tr>
</thead>
<tbody>
<foreach name="actions" item="vo">
<php></php>
<tr>
<td>{$vo.name} {$vo.action}</td>
<td>{$vo.score}</td>
<td>{$vo.coin}</td>
<th>
<eq name="vo.cycle_type" value="0">
不限
<else/>
{$vo.reward_number}次/{$vo.cycle_time}{$cycle_types[$vo['cycle_type']]}
</eq>
</th>
<td>
<a class="btn btn-xs btn-primary" href="{:url('AdminUserAction/edit')}?id={$vo.id}">编辑</a>
</td>
</tr>
</foreach>
</tbody>
</table>
<div class="pagination">{$page}</div>
</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>