<!--#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"/>

<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="100%" height="495" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="27">
	<div class="header">
	<div class="nav">
        <ul>
            <li class="on">上传备课</li>
            <li><a href="kezufile.asp?subject=<%=strsubject%>&grade=<%=strGrade%>&years=<%=years%>" target="_self">学期列表</a></li>
			<li><a href="TBeiKe.asp?subject=<%=strsubject%>&grade=<%=strGrade%>&years=<%=years%>" target="_self">文件总表</a></li>
             
        </ul>
    </div>	
	</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>
