{include file='ebcms@common/header' /}

### 友情链接

排序 | 操作 | 名称 | 连接
--- | --- | --- | ---
{php} $data = \app\link\model\Link::order('sort desc,id asc') -> select(); $data = \ebcms\Tree::group($data); {/php} {foreach name='data' item='items' key='group'}
{$group} | 添加
{foreach name='items' item='vo'}
| {if condition="check_auth('status')"} {switch name="vo.status" } {case value="99"} {/case} {case value="1"} {/case} {default /} {/switch} {/if} {if condition="check_auth('edit')"} 编辑 {/if} {if condition="check_auth('delete')"} {/if} | {$vo.title} | {$vo.url}
{/foreach} {/foreach}

{include file='ebcms@common/footer' /}