<{$bootstrap}> <{$jquery}> <{$toolbar}>

<{$data.n_y}> 學年度<{$data.n_s}> 學期

<{if ($data.isteacher)}>
查詢教師:<{html_options name=teacher_id id=teacher_id options=$data.teacher_list selected=$data.teacher_sel onchange="submit();" class="span8" }>
<{/if}>
查詢教室:<{html_options name=room_id id=room_id options=$data.room_list selected=$data.room_sel onchange="submit();" class="span8" }>
<{section name=di start=1 loop=$DEF_SET.days_sm step=1 }> <{ /section }> <{section name=si start=1 loop=$DEF_SET.sects_sm step=1 }> <{section name=di start=1 loop=$DEF_SET.days_sm step=1 }> <{ /section }> <{ /section }>
<{$DEF_SET.week[$smarty.section.di.index]}>
<{$DEF_SET.sects_cht_list[$smarty.section.si.index]}>
<{$DEF_SET.time_list[$smarty.section.si.index]}>
<{assign var="cell_tab" value=$tab[$smarty.section.di.index][$smarty.section.si.index]}> <{foreach from=$cell_tab key=w item=cell_data }> <{if ($cell_data.class_id) }> <{if ($w==0) }>
<{/if}> <{if ($w==1) }>
<{/if}> <{if ($w==2) }>
<{/if}> <{$data.class_list_c[$cell_data.class_id]}> <{$cell_data.subject_name}>
<{* 同時多班 *}> <{if ($cell_data.other) }>(同節:<{$cell_data.other }>) <{/if}> <{if ($data.room_sel ) }> <{if ($data.isteacher)}> <{$cell_data.teacher_name}> <{else}> <{$cell_data.teacher_name}> <{/if}>
<{/if}> <{if ($cell_data.room ) }> <{$cell_data.room}>
<{/if}>
<{/if}> <{/foreach }>