{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')) && !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}
{/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}