
<!--#INCLUDE FILE="fupload.inc"-->
<!--#include file="../SQLconn.asp"-->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">

<title>保存文件</title>

<link rel="stylesheet" href="../css/style.css">

<style type="text/css">
<!--
.STYLE2 {color: #000000}
-->
</style>
</head>
<body topmargin="5" leftmargin="5">
<p>
<%
if Request.ServerVariables("REQUEST_METHOD") = "POST" Then
'---------------------------
'response.write "开始发送<br>"
'---------------------------
Dim Fields
UploadSizeLimit=31212121
Set Fields = GetUpload()
dim Field
For Each Field In Fields.Items
   if Field.name="id" then fid=BinaryToString(Field.value)
   if Field.name="chuliren" then chuliren=BinaryToString(Field.value)
   if Field.name="content" then content=BinaryToString(Field.value)  
next			
		
			
			set rsgonggao=server.createobject("adodb.recordset")
			rsgonggaosql="select * from GongWenSee where   fid='"&fid& "' and  处理人='"&chuliren& "' " 			
			rsgonggao.open rsgonggaosql,conn,1,3 	
						
            rsgonggao("处理人")=chuliren
			rsgonggao("处理结果")=content
			rsgonggao("处理日期")=now()					
            rsgonggao("处理IP")=Request.ServerVariables("REMOTE_ADDR")
			rsgonggao.update				
			rsgonggao.close 
   
   
   
    
   
   
   
   
   
   
			%>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div align="center">



  <table border="1" cellspacing="0" width="700" bordercolorlight="#11B1FF" bordercolordark="#F0F8FF">
    <tr>
      <td width="100%" height="32">
      <p align="center" class="STYLE1 STYLE2">公文成功处理</td>
    </tr>
    <tr>
      <td width="100%">
        <p align="center"><br>
          <span class="STYLE1 STYLE2">
          </span><span class="STYLE3"></span></p>
        <p align="left"><span class="STYLE1 STYLE2"><br>
          处理结果为：<%=content%>   <br>
          <br>
          <br>
          
    <center>
    <form name="form1" method="post" action="">
      <label>
	
        <div align="center" class="STYLE1">
		<input name="button" type="button" class="topanniu" onClick="window.close();" value="关闭" />
		&nbsp;</div>
      </label>
      
    </form>
    <p align="center"><br>
    <br>
    </p>      </td>
    </tr>
  </table>
</div>
<%
end if
 
%>
<script language="Jscript"> {   //刷新母窗口
   window.opener.location.reload();
	 } 
</script>

</body>  
  
</html>  



