{extend name='main'} {block name="button"} {if auth("add_cs")}
{/if} {/block} {block name="content"}
{include file='users/cs_search'}

{notempty name='list'}
ID | 用户名 | 链接 | 上班时间 | 下班时间 | 添加时间 | 操作
--- | --- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$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}
{/foreach}

{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}