<%@ LANGUAGE = VBScript.Encode %>
<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
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/savevipdyj.asp
content=replace(content,aa,"")

session("content")=content

set rs=server.CreateObject("adodb.recordset")
rs.Open "select vipdyj from shop_config",conn,1,3
rs("vipdyj")=content
rs.Update
session("content")=""
response.Write "<script language=javascript>alert('VIP大赢家页面修改成功');window.location.href='vipdyj.asp';</script>"
response.End
%>