<!--#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"/>
<body>

<script Language="JavaScript">

 function form_check(){
   
	if(document.form3.file1.value.length<1){window.alert("请选择文件");document.form3.file1.focus();return (false);}
	      }    
</script>


<FORM ACTION="savepicture.asp" METHOD="post" enctype="multipart/form-data" NAME="form3"  onSubmit="return form_check();">
			<div align="center">
			<p class="STYLETITLE">
			<%
			
			dim strID
			strId=request("id")
			curpage=Request.QueryString("curpage") 
			Set RsImggonggao=Server.CreateObject("Adodb.Recordset")
			sqlgonggao="Select * from gonggao where  ID='"&strID& "'"
			RsImggonggao.open sqlgonggao,conn,1,1
			strftype=RsImggonggao("ftype")
			%>
			</p>
			<p>&nbsp;</p>
			<table width="700" align="center" border="0" cellpadding="0"   cellspacing="0"  bordercolor="#6D8DD8">   
			<tr  class="TableHeader">
			<td height="31" class="STYLE1"><div align="center">文章标题</div></td>
			<td class="STYLETITLE"><%=RsImggonggao("title")%></td>
			</tr>
			
			
			<% 
			Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           call  MyOAASPObj.GongGaoPicture(curpage,strid)
		    set MyOAASPObj=nothing
		
			%>
          <br><br>
			<div align="center">
			<input name="button" type="button" class="topanniu" onClick="location='manage.asp?ftype=<%=strftype%>&curpage=<%=curpage%>';"  value="返回" />
			</div>
</FORM>
 
</body>
</html>
