{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 ($_W['account']['endtime'] - strtotime(date('Y-m-d')))/86400}天后到期，请及时付费 {/if}
{/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}

### {$msg}

{/if} {if $redirect}

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

{else}

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

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