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

📄 save.asp

📁 wapgo网址导航整站源码,WAP源码,更多登陆http://xywap.cn
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%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="conn.asp"-->
<!--#include file="admin.asp"-->
<%
ids=request("ids")
site=request("site")
classid=request("ids")
url=request("url")
about=request("about")

if site="" then response.redirect "add.asp"
if classid="" then response.redirect "add.asp"
if url="" then response.redirect "add.asp"

set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [urls] order by wID desc"
rs.open rsstr,conn,1,2

dim errr
errr=0
if rs.recordcount>0 then
	if rs("site")=site and rs("url")=url then errr=1
end if

if errr=1 then eer="请不要重复添加,<br/>谢谢合作!<br/>"
if errr<>1 then
rs.addnew
if site<>"" then rs("site")=site
if url<>"" then rs("url")=url
if about<>"" then rs("about")=about
if classid<>"" then rs("classid")=classid
rs.update

end if
%>
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<card title="添加网址">
<p>
<%if eer="" then%>
添加成功,请在你站相应位置增加我站连接,位置越好,越容易被审核通过,我站给你分配的地址如下:<br/>
http://wapgo123.cn/wap.asp?id=<%=rs("wid")%><br/>
<%else%>
<%=eer%>
<%end if%>
----------<br/>
<a href="index.asp">[网站首页]</a><br/>
</p>
</card>
</wml>
<%else%>
<%response.redirect"index.asp"%>
<%
end if
rs.close
set rs=Nothing
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

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