{extend name='main'} {block name="button"} {if auth("add_cs")} {/if} {/block} {block name="content"}
| ID | 用户名 | 链接 | 上班时间 | 下班时间 | 添加时间 | 操作 |
|---|---|---|---|---|---|---|
| {$vo.id} | {$vo.username} | {$vo.url} | {$vo.btime} | {$vo.etime} | {$vo.addtime|format_datetime} | {if auth("edit_cs")} 编 辑 {/if} {if ($vo.status == 1) and auth("edit_cs_status")} 禁用 {elseif ($vo.status == 2) and auth("edit_cs_status") /} 启用 {/if} |