<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/Tab.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" style="margin-top:0px">

<div id="tabs1"> 
    <ul> 
        <li><a href="TeachersGroup.php"><span>定义教研组</span></a></li> 
        <li id="current"><a href="TeachersSeting.php?node=0"><span>所有教师名单</span></a></li>
        <li><a href="TeachersImportData.php?node=0"><span>导入导出数据</span></a></li>
    </ul> 
</div> 

<div style="line-height:10px">&nbsp;</div>
<div class="wrap q_clear" id=wrap>
<div>
<div>
<div class=q_clear id=myheadertext><h1>列出所有教师名单</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}&ttype={ttype}&ugroupid={ugroupid}', 650, 420, refreshParent, null,'新增教师记录')">&nbsp;<br/></div>
<div id=myname></div>
<div class="datalist">
 <form name="Check_Form" method="post" action="">
	 <!-- BEGIN GROUP -->
	<table class=datatable id="datatable" cellspacing=0 cellpadding=0>
	 <tr><td colspan=8 bgcolor="#edf3fe"><b style="font-size:14px;">&nbsp;&nbsp;{userGroupName}</b>&nbsp;&nbsp;[ <span class=red>{recNumSub}</span> 记录 ]</td></tr>
     <tr class=coltitle> 
        <td width=3%  noWrap>&nbsp;</td>
        <td width="13%"><strong>教师编号</strong></td>
        <td width="13%"><strong>教师姓名</strong></td>
        <td width="8%"><strong>性别</strong></td>
        <td width="31%"><strong>Email</strong></td>
        <td width="20%"><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="teachersID[]" type="checkbox" id="teachersID[]" value="{teachersID}"></td>
        <td>&nbsp;{teachersNum}</td>
        <td>&nbsp;{teachersName}</td>
        <td>&nbsp;{teachersGender}</td>
        <td>&nbsp;{teachersEmail}</td>
        <td>&nbsp;{teachersGroup}</td>
        <td align=center> <A href="javascript:void(0);" onclick="javascript:showPopWin('?Action=Edit&node={node}&ttype={ttype}&ugroupid={ugroupid}&teachersID={teachersID}', 650, 420, refreshParent, null,'编辑教师记录')">编辑</A>&nbsp;&nbsp;<A href="?Action=Delete&node={node}&ttype={ttype}&ugroupid={ugroupid}&{deleteURL}" onclick="return window.confirm('您真的想删除该教师记录吗？本操作不可恢复！')">删除</A></td>
     </tr>
     <!-- END LIST -->   
	 </table>
	 <!-- END GROUP -->

	<table class=datatable id="datatable" cellspacing=0 cellpadding=0>
	 <tr><td colspan=8 bgcolor="#edf3fe"><b style="font-size:14px;">&nbsp;&nbsp;尚未分组</b>&nbsp;&nbsp;[ <span class=red>{recNum0}</span> 记录 ]</td></tr>
     <tr class=coltitle> 
        <td width=3%  noWrap>&nbsp;</td>
        <td width="10%"><strong>教师编号</strong></td>
        <td width="13%"><strong>教师姓名</strong></td>
        <td width="8%"><strong>性别</strong></td>
        <td width="31%"><strong>Email</strong></td>
        <td width="23%"><strong>教研组</strong></td>
        <td align="center"><strong>操作</strong></td>
     </tr>

     <!-- BEGIN LIST0 -->
     <tr onmouseover="this.style.backgroundColor='#DEEFFF'"  onmouseout="this.style.backgroundColor='#FFFFFF'"> 
        <td><input name="teachersID[]" type="checkbox" id="teachersID[]" value="{teachersID0}"></td>
        <td>&nbsp;{teachersNum0}</td>
        <td>&nbsp;{teachersName0}</td>
        <td>&nbsp;{teachersGender0}</td>
        <td>&nbsp;{teachersEmail0}</td>
        <td>&nbsp;{teachersGroup0}</td>
        <td align=center> <A href="javascript:void(0);" onclick="javascript:showPopWin('?Action=Edit&node={node}&ttype={ttype}&ugroupid={ugroupid}&teachersID={teachersID0}', 650, 420, refreshParent, null,'编辑教师记录')">编辑</A>&nbsp;&nbsp;<A href="?Action=Delete&node={node}&ttype={ttype}&ugroupid={ugroupid}&{deleteURL0}" onclick="return window.confirm('您真的想删除该教师记录吗？本操作不可恢复！')">删除</A></td>
     </tr>
     <!-- END LIST0 -->   
	 </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>
		  选中的教师迁移至教研组：
		  <select name="tran_userGroupID">
		  {users_group_list}
		  </select>
		  <input name="TranUsersSubmit" class=inputsubmit type="submit" id="TranUsersSubmit" value="迁移分组" > 
		  <input class=inputsubmit name="DeleteSubmit" type="submit" id="DeleteSubmit" value="删除记录" onclick="return window.confirm('您真的想删除这些教师记录吗？本操作不可恢复！')"></td>
      </tr>
   </form>
   </table>
</div>
</div></div></div>
</body></html>
