{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 $_COOKIE['private_app_notice']}
{$_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))}
您的服务有效期限：{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} {/if}