<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<!doctype html>
<html>
<head><title></title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<script src="../laydate/laydate.js"></script>


<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<style type="text/css">
<!--
.STYLE3 {color: #FF0000}
-->
</style>
<body>
<%    
        Years = request.cookies("nowxueqi")
		rizhidate=Request("rizhidate")
		if  rizhidate="" then 
		    rizhidate=date()
		end if 
	    strGrade=Request("strGrade")
		fenlei=Request("fenlei")
		
		%>	
		
 
<table width="100%" height="495" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="27">
	<div class="header">
	<div class="nav">
        <ul>
            
		<% set RsName=server.createobject("adodb.recordset")
		sqlRsName="select vname from  varset where name='grade' order by vid"
		RsName.open sqlRsName,conn,1
		if strGrade="" then strGrade=RsName("vname") 
		 
		while not RsName.eof and not RsName.bof
		%>
		   <%    if strGrade=RsName("vname")  then   %>
		   <li class="on" style="font-size:12px" ><%=RsName("vname")%><%=fenlei%></li>
		 
		   <%    else   %>
		   <li><a style="font-size:12px;"  href="ClassList.asp?strGrade=<%=RsName("vname")%>&fenlei=<%=fenlei%>" target="_self"><%=RsName("vname")%><%=fenlei%></a></li>
	      
			 
		<%end if
		RsName.movenext
		wend
		RsName.close
		Set RsName = Nothing
		
		%>
			
			
			
			
			
        </ul>
    </div>	
	</td>
  </tr>
		
 
  <tr>
    <td height="470" colspan="3" valign="top"   style="border-left:1px solid #6D8DD8;border-right:1px solid #6D8DD8;border-bottom:1px solid #6D8DD8;">
	<br>
		<FORM ACTION="ClassList.asp?fenlei=<%=fenlei%>&strGrade=<%=strGrade%>&rizhidate=<%=rizhidate%>" METHOD="GET" enctype="multipart/form-data" NAME="ftype"  id="ftype" >


  <%    
         
	  
	   Set MyOAASPObj = Server.CreateObject("YFSchoolOApro2.YFSchoolDll2")
       call  MyOAASPObj.BanWuRiZhi(Years,strGrade,rizhidate,fenlei)
       set MyOAASPObj=nothing
		   
	%>
	 
<script>
laydate({
   elem: '#rizhidate',
choose: function(){
    document.getElementById('ftype').submit();
}

});
</script>
	  
	  
	  
</FORM>




  </td>
  </tr>
</table>
</body>
</html>
