<{$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}>