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

<%  content=request("content")
    daibao=request("daibao")
    baoxiutype=request("baoxiutype") 
	
	
  set Rsqingjia=server.createobject("adodb.recordset")
       Rsqingjiasql="select * from shiwu where (id is null)" 
       Rsqingjia.open Rsqingjiasql,conn,1,3
       Rsqingjia.addnew
	   Rsqingjia("shiwu")="报修"
	   Rsqingjia("shiwutype")=baoxiutype
       Rsqingjia("content")=content
       
	   
	    
	      Rsqingjia("代报")=daibao
	      Rsqingjia("tname")=request.cookies("tname")
	   
	   Rsqingjia("updatetime")=now()
	  
	   Rsqingjia("jindu")="待处理"
	   Rsqingjia("jieguo")="未修"
	  
       Rsqingjia.update
       Rsqingjia.close
	   response.redirect   "main.asp"
%>



