{template 'common/header-base'} {if $_W['role'] != 'clerk'}
{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} {else}
{/if}
{if defined('IN_MESSAGE')}
{if is_array($msg)}

## MYSQL 错误：

{php echo cutstr($msg['sql'], 300, 1);}

{$msg['error'][0]} {$msg['error'][1]}：{$msg['error'][2]}

{else}

## {$caption}

{$msg}

{/if} {if $redirect}

如果你的浏览器没有自动跳转，请点击此链接

{else}

[点击这里返回上一页] [首页]

{/if}
{else}
{php $frames = empty($frames) ? $GLOBALS['frames'] : $frames; _calc_current_frames($frames);} {if !empty($frames)}
{if CRUMBS_NAV == 1} {php global $module_types;global $module;global $ptr_title;}
{elseif CRUMBS_NAV == 2} {php global $module_types;global $module;global $ptr_title; global $site_urls; $m = $_GPC['m'];}
{/if} {else}
{/if} {/if}