{template 'common/header-base'} {if user_is_vice_founder($_W['uid']) && $_W['iscontroller']} {template 'common/header-vice'} {else}
{template 'common/header-renew-account'}
{if !defined('IN_MESSAGE')}
{if $_GPC['main-lg']}正常{else}宽屏{/if} {if $frames['dimension'] == 3 && defined('FRAME') && in_array(FRAME, array('account', 'system', 'wxapp', 'site', 'store', 'webapp', 'phoneapp')) && !in_array($_GPC['a'], array('news-show', 'notice-show', 'notice-news'))}
{if ($_GPC['c'] != 'cloud' && !empty($_GPC['m']) && !in_array($_GPC['m'], array('keyword', 'special', 'welcome', 'default', 'userapi', 'service', 'apply'))) || defined('IN_MODULE') && IN_MODULE != ''} {template 'common/header-module'} {else} {template 'common/header-' . FRAME} {/if}
{if empty($_W['page']['title']) && $frames['title'] != '首页'}{$frames['title']}{else}{$_W['page']['title']}{/if}
{/if} {if $frames['dimension'] == 2}
{if !empty($_W['page']['title']) && $frames['title'] != '首页' && !empty($frames['title']) && !defined('IN_MODULE')}
{$_W['page']['title']}
{/if} {if !in_array(FRAME, array('message', 'platform', 'module', 'myself', 'workorder'))}

{php $have_right_content_menu = 0;} {loop $frames['section'][FRAME]['menu'] $menu_id $menu} {if in_array(FRAME, array('account_manage', 'permission'))} {if permission_check_account_user('see_' . $menu['permission_name'])}
- {$menu['title']}
{/if} {else}
- {$menu['title']} {if FRAME == 'module_manage' && $menu_id == 'module_manage_not_installed'} ({$module_uninstall_total}) {/if}
{/if} {if $menu['active']}{php $have_right_content_menu = 1;}{/if} {/loop}

{/if} {/if} {/if} {/if}