{template 'common/header-base'}
{php $frames = buildframes(FRAME);_calc_current_frames($frames);}
{if !defined('IN_MESSAGE')}
{if in_array(FRAME, array('account', 'system', 'advertisement', 'wxapp', 'site', 'webapp', 'phoneapp', 'xzapp')) && !in_array($_GPC['a'], array('news-show', 'notice-show'))}
{if empty($frames['section']['platform_module_menu']['plugin_menu'])}
{if !empty($_GPC['m']) && !in_array($_GPC['m'], array('keyword', 'special', 'welcome', 'default', 'userapi', 'service')) || defined('IN_MODULE')} {template 'common/header-module'} {else} {template 'common/header-' . FRAME} {/if}
{loop $frames['section'] $frame_section_id $frame_section} {if !isset($frame_section['is_display']) || !empty($frame_section['is_display'])}
{if $frame_section['title']}
{$frame_section['title']}
{/if}
    {loop $frame_section['menu'] $menu_id $menu} {if !empty($menu['is_display'])} {if $menu_id == 'platform_module_more'}
  • 更多应用
  • {else} {if $menu['active']}{php $active_sub_permission = $menu['sub_permission']}{/if} {if (in_array($_W['role'], array(ACCOUNT_MANAGE_NAME_OWNER, ACCOUNT_MANAGE_NAME_FOUNDER, ACCOUNT_MANAGE_NAME_VICE_FOUNDER)) && $menu_id == 'front_download' || $menu_id != 'front_download') && !($menu_id == 'platform_menu' && $_W['account']['level'] == ACCOUNT_SUBSCRIPTION)}
  • {if $menu['icon']} {if $frame_section_id == 'platform_module'} {else} {/if} {/if} {$menu['title']}
  • {/if} {/if} {/if} {/loop}
{/if} {/loop}
{else}
{php unset($plugin_name);} {php unset($plugin);}
{loop $frames['section'] $frame_section_id $frame_section} {if !isset($frame_section['is_display']) || !empty($frame_section['is_display'])}
{if $frame_section['title']}
{/if}
{/if} {/loop}
{/if}
{if $_COOKIE['private_app_notice']} {php setcookie('private_app_notice', '', -1);} {/if} {if empty($_COOKIE['check_setmeal']) && !empty($_W['account']['endtime']) && ($_W['account']['endtime'] - TIMESTAMP < (6*86400))} {/if} {/if} {/if}