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

### 模板助手

排序 | 操作 | 标题 | 键 | 调用
--- | --- | --- | --- | ---
{php} $data = \app\mbzs\model\Mbzs::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="1"} {/case} {default /} {/switch} {/if} {if condition="check_auth('edit')"} 编辑 {/if} {if condition="check_auth('delete')"} {/if} | {$vo.title} | {$vo.name} |
{/foreach} {/foreach}

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