<!--#include file="../SQLconn.asp"-->

<html>

<head>
<title>修改班务日志记录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function CheckForm()
{

  if(document.form1.memo.value=="")
   { alert("情况说明不能空！");
     return (false);
   }

   return (true);
}


function inputname(strname,fenshu)
{
	  document.form1.memo.value=strname;
	  document.form1.fenshu.value=fenshu;
}

</script>

<link rel="stylesheet" type="text/css" href="../css/style.css" />
<style type="text/css">
<!--
.STYLE2 {color: #FF0000}
-->
</style>
</head>

<body> 
<%
  strId=request("id")
  tname=request.cookies("tname")
  strYears = request.cookies("nowxueqi")
  strGrade = TRIM( Request( "strGrade" ) )
  strClass = TRIM( Request( "strClass" ) )
  strrizhitype = TRIM( Request( "strrizhitype" ))
  rizhidate=Request("rizhidate")
  Set rs = Server.CreateObject("ADODB.Recordset")
      sql="select * from banwurizhi where id='"&strId& "'"
      rs.open sql,conn,1,1
  
%>
<form name="form1" method="post" action="SaveChangerizhi.asp?id=<%=strId%>&strYears=<%=strYears%>&strGrade=<%=strGrade%>&strClass=<%=strClass%>&rizhidate=<%=rizhidate%>&strrizhitype=<%=strrizhitype%>"  onSubmit="return CheckForm();">
  <p>&nbsp;</p>
   <%    
      	  
	   Set MyOAASPObj = Server.CreateObject("YFSchoolOApro2.YFSchoolDll2")
       call  MyOAASPObj.banwurizhi_changerizhi(strYears,strGrade,strClass,strrizhitype,rizhidate,tname,strid)
       set MyOAASPObj=nothing
		   
	%>
 

 
 
</form>   
  
<div align="center"></div>
</body>
</html>