index.html
1.2 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
<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="{:url('slide/index')}">幻灯片列表</a></li>
<li><a href="{:url('slide/add')}">添加幻灯片</a></li>
</ul>
<table class="table table-hover table-bordered margin-top-20">
<thead>
<tr>
<th width="50">ID</th>
<th>幻灯片</th>
<th>备注</th>
<th width="160">{:lang('ACTIONS')}</th>
</tr>
</thead>
<tbody>
<php>
</php>
<foreach name="slides" item="vo">
<tr>
<td>{$vo.id}</td>
<td>{$vo.name}</td>
<td>
{$vo.remark}
</td>
<td>
<a href="{:url('slide/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
<a href="javascript:parent.openIframeLayer('{:url('slideItem/index',array('slide_id'=>$vo['id']))}','管理 {$vo.name} 页面',{});">管理页面</a>
<a href="{:url('slide/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>
</td>
</tr>
</foreach>
</tbody>
</table>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>