<{$toolbar}> <{if $can_booking}> <{if $now_op=="jill_booking_form"}>
<{if $itemArr.jbi_sn}> <{$formValidator_code}>

<{$itemArr.jbi_title}>


<{$jb_booking_content}>
<{if $weektime}> <{foreach from=$timeArr key=t item=time}> <{section name=w start=0 loop=7}> <{assign var=wk value=$smarty.section.w.index}> <{/section}> <{/foreach}> <{/if}>
<{$smarty.const._MD_JILLBOOKIN_W0}> <{$smarty.const._MD_JILLBOOKIN_W1}> <{$smarty.const._MD_JILLBOOKIN_W2}> <{$smarty.const._MD_JILLBOOKIN_W3}> <{$smarty.const._MD_JILLBOOKIN_W4}> <{$smarty.const._MD_JILLBOOKIN_W5}> <{$smarty.const._MD_JILLBOOKIN_W6}>
<{$time.jbt_title}><{$weektime.$t.$wk.jbt_week}>
<{$token_form}>
<{/if}>
<{/if}> <{if $now_op=="list_jill_booking"}>

<{$jbi_title}>

<{$smarty.const._MD_JBOOKING}>
<{$smarty.const._MD_JDATE}>
<{$smarty.const._MD_JWEEK}>
<{$smarty.const._MD_JSESSION}>
<{if $maxwaiting}> <{section name=w start=1 loop=$maxwaiting+1 step=1}>
<{$smarty.const._MD_JILLBOOKIN_JB_UID}><{$smarty.section.w.index}>
<{/section}> <{else}>
<{$smarty.const._MD_JILLBOOKIN_JB_UID}>1
<{/if}> <{foreach from=$dateweek item=dw}>
checked="checked"<{/if}> >
<{$dw.jb_date}>
<{if $dw.week=="0"}><{$smarty.const._MD_JILLBOOKIN_W0}> <{elseif $dw.week=="1"}><{$smarty.const._MD_JILLBOOKIN_W1}> <{elseif $dw.week=="2"}><{$smarty.const._MD_JILLBOOKIN_W2}> <{elseif $dw.week=="3"}><{$smarty.const._MD_JILLBOOKIN_W3}> <{elseif $dw.week=="4"}><{$smarty.const._MD_JILLBOOKIN_W4}> <{elseif $dw.week=="5"}><{$smarty.const._MD_JILLBOOKIN_W5}> <{else }><{$smarty.const._MD_JILLBOOKIN_W6}> <{/if}>
<{$dw.jbt_title}>
<{foreach from=$dw.waitingArr item=w}>
<{$w.name}>
<{/foreach}>
<{/foreach}>
<{$token_form}>
<{/if}> <{else}>

<{$smarty.const._MD_JBOOKING_ERROR}>

<{/if}>