⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 union_infosave.asp

📁 7k书城小偷程序。。。。。。。。。。。。。。。。。。。。。
💻 ASP
字号:
<%response.buffer=true%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/ wml_1.1.xml">
<!--#include file="../data/conn.asp"-->
<!--#include file="union_loginoff.asp"-->
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=0"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="Mon, 1 Jan 1990 00:00:00 GMT"/>
</head>
<%
dim unionid,siteshortname,sitename,siteurl,siteabout
unionid=encodestr(request.form("unionid"))
sitename=encodestr(request.form("sitename"))
siteshortname=encodestr(request.form("siteshortname"))
siteurl=encodestr(request.form("siteurl"))
siteabout=encodestr(request.form("siteabout"))

if  sitename="" or siteshortname="" or siteurl="" then
response.write "<card id='card1' title='修改网站'><p align='left'>"
response.write "对不起,各项都必须填写!<br/><br/>----------<br/><a href='site_infoedit.asp?unionid="&unionid&"'>[返回重写]</a><br/></p></card></wml>"
response.end
End if

Dim browsers,userip,useip,uatmp,tmp,siteid,ipaddr,forip,ipfor
if instr(siteurl,"/ad")>0 or instr(siteurl,"ad/")>0 or instr(siteurl,":ad.")>0 then 
response.write "<card id='card1' title='警告' ontimer='union_loginexit.asp'><timer value='5'/><p><br/>你执行了非法操作,因为你提交的网址可能含有收费项目。"
response.write "<br/></p></card></wml>"
response.end
End if

set objgbrs=Server.CreateObject("ADODB.Recordset")
 sql="select * from sites,reg where sites.siteid='" & unionid &"'" 
 objgbrs.open sql,conn,1,2
  if  objgbrs("siteurl")<>siteurl or objgbrs("sitename")<>sitename or  objgbrs("IsViewSite")=false then
 objgbrs("IsViewSite")=false
 else
 objgbrs("IsViewSite")=true
 end if
 objgbrs("sitename")=sitename
 objgbrs("siteshortname")=siteshortname
 objgbrs("siteurl")=siteurl
 objgbrs("siteabout")=siteabout
 objgbrs("IsRegpass")=false
 objgbrs("regupdate")=now
 objgbrs.update
 objgbrs.close
set objgbrs=nothing

  response.write "<card id='card1' title='操作成功' ontimer='union_manage.asp?unionid="&unionid&"'><timer value='5'/><p>"
  response.write"修改成功!!正在返回...<br/><br/><a href='union_manage.asp?unionid="&unionid&"'>[管理首页]</a>"
  response.write "</p></card></wml>"

conn.close
set conn=nothing
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -