<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<html>
<head>
<title>课程安排</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>

</head>
<body class="bodycolor" topmargin="5">
<%   

   id=request("id")
   
   grade=request("grade")
   banbie=request("banbie")   
   xingqi=request("xingqi")   
   jieci=request("jieci")
   
   kemu=request("kemu")

   
   username=request.cookies("tname")
   
  
%>

<script Language="JavaScript">
function form_check(){
var fso,f;  
if(document.form3.jibie.value.length<1){window.alert("请选择级别");document.form3.jibie.focus();return (false);}
if(document.form3.banbie.value.length<1){window.alert("请选择班别");document.form3.banbie.focus();return (false);}
if(document.form3.kemu.value.length<1){window.alert("请选择科目");document.form3.kemu.focus();return (false);}

}
 
</script>
<div align="center">
 <p><br>
 </p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <table  border="1" align="center" cellpadding="8" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
		<tr>
		<td width="429" height="295" valign="top"> 
  <form action="QuanXiaoSave.asp"  method="post" name="form3" onSubmit="return form_check();">
    
     <p>&nbsp;</p>
	
     <table width="287" border="0" align="center">
       
	   <tr>
         <td width="57" height="33"><div align="center">科目：</div></td>
         <td width="220">
		 
			<div align="left">
			  <select name="kemu" id="kemu" style= "width:100px ">
			    <option><%=kemu%></option>
				  <option value=""></option>
			    <% Set RSsel = Conn.Execute("select  subject from  subjectorder  order by vid")
			While NOT RSsel.EOF %>
                <option value=<%=RSsel( "subject" )%>><%=RSsel( "subject" )%></option>
                <% RSsel.MoveNext
			Wend
			RSsel.Close%>
			<option value=自习>自习</option>
			<option value=班会>班会</option>
			<option value=其他>其他</option>
		      </select>
		   </div></td>
       </tr>
       
       <tr>
         <td height="68" colspan="2"><div align="center"><span class="mtdtl">
           <input name="button" type="button" class="topanniu" onClick="location='KeChengBiaoQuanXiao.asp?grade=<%=grade%>&xingqi=<%=xingqi%>';"  value="返回">
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input name="submit" type="submit" class="topanniu" value="保存">
         </span></div></td>
       </tr>
     </table>
     <p>&nbsp;</p>
     <p>&nbsp;</p>
	 <input type="hidden" name="id" value=<%=id%>>
     <input type="hidden" name="grade" value=<%=grade%>>
     <input type="hidden" name="banbie" value=<%=banbie%>>	
	 <input type="hidden" name="xingqi" value=<%=xingqi%>>	
	 <input type="hidden" name="jieci" value=<%=jieci%>>	
 		
	</form>          
               
		  </td>
		</tr>
		</table>   
 
 
</body>
</html>