<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/Function.asp"-->
<%
Call ChkLogin(session("WebAdminsUserName"))
Call ConnectionDataBase(2)
Action = Request("Action")
Select Case Action
	Case "AddInformation"
		Call AddInformation
End Select

Sub AddInformation()
	CateID = Request.Form("CateID")
	Content = Request.Form("Content")
	Call ChkIsNumber(CateID,"参数类型错误!")
	strSql = "Select * From T_Information Where CateID=" & CateID	
	SetRs Rs,strSql,conn,1,3
	IF Rs.EOF Then	Rs.Addnew()
	Rs("CateID") = CateID
	Rs("Content") = Content	
	Rs.Update
	DisRs Rs
	Call CloseDatabase
	Call Success("信息提交成功!",Request.ServerVariables("HTTP_REFERER"))
End Sub
%>