<html>
<head>
<meta http-equiv=content-language content=zh-cn>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<style>
 td { padding:2px 5px 2px 5px;}
</style>
<script language=javascript src="../JS/HighLight.js.php"></script>
<script language=javascript src="../JS/CheckQuestion.js.php"></script>
<script language=javascript src="../JS/DropList.js.php"></script>
<script language=javascript>
function Check_Form_Validator(theform)
{
	if (!CheckNotNull(Check_Form.classID, "班级")) {return false;}
	if (!CheckNotNull(Check_Form.teachersID, "任课教师")) {return false;}
}
</script>
<link href="../CSS/Base.css" rel=stylesheet>
<meta content="mshtml 6.00.3790.0" name=generator></head>
<body oncontextmenu="return false" style="margin-top:0px">
  <table class=datatable style="line-height: 150%;border-collapse:collapse;" cellspacing=0 cellpadding=0 bordercolor=#b5cfd9 border=1 width=100%>
   <form name="Check_Form" onsubmit="return Check_Form_Validator(this)" method="post" action="">
     <div class=position>位置：&nbsp; 我的桌面 &raquo; 课程 &raquo; 编辑课程与任课教师记录</div>
      <tr> 
         <td colspan="2" bgcolor="#f5f5f5"><b>编辑课程与任课教师记录</b></td>
      </tr>
	  <tr>
	     <td>&nbsp;&nbsp;&nbsp;课程</td>
		 <td> {coursesName}</td>
	  </tr>
      <tr> 
         <td width="20%" height="25" ><span class=red>*</span>&nbsp;选择班级：</td>
         <td> 
		    <script>
			var QueryDropList = new DropList('QueryDropList','root0',false);
			QueryDropList.AddSelect("departmentID","departmentID","请选择学部...");
			QueryDropList.AddSelect("gradeID","gradeID","请选择年级...");
			QueryDropList.AddSelect("classID","classID","请选择班级...");
			{departmentList}
			{gradeList}
			{classList}
			QueryDropList.InitControl();
			</script>
		 </td>
      </tr>
      <tr> 
         <td height="25" ><span class=red>*</span>&nbsp;任课教师：</td>
         <td> 
		  <script>
			var TwoDropList = new DropList('TwoDropList','root',false);
			TwoDropList.AddSelect("groupID","groupID","请选择教师所属教研组...");
			TwoDropList.AddSelect("teachersID","teachersID","请选择教师...");
			<!-- BEGIN GROUP -->
			TwoDropList.AddSelectItem('{groupName}','root','g{groupID}','{groupSelected}');
			<!-- END GROUP -->
			<!-- BEGIN TEACHER -->
			TwoDropList.AddSelectItem('{teacherName}','g{groupID}','t{teacherID}','{teacherSelected}');
			<!-- END TEACHER -->
			TwoDropList.InitControl();
		  </script>
		 
		 </td>
      </tr>
	  </table>
	 <table width=100%>
     <tr><td width=20%></td>
         <td>
			<input type="hidden" name="relID" value="{relID}">
		    <input type="hidden" name="coursesID" value="{coursesID}">
		    <input type="hidden" name="coursesName" value="{coursesName}">
		    <input type="hidden" name="Action" value="{dataAction}"> 
            <input class=inputsubmit type="submit" name="submit" value="确定">&nbsp;<input class=inputsubmit type="button" name="close" value="关闭" onClick="javascript:parent.hidePopWin();"> 
        </td>
     </tr>
  </form></table>
<script type="text/javascript">initInputHighlightScript();</script> 
</body></html>
