<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<% 
    strid=request("id")
    leibie=request("leibie")
	shenpiren1=request("shenpiren1")
	shenpiren2=request("shenpiren2")
	shenpiren3=request("shenpiren3")
	begindate=request("begindate")
    begintime=request("begintime")
	enddate=request("enddate")
    endtime=request("endtime")
	tianshu=request("tianshu")
	kecheng=request("kecheng")
	shuoming=request("shuoming")
   
   set Rsqingjia=server.createobject("adodb.recordset")
       Rsqingjiasql="select * from KaoQinQingJia where  id='"&strId& "'"
       Rsqingjia.open Rsqingjiasql,conn,1,3

	   Rsqingjia("类型")=leibie
	   Rsqingjia("审批人")=shenpiren1
	   Rsqingjia("教导处审批人")=shenpiren2
	   Rsqingjia("校长审批人")=shenpiren3	
	   Rsqingjia("申请人")=request.cookies("tname")
	   Rsqingjia("开始日期")=begindate
	   Rsqingjia("开始时间")=begintime
	   Rsqingjia("结束日期")=enddate
       Rsqingjia("结束时间")=endtime
	   Rsqingjia("请假天数")=tianshu
	   Rsqingjia("课程安排")=kecheng
	   Rsqingjia("说明")=shuoming
	   Rsqingjia("申请时间")=now()
	   Rsqingjia("申请电脑")=Request.ServerVariables("REMOTE_ADDR")
     
	  
       Rsqingjia.update
       Rsqingjia.close
	   response.redirect   "QingJiaList.asp"
%>

<%=leibie%>