| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <include file="public@header"/>
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a href="{:url('kefu/index')}">客服列表</a></li>
- <li><a href="{:url('kefu/add')}">添加客服</a></li>
- </ul>
- <form method="post" class="js-ajax-form margin-top-20" action="{:url('Kefu/index')}">
- <div class="table-actions">
-
- </div>
- <php>$status=array("1"=>lang('DISPLAY'),"0"=>lang('HIDDEN'));</php>
- <table class="table table-hover table-bordered table-list">
- <thead>
- <tr>
- <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
- data-checklist="js-check-x"></label></th>
-
- <th width="50">ID</th>
- <th width="90">客服名称</th>
- <th>客服头像</th>
- <th>客服微信</th>
- <th>客服描述</th>
- <th width="120">{:lang('ACTIONS')}</th>
- </tr>
- </thead>
- <tbody>
- <foreach name="kefu" item="vo">
- <tr>
- <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
- value="{$vo.id}">
- </td>
-
- <td>{$vo.id}</td>
- <td>{$vo.name}</td>
- <td><img src="/upload/{$vo.head_img}" style="width: 80px;height: 50px;"></img></td>
- <td>{$vo.weixin}</td>
- <td>{$vo.description}</td>
-
-
- <td>
- <a class="btn btn-xs btn-primary" href="{:url('kefu/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
- <a class="btn btn-xs btn-danger" href="{:url('kefu/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">
- {:lang('DELETE')}
- </a>
- </td>
- </tr>
- </foreach>
- </tbody>
-
- </table>
-
- <div class="pagination">{$page}</div>
-
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- </body>
- </html>
|