{if empty($_W['page']['title']) && $frames['title'] != '首页'}{$frames['title']}{else}{$_W['page']['title']}{/if}
{/if}
{if $frames['dimension'] == 2}
{if $frames['dimension'] == 3 && in_array(FRAME, array('account', 'system', 'advertisement', 'wxapp', 'site', 'webapp', 'phoneapp', 'xzapp')) && !in_array($_GPC['a'], array('news-show', 'notice-show'))}
{if !defined('IN_MODULE')}
{/if}
{/if}
{if !empty($_GPC['m']) && !in_array($_GPC['m'], array('keyword', 'special', 'welcome', 'default', 'userapi', 'service', 'apply')) || defined('IN_MODULE')}
{if empty($frames['section']['platform_module_menu']['plugin_menu'])}
{loop $frames['section'] $frame_section_id $frame_section}
{if !isset($frame_section['is_display']) || !empty($frame_section['is_display'])}
{template 'common/header-module'}
{else}
{template 'common/header-' . FRAME}
{/if}
{if $frame_section['title']}
{/if}
{/loop}
{else}
{$frame_section['title']}
{/if}
-
{loop $frame_section['menu'] $menu_id $menu}
{if !empty($menu['is_display'])}
{if $menu_id == 'platform_module_plugin_more' || $menu_id == 'platform_module_more'}
- 更多应用 {else} {if $menu['active']}{php $active_sub_permission = $menu['sub_permission']}{/if}
-
{if $frame_section_id == 'platform_module' || $frame_section_id == 'platform_module_plugin'}
{else}
{/if}
{$menu['title']}{if $menu['multilevel']}{/if}
{if $menu['multilevel'] && !empty($menu['childs'])}
-
{loop $menu['childs'] $module_menu_child}
- {$module_menu_child['title']} {/loop}
{/if}
{/if}
{/loop}
-
主应用
-
插件
{loop $frames['section']['platform_module_menu']['plugin_menu']['menu'] $plugin_name $plugin}
-
{$plugin['title']}
{/loop}
{loop $frames['section'] $frame_section_id $frame_section}
{if !isset($frame_section['is_display']) || !empty($frame_section['is_display'])}
{if $frame_section['title']}
{/if}
{/loop}
{$frame_section['title']}
{/if}
-
{loop $frame_section['menu'] $menu_id $menu}
{if !empty($menu['is_display'])}
{if $menu_id == 'platform_module_more'}
- 更多应用 {else}
- {$menu['title']} {/if} {/if} {/loop}