<?php include pTemplate("header");?>
	<style type="text/css">
/* CSS Document */

#mytable {
width: 700px;
padding: 0;
margin: 0 auto;
border-left:1px solid #C1DAD7;
border-top:1px solid #C1DAD7;
}
th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
border-top: 1px solid #C1DAD7;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
background: #CAE8EA;
}
td {
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
background: #fff;
font-size:11px;
padding: 6px 6px 6px 12px;
color: #4f6b72;
line-height:24px;
}

td.alt {
background: #F5FAFA;
color: #797268;
}
td.cap {
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
background: #CAE8EA;
color: #4F6B72;
}

.s_ipt {
width: 50px;
text-align:center;
line-height:20px;
border:#CCC 1px dashed;
color: #006;
}

</style>
	<div id="loadingbar"></div>
     
	<div id="main" class="mainPanel wd txt_left">
    	<div class="company">
        	<aside class="left_panel" un="leftNavBar">
            	<ul class="sidetd">
               		 <?php echo $left_menu_html;?>
            	</ul>
        	</aside>
        	<div class="right_panel">
        		<div class="content_block" un="addr">
        			<div style="position:relative">
        				<h1>课程表</h1>
						<div class="tool_box" style="position:absolute; right:2px; top:1px;">
        					<a id="btnAddMbr" href="<?php echo SITEURL;?>?mod=school&do=class_affairs" class="btn btn_add ">
       						&nbsp;&nbsp;取消&nbsp;&nbsp;
       						</a>
        				</div>
					</div>
        		</div>
        		<link href="<?php echo SITEURL;?>public/css/syllabus.css" type="text/css" />
        		<div>
                <form sm="mbrEdit" action="<?php echo SITEURL;?>?mod=school&do=do" method="POST">
                <input type="hidden" name="action" value="schedule_edit">
        			<table id="mytable" cellspacing="0">
                    	<tbody>
        				<tr>
        					<td colspan='2' style="width:60px;" align="center"  class="cap"></td>
        					<td align="center" class="cap">星期一</td>
        					<td align="center" class="cap">星期二</td>
        					<td align="center" class="cap">星期三</td>
        					<td align="center" class="cap">星期四</td>
        					<td align="center" class="cap">星期五</td>
        					<td align="center" class="cap">星期六</td>
        					<td align="center" class="cap">星期日</td>
        				</tr>
        				<tr>
        					<td align="center" rowspan="4" style="width:30px;">上午</td>
        					<td align="center" style="width:30px;">1</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][0];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][0];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][0];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][0];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][0];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][0];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][0];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" style="width:30px;">2</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][1];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][1];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][1];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][1];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][1];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][1];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][1];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" style="width:30px;">3</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][2];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][2];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][2];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][2];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][2];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][2];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][2];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" style="width:30px;">4</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][3];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][3];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][3];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][3];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][3];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][3];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][3];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" rowspan="4" style="width:30px;">下午</td>
        					<td align="center" style="width:30px;">5</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][4];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][4];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][4];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][4];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][4];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][4];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][4];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" style="width:30px;">6</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][5];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][5];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][5];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][5];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][5];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][5];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][5];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" style="width:30px;">7</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][6];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][6];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][6];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][6];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][6];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][6];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][6];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" style="width:30px;">8</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][7];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][7];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][7];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][7];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][7];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][7];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][7];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" rowspan="2" style="width:30px;">晚上</td>
        					<td align="center" style="width:30px;">9</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][8];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][8];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][8];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][8];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][8];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][8];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][8];?>" class="s_ipt"/></td>
        				</tr>
        				<tr>
        					<td align="center" style="width:30px;">10</td>
        					<td align="center" class="alt"><input name="Mon[]" value="<?php echo $arr_schedule[0][9];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Tues[]" value="<?php echo $arr_schedule[1][9];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Wed[]" value="<?php echo $arr_schedule[2][9];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Thur[]" value="<?php echo $arr_schedule[3][9];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Fri[]" value="<?php echo $arr_schedule[4][9];?>" class="s_ipt"/></td>
        					<td align="center"><input name="Sat[]" value="<?php echo $arr_schedule[5][9];?>" class="s_ipt"/></td>
        					<td align="center" class="alt"><input name="Sun[]" value="<?php echo $arr_schedule[6][9];?>" class="s_ipt"/></td>
        				</tr>
                        </tbody>
        			</table>
            <div class="caption" style="text-align:right; margin-top:10px; margin-right:24px;">
            
            
            
            <input type="submit" class="btn btnSubmit" value="确定保存">
            &nbsp;
            <input type="reset" class="btn btnNormal" value="重置">

			</div>
                </form>
        		</div>
        	</div>
    	</div>
	</div>

<?php include pTemplate("footer");?>

</body>
</html>