{php global $top_nav} {php $top_nav_shortcut = array()} {php $nav_top_fold=array()} {php $platform_url=url('account/display')} {php $nav_top_fold[] = array('name' => 'all', 'title'=>'全部类型', 'type' => 'all', 'url' => $platform_url)} {loop $top_nav $nav} {if in_array($nav['name'], array(ACCOUNT_TYPE_SIGN, WXAPP_TYPE_SIGN, WEBAPP_TYPE_SIGN, PHONEAPP_TYPE_SIGN, ALIAPP_TYPE_SIGN, BAIDUAPP_TYPE_SIGN, TOUTIAOAPP_TYPE_SIGN))} {php $nav_top_fold[]=$nav} {elseif in_array($nav['name'], array('store', 'help', 'workorder', 'custom_help')) || !$nav['is_system']} {php $nav_top_tiled_other[] = $nav} {if in_array($nav['name'], array('workorder'))} {php $top_nav_shortcut[] = $nav} {/if} {elseif $nav['name'] =='message'} {php $nav_top_message = $nav} {php $top_nav_shortcut[] = $nav} {else} {php $nav_top_tiled_system[] = $nav} {if !in_array($nav['name'], array('system', 'site', 'appmarket'))} {php $top_nav_shortcut[] = $nav} {/if} {/if} {if 'store' == $nav['name'] && $_W['isadmin']}{php $nav_top_tiled_system[] = $nav}{/if} {/loop} {if $_W['iscontroller'] && $_W['isadmin']} {loop $nav_top_tiled_system $key $nav} {if (FRAME == 'account' && $nav['name'] == 'platform') && !defined('IN_MODULE')}{php $nav['name'] = FRAME}{/if} {if defined('IN_MODULE') && $nav['name'] == 'module'}{php $nav['name'] = 'account'}{/if}
- {$nav['title']}
{/loop} {/if}