<!--#include file="Conn.asp"-->
<%
	Set rsNews=Server.CreateObject("ADODB.RecordSet")
	Id=Request.Form("Id")
	If Id="" Then
		rsNews.Open "Select * from about",conn,1,3
		rsNews.Addnew
	Else
		rsNews.Open "Select * from about where Id="&Id,conn,1,3
	End If
	rsNews("class")=Request.Form("Title")
	rsNews("Content")=Request.Form("Content")
	rsNews("AddTime")=Request.Form("AddTime")
	rsNews.Update
	If Id="" Then
		Response.Write "<script language=javascript>alert('添加信息成功!!');location.href='../AddEPCulture.asp';</script>"
	Else
		Response.Write "<script language=javascript>alert('修改信息成功!!');location.href='../SetAbout.asp';</script>"
	End If
%>