12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <include file="public@header" />
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li><a href="{:url('guide/set')}">配置</a></li>
- <li class="active"><a >列表</a></li>
- <li><a href="{:url('guide/add')}">添加</a></li>
- </ul>
- <form class="form-horizontal js-ajax-form" method="post" action="{:url('guide/listsorders')}">
-
-
- <div class="table-actions">
- <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button>
- </div>
-
-
- <table class="table table-hover table-bordered">
- <thead>
- <tr>
- <th>排序</th>
- <th align="center">ID</th>
- <th><if condition="$type eq 1">视频<else/>图片</if></th>
- <th>链接</th>
- <th>发布时间</th>
- <th>更新时间</th>
- <th align="center">{:lang('ACTIONS')}</th>
- </tr>
- </thead>
- <tbody>
- <foreach name="lists" item="vo">
- <tr>
- <td><input name="listsorders[{$vo['id']}]" type="text" size="3" value="{$vo['orderno']}" class="input input-order"></td>
- <td align="center">{$vo.id}</td>
- <if condition="$type eq 1">
- <td>{:get_upload_path($vo['thumb'])}</td>
- <else/>
- <td><img width="25" height="25" class="imgtip" src="{:get_upload_path($vo['thumb'])}" /></td>
- </if>
- <td>{$vo['href']}</td>
- <td>{:date('Y-m-d H:i',$vo['addtime'])}</td>
- <td>{:date('Y-m-d H:i',$vo['uptime'])}</td>
- <td align="center">
- <a class="btn btn-xs btn-primary" href="{:url('guide/edit',array('id'=>$vo['id']))}" >编辑</a>
- <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('guide/del',array('id'=>$vo['id']))}" data-msg="您确定要删除吗?">删除</a>
- </td>
- </tr>
- </foreach>
- </tbody>
- </table>
- <div class="pagination">{$page}</div>
-
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- </body>
- </html>
|