{include file="header" /} {php} $appointment_status = 'open'; $now = time(); $starttime = isset($starttime) ? (int)$starttime : 0; $endtime = isset($endtime) ? (int)$endtime : 0; if ($starttime > 0 && $now < $starttime) { $appointment_status = 'upcoming'; } elseif ($endtime > 0 && $now > $endtime) { $appointment_status = 'ended'; } $appointment_status_text = $appointment_status === 'upcoming' ? cms_t('appointment_status_upcoming', '预约尚未开始') : ($appointment_status === 'ended' ? cms_t('appointment_status_ended', '预约已结束') : cms_t('appointment_status_open', '预约开启')); {/php}
{if !empty($video)}
{/if}

{$title}

{if !empty($subtitle)}
{$subtitle}
{/if} {if !empty($appointment_status_text)}
{$appointment_status_text}
{/if}
{if !empty($content)}
{$content|raw}
{/if} {if !empty($images)} {/if}
{:cms_t('appointment_notice_title','预约须知')}
{if !empty($booking_notice)} {$booking_notice|raw} {else /}

{:cms_t('appointment_notice_default','提交预约信息后,我们将在合适时间通过短信或邮件与您联系,请确保联系方式填写正确。')}

{/if}
{include file="footer" /}