?? savevipdyj.asp
字號:
<%@ LANGUAGE = VBScript.Encode %>
<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('網絡超時或您還沒有登陸!');window.location.href='login.asp';</script>"
response.End
end if
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您沒有此項目管理權限!</b></font></div>"
response.End
end if
if qx8<>1 then
response.Write "<div align=center><font size=80 color=red><b>您沒有此項目管理權限!</b></font></div>"
response.End
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
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -