{include file='common/header' /}

### 前台导航

排序 | 操作 | 标题 | 路由 | 应用
--- | --- | --- | --- | ---
{php} $data = \app\ebcms\model\Nav::order('sort desc,id asc') -> select(); $data = \ebcms\Tree::group($data); $groups = []; foreach($data as $key => $value){ \ebcms\Tree::leveltree(\ebcms\Tree::tree($value),$groups[$key]); } {/php} {foreach name='groups' item='items' key='group'}
{$group} | 添加
{foreach name='items' item='vo'}
| {if condition="check_auth('delete')"} {/if} {eq name='vo.status' value='1'} {else/} {/eq} {if condition="check_auth('edit')"} {/if} | {$vo._level|str_repeat=' ',###}┣ {$vo.title} | {$vo.eb_url} | {$vo.app}
{/foreach} {/foreach}

{include file='common/footer' /}