adok.asp

来自「wapgo网址导航整站源码,WAP源码,更多登陆http://xywap.cn」· ASP 代码 · 共 33 行

ASP
33
字号
<%@ LANGUAGE="VBSCRIPT" %>
<%option explicit%>
<%Dim ids,ID,rs,rsstr%>
<!--#include file="conn.asp"-->

<%
if session("admin")="" then
response.redirect "admin.asp"
end if
ids=request("ids")
ID=request("id")

set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [ad] where [classid]=" & ids &" and id= " & ID
rs.open rsstr,conn,1,2

rs.delete
rs.update

rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<html>
<head>
<title>操作成功</title>
<meta http-equiv="refresh" content='2; URL=gg.asp'>
</head>
<body>
<p align="center"><b>设置操作成功!</b></p>
</body>
</html>

⌨️ 快捷键说明

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