<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<html>
<head><title></title><meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<style type="text/css">
<!--
.STYLE2 {color: #000000}
-->
</style>
<body>
<script Language="JavaScript">function form_check(){
   
	if(document.form3.file1.value.length<1){window.alert("请选择文件");document.form3.file1.focus();return (false);}
	 
	      }    
</script>
<%
		
		dim strID
		tname=request.cookies("tname")
		strId=request("id")
		curpage=Request.QueryString("curpage") 
		Set RsImggonggao=Server.CreateObject("Adodb.Recordset")
		
		
		Set MyOAASPObj= Server.CreateObject("YFSchoolOApro.YFSchoolDll")
	        if MyOAASPObj.QuanXian(tname,"系统参数")=1 then    						
			     sqlgonggao="Select * from gonggao where  ID='"&strID& "'"		 
			else
			    sqlgonggao="Select * from gonggao where  ID='"&strID& "'  and  upName ='"&tname&"'"				
			end if 
			set MyOAASPObj=nothing	
		
		
		RsImggonggao.open sqlgonggao,conn,1,1
		strftype=RsImggonggao("ftype")
	%>

<FORM ACTION="savefujian.asp?curpage=<%=curpage%>" METHOD="post" enctype="multipart/form-data" NAME="form3"  onSubmit="return form_check();">
			<div align="center">
			<p class="STYLE1">&nbsp;</p>
			<table width="90%" border="0" cellspacing="0" bordercolor="#CCCC66">
			
			<tr>
			<td height="48" class="STYLE1"><div align="right">文档标题： </div></td>
			<td class="STYLETITLE"><%=RsImggonggao("title")%> </td>
			</tr>
		
			
			
			<% 
			aid=RsImggonggao("id")
			Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           call  MyOAASPObj.GongGaoFuJian(curpage,aid)
		    set MyOAASPObj=nothing
			%>
			
			<br>
			<div align="center">
			<input name="button" type="button" class="topanniu" onClick="location='manage.asp?ftype=<%=strftype%>&curpage=<%=curpage%>';"  value="返回" />
			</div>
</FORM>
 
</body>
</html>
