{template 'common/header-base'}
{php $frames = buildframes(FRAME);_calc_current_frames($frames);}
{if empty($_COOKIE['check_setmeal']) && !empty($_W['account']['endtime']) && ($_W['account']['endtime'] - TIMESTAMP < (6*86400))}
您的服务有效期限：{php echo date('Y-m-d', $_W['account']['starttime']);} ~ {php echo date('Y-m-d', $_W['account']['endtime']);}. {if $_W['account']['endtime'] < TIMESTAMP} 目前已到期，请联系管理员续费 {else} 将在{php echo floor(($_W['account']['endtime'] - strtotime(date('Y-m-d')))/86400);}天后到期，请及时付费 {/if}
{/if}
{if !defined('IN_MESSAGE')}
{if $_GPC['main-lg']}正常{else}宽屏{/if} {if in_array(FRAME, array('account', 'system', 'adviertisement', 'wxapp', 'site')) && !in_array($_GPC['a'], array('news-show', 'notice-show'))}
{if ($_GPC['c'] != 'cloud' && !empty($_GPC['m']) && !in_array($_GPC['m'], array('keyword', 'special', 'welcome', 'default', 'userapi', 'service'))) || defined('IN_MODULE')} {if file_exists(IA_ROOT. "/addons/". $_W['current_module']['name']. "/icon-custom.jpg")} {else} {/if} {$_W['current_module']['title']}
{if CRUMBS_NAV == 1} {php global $module;} {/if} {elseif FRAME == 'account'} {$_W['account']['name']} {if $_W['account']['level'] == 1 || $_W['account']['level'] == 3} 订阅号{if $_W['account']['level'] == 3}已认证{/if} {/if} {if $_W['account']['level'] == 2 || $_W['account']['level'] == 4} 服务号 {if $_W['account']['level'] == 4}已认证{/if} {/if} 切换公众号 {if uni_permission($_W['uid'], $_W['uniacid']) != ACCOUNT_MANAGE_NAME_OPERATOR} 公众号设置 {/if} 模拟测试 {/if} {if FRAME == 'system'} 系统管理 {/if} {if FRAME == 'site'} 站点管理 {/if} {if FRAME == 'wxapp'} {$wxapp_info['name']} {$version_info['version']}
切换版本 {if in_array($role, array(ACCOUNT_MANAGE_NAME_OWNER, ACCOUNT_MANAGE_NAME_MANAGER)) || $_W['isfounder']} 管理 {/if} 切换小程序
{/if}
{/if} {/if}