<!--#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="../css/style.css" />

<style type="text/css">
<!--
.STYLE3 {color: #990033}
-->
</style>
<body>


<% 
		years=TRIM( Request( "years" ))
		strGrade = TRIM( Request("grade"))
		strsubject= TRIM(Request("subject"))
		strzhouci = TRIM( Request("zhouci"))
		
		
		nowxueqi=request.cookies("nowxueqi")
		if years="" then years=nowxueqi
		tname=request.cookies("tname")			
	    nowzhouci=request("zhouci")
		%>



<table width="99%" height="499" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="33"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0">
      <tr>
         <td width="100" class="Nemuselect" ><div align="center"><a href="beike.asp?subject=<%=strsubject%>&grade=<%=strGrade%>" target="_self">上传备课资料</a></div></td>
        <td width="110" class="NemuNot" ><div align="center"><a href="kezufile.asp?subject=<%=strsubject%>&grade=<%=strGrade%>&years=<%=years%>" target="_self">已上传资料列表</a></div></td>
        <td    class="NemuLine">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="470" valign="top"   class="NemuMainBox">
	 <br>
	<FORM ACTION="beike.asp" METHOD="get" enctype="multipart/form-data" NAME="ftype">
			
			<% 
		
			if nowzhouci="" then
					set RSxueqibegindate= Conn.Execute("select * from varset where  name='xueqi' and vname='"&nowxueqi&"'")
					xueqibegindate=RSxueqibegindate( "shuoming" )
					nowzhouci=datediff("w",xueqibegindate,date)
					if nowzhouci<10 then nowzhouci="0"&nowzhouci  end if
					nowzhouci="第"&nowzhouci&"周"
			end if
			
		    Set MyOAASPObj = Server.CreateObject("YFSchoolOApro2.YFSchoolDll2")
             call   MyOAASPObj.BeiKe_BeiKe(tname,nowxueqi,nowzhouci) 
            set MyOAASPObj=nothing
    
  %>  
			</FORM>	</td>
  </tr>
</table>
</body>
</html>
