12345678910111213141516171819202122232425262728293031323334353637 |
- {layout name="admin:layout" /}
- <div id="actionbar">
- <a href="{:url('system/admin.user/add')}" class="button button-blue"><i class="iconfont icon-add_icon"></i>增加</a>
- </div>
- <table class="table table-border">
- <thead>
- <tr>
- <th class="fn-tac w50"><input type="checkbox" onclick="CheckAll(this)"></th>
- <th class="fn-tac w50">#</th>
- <th class="w170">操作</th>
- <th>用户名</th>
- <th class="w140">最后登录时间</th>
- <th class="w140">最后登录IP</th>
- </tr>
- </thead>
- <tbody>
- {foreach $list as $rs}
- <tr>
- <td class="fn-tac"><input name="sub" type="checkbox" value="{$rs['id']}"></td>
- <th class="fn-tac">{$rs->id}</th>
- <td class="button-group">
- <a class="button" href="{:url('system/admin.user/edit',['id'=>$rs->id])}"><i class="iconfont icon-edit"></i>编辑</a>
- <a class="button isDel" url="{:url('system/admin.user/delete',['id'=>$rs->id])}" href="javascript:;"><i class="iconfont icon-lajixiang"></i>删除</a>
- </td>
- <td>{$rs->username}</td>
- <td>{$rs->last_login_time|date='Y-m-d H:i'}</td>
- <td>{$rs->last_login_ip}</td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {$list|raw}
- <script type="text/javascript">
- Do('base','layer',function(){
- $('.isDel').isDel();
- })
- </script>
|