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

<%  
   jibie=request("jibie")
   banbie=request("banbie")
   date1=request("date1")
   jieci=request("jieci")
   Oldkemu=request("Oldkemu")
   OldTeacher=request("OldTeacher")
   newKeMu=request("newKeMu")
   NewTeacher=request("NewTeacher")
   beizhu=request("beizhu")
 
   
   
   
   tname=request.cookies("tname")
   
   
    
    
   set RsPlan=server.createobject("adodb.recordset")
   RsPlansql="select * from kechengYiDong   where (id is null)" 
   RsPlan.open RsPlansql,conn,1,3
   
   RsPlan.addnew
   RsPlan("学期")=request.cookies("nowxueqi") 
   RsPlan("年级")=jibie
   RsPlan("班别")=banbie
   RsPlan("日期")=date1
   RsPlan("节次")=jieci
   RsPlan("原科目")=Oldkemu
   RsPlan("原教师")=OldTeacher
   RsPlan("现科目")=newKeMu
   RsPlan("现教师")=NewTeacher
   RsPlan("备注")=beizhu
   RsPlan("upName")=request.cookies("tname")
   RsPlan("updatetime")=now()
   RsPlan("upIp")=Request.ServerVariables("REMOTE_ADDR")
   
   RsPlan.update
   RsPlan.close
	
   set RsPlan=nothing  
 
   conn.close
   set conn=nothing
   response.redirect   "KeChengYiDong.asp?grade="&jibie
%>
<%=RsPlansql%> 

 