{if $err_msg.common || $err_msg.params}

{foreach from=$err_msg.common item="msg"}{$msg}
{/foreach}

{else} {if ! $cal}

{$lang_list.CalendarTopMess}

{else} {foreach from=$cal.cell key="cell_idx" item="cell"} {if $cell_idx != 0 && $cell_idx % 7 == 0 && ! $cell}{php}break;{/php}{/if} {if $cell_idx % 7 == 0}{/if} {if $cell_idx % 7 == 6}{/if} {/foreach}
{$lang_list.Sun10}{$lang_list.Mon10}{$lang_list.Tue10}{$lang_list.Wed10}{$lang_list.Thu10}{$lang_list.Fri10}{$lang_list.Sat10}
{if $cell} {$cell.day}{$lang_list.Day10} {if $cell.state < 0} {if $cell.state == -1}{* AcceptState::AS_BEFORE *}
{$lang_list.Unavailable10}
{elseif $cell.state == -2}{* AcceptState::AS_AFTER *}
{$lang_list.Closed10}
{elseif $cell.state == -3}{* AcceptState::AS_CLOSE *}
{$lang_list.Closed102}
{elseif $cell.state == -4}{* AcceptState::AS_STOP *}
{$lang_list.Unavailable102}
{elseif $cell.state == -5}{* AcceptState::AS_HARDUP *}
{$lang_list.Full10}
{else}
{/if} {else}
    {**}
  • {if $hotel.AVAILABLE_STS_FLG == 1 && $hotel.AVAILABLE_SWITCH <= $cell.rest}
    {else} {$cell.rest}{$lang_list.Room10} {/if}
  • {foreach from=$cell.charge key="num" item="chg"} {if $num > 6} {php}break;{/php} {/if}
  • {$num}{$lang_list.CalendarPerson}{if $chg}{$chg|number_format}{$lang_list.CalendarEnd}{else}----{/if}
  • {/foreach}
{/if} {/if}
{/if} {/if} {if $debug_info} {/if}