<html><head><title>列出所有学生</title>
<meta http-equiv=content-language content=zh-cn>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<LINK href="../CSS/Base.css" rel=stylesheet>
<link href="../CSS/Common.css" rel="stylesheet" type="text/css"/>
<LINK href="../CSS/Window.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="../JS/Common.js.php"></script>
<script type="text/javascript" src="../JS/Window.js.php"></script>
<script language="javascript"> 
function checkall(form) 
{
	if( form.all.checked)
	{
		for(var i = 0;i < form.elements.length-1; i++) 
		{
			var e = form.elements[i];
			e.checked = true;
		}
	}
	else
	{
		for(var i = 0;i < form.elements.length-1; i++) 
		{
			var e = form.elements[i];
			e.checked = false;
		}
    }
}
function refreshParent(returnVal) {
   //self.location.replace(self.location.href);
   self.location.reload();
   parent.AjaxDataListRequest('../DHTMLTree/TreeData.php');
}
function refreshParentPage(returnVal) {
   //self.location.replace(self.location.href);
   self.location.reload();
}
</script>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<body oncontextmenu="return false">

<div style="line-height:10px">&nbsp;</div>
<div class="wrap q_clear" id=wrap>
<div>
<div>
<div class=q_clear id=myheadertext><h1>列出<span class=red>[{coursesNum} {coursesName}]</span>课程详细信息</h1>&nbsp;&nbsp;<br/></div>
<div id=myname></div>
<div class="datalist">
 <form name="Check_Form" method="post" action="">
	
	<table class=datatable id="datatable" cellspacing=0 cellpadding=0>
	 <tr><td bgcolor="#edf3fe"><b style="font-size:14px;">&nbsp;&nbsp;课程信息&nbsp;&nbsp;<input class=inputsubmit name="createNewRel" type="button" id="createNewRel" value=" 编辑 " onclick="javascript:showPopWin('CoursesSeting.php?Action=Edit&node=0&isElective=0&coursesID={coursesID}', 650, 240, refreshParent, null,'编辑课程记录')"></b></td></tr>
	 <tr><td style="padding-top:10px;padding-bottom:10px">&nbsp;&nbsp;&nbsp;课程编号：</b>&nbsp;{coursesNum}<br/>
	 &nbsp;&nbsp;&nbsp;课程名称：&nbsp;{coursesName}<br/>
	 &nbsp;&nbsp;&nbsp;课程类型：&nbsp;必修<br/>
	 &nbsp;&nbsp;&nbsp;课程适用：&nbsp;{coursesRange}<br/>
		</td></tr>
	</table>
	
	<table class=datatable id="datatable" cellspacing=0 cellpadding=0>
	 <tr><td colspan=5 bgcolor="#edf3fe"><b style="font-size:14px;">&nbsp;&nbsp;班级与任课教师</b>&nbsp;[ <span class=red>{recRelNum}</span> 记录 ]&nbsp;&nbsp;<input class=inputsubmit name="createNewRel" type="button" id="createNewRel" value="新增记录" onclick="javascript:showPopWin('?Action=AddRel&coursesID={coursesID}', 650, 200, refreshParentPage, null,'新增班级与任课教师记录')"></td></tr>
     <tr class=coltitle>
	    <td width=3%>&nbsp;</td>
	    <td width=23%><b>班级</b></td>
		<td width=25%><b>教师</b></td>
		<td width=34%>&nbsp;</td>
		<td width=15% align="center"><b>操作</b></td>
	 </tr>
	 <!-- BEGIN COURSE -->
	 <tr><td><input name="relID[]" type="checkbox" id="relID[]" value="{relID}"></td>
	     <td>{className}</td>
		 <td>{teachersName}</td>
		 <td width=34%>&nbsp;</td>
		 <td width=15% align="center"><A href="javascript:void(0);" onclick="javascript:showPopWin('?Action=EditRel&coursesID={coursesID}&relID={relID}', 650, 200, refreshParentPage, null,'编辑班级与任课教师记录')">编辑</A>&nbsp;&nbsp;<A href="?Action=DeleteRel&coursesID={coursesID}&{deleteURL}" onclick="return window.confirm('您真的想删除该记录吗？本操作不可恢复！')">删除</A></td>
	 </tr>
	 <!-- END COURSE -->
	 <tr><td width=3%><input name="all" type="checkbox" id="all" value="all" onclick="checkall(this.form)" style="BACKGROUND-COLOR:#ffffff"></td>
	     <td colspan=3><input class=inputsubmit name="DeleteSubmit" type="submit" id="DeleteSubmit" value="删除记录" onclick="return window.confirm('您真的想删除这些学生记录吗？本操作不可恢复！')"></td>
	 </tr>
	</table>
   </form>
</div>
</div></div></div>
</body></html>
