<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');
}
</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>[{nodeName}]</span>课程清单</h1><p class=recnumclass>[ <span class=red>{recNum}</span> 记录 ]</p>&nbsp;&nbsp;<input class=inputsubmit name="createNew" type="button" id="createNew" value="新增课程" onclick="javascript:showPopWin('?Action=Add&node={node}&isElective={isElective}', 650, 240, refreshParent, null,'新增课程记录')"><br/></div>
<div id=myname></div>
<div class="datalist">
<table class=datatable id="datatable" cellspacing=0 cellpadding=0>
    <form name="Check_Form" method="post" action="">
     <tr class=coltitle> 
        <td width=3%  noWrap>&nbsp;</td>
        <td width="15%"><strong>课程编号</strong></td>
        <td width="50%"><strong>课程名称</strong></td>
        <td width="15%"><strong>课程适用</strong></td>
        <td align="center"><strong>操作</strong></td>
     </tr>

     <!-- BEGIN LIST -->
     <tr onmouseover="this.style.backgroundColor='#DEEFFF'"  onmouseout="this.style.backgroundColor='#FFFFFF'"> 
        <td><input name="coursesID[]" type="checkbox" id="coursesID[]" value="{coursesID}"></td>
        <td>&nbsp;{coursesNum}</td>
        <td>&nbsp;{coursesName}</td>
        <td>&nbsp;{coursesRange}</td>
        <td align=center> <A href="javascript:void(0);" onclick="javascript:showPopWin('?Action=Edit&node={node}&isElective={isElective}&coursesID={coursesID}', 650, 240, refreshParent, null,'编辑课程记录')">编辑</A>&nbsp;&nbsp;<A href="?Action=Delete&node={node}&isElective={isElective}&{deleteURL}" onclick="return window.confirm('您真的想删除该记录吗？本操作不可恢复！')">删除</A></td>
     </tr>
     <!-- END LIST -->   
	 </table>
	 <table style="border:0px;" id="datatable" cellspacing=0 cellpadding=0>
	 <tr> 
	      <td width=3% style="border:0px;"><input name="all" type="checkbox" id="all" value="all" onclick="checkall(this.form)" style="BACKGROUND-COLOR:#ffffff"></td>
	      <td style="border:0px;" colspan=8><input class=inputsubmit name="DeleteSubmit" type="submit" id="DeleteSubmit" value="删除记录" onclick="return window.confirm('您真的想删除这些记录吗？本操作不可恢复！')"></td>
      </tr>
   </form>
   </table>
</div>
</div></div></div>
</body></html>
