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

<{$data.n_y}> 學年度<{$data.n_s}> 學期 <{$data.class_list_c[$data.my_class_id]}>功課表

下載課表
<{foreach key=s_key item=subject from= $data.subject_name }> <{/foreach }>
<{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]}> <{assign var="cell_showed" value=0 }> <{assign var="cell_tab" value=$data.my_table[$smarty.section.di.index][$smarty.section.si.index]}> <{foreach from=$cell_tab key=w item=cell_data }> <{if ( ($cell_data.class_id) and ( $cell_data.class_id <> $data.my_class_id)) }> <{*有課且不同班*}> <{assign var="cell_showed" value=1 }>
在: <{if $w==1}>單週-<{/if}> <{if $w==2}>雙週-<{/if}> <{$data.class_list_c[$cell_data.class_id]}>_<{$cell_data.subject_name}> <{/if}> <{/foreach}> <{if ($cell_showed==0) }> <{* 自已的課 *}>


<{/if}>

說明
拖拉左方的科目到節次中,新增課程,科任課無法更動。
先排好的科目,可以拖拉到其它節次中。
級任無法排單雙週課表,只有管理員才可以排單雙週課表。