{template "header.html"}
{dr_form_hidden()} {if $ci->_is_admin_auth('del')}
{else}
{/if}

{if $ci->_is_admin_auth('del')}
{/if}
| {dr_lang('排序')} | {dr_lang('可用')} | {dr_lang('名称')} | {if $ci->_is_admin_auth('add')} {dr_lang('添加')} {/if}
--- | --- | --- | --- | ---
{php $top=array();} {loop $data $t} {php $t.pid == 0 && $top[] = $t.id; $t.group = dr_string2array($t.group);$t.site = dr_string2array($t.site);} {php $menu_level = $t['pid'] == 0 ? 1 : (dr_in_array($t['pid'], (array)$top) ? 2 : 3); } {php $menu_top_id = $t['pid'] == 0 ? $t['id'] : (dr_in_array($t['pid'], (array)$top) ? $t['pid'] : $t['tid']); }
{if $ci->_is_admin_auth('del')}
{/if}
|  |  | {if $menu_level==1}{/if} {$t.spacer} {dr_lang($t.name)} | {if $ci->_is_admin_auth('add') && $t.pid == 0} {dr_lang('添加')} {/if}
{/loop}

{template "footer.html"}