<%@ LANGUAGE = VBScript.Encode %>
<!--#include file="conn.asp"-->
<%if session("bjxadmin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<p align=center><font color=red>您没有此项目管理权限！</font></p>"
response.End
end if
end if
%>
<%dim action,html
html=request("html")
action=request.QueryString("action")

Content=Request.Form("Content")

'将里面的链接换成本地链接
 aa="http://"&Request.ServerVariables("server_name")&Request.ServerVariables("path_info")
 aa= mid(aa,1,len(aa)-20)		'20=admin/savejfhjxx.asp
content=replace(content,aa,"")

session("content")=content

set rs=server.CreateObject("adodb.recordset")
rs.Open "select jfhj from BJX_config",conn,1,3
rs("jfhj")=content
rs.Update
session("content")=""
response.Write "<script language=javascript>alert('积分兑换奖品说明修改成功');window.location.href='jfhjxx.asp';</script>"
response.End
%>
