📄 delok.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"-->
<% if pno="" then response.redirect "index.asp" %>
<%
id=request.QueryString("id")
ids=request.QueryString("ids")
p=cint(request.QueryString("p"))
if p="" or p<1 then p=1
set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [bookmark] where ID=" & id
rs.open rsstr,conn,1,2
if rs.recordcount=1 then
rs.delete
rs.update
rs.close
set rs=nothing
end if
conn.close
set conn=nothing
%>
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<card title="删除书签" ontimer="list.asp?ids=<%=ids%>&p=<%=p%>">
<timer value="20"/>
<p>
删除成功,<br/>
正在返回书签首页!<br/>
----------<br/>
<a href="list.asp?ids=<%=ids%>&p=<%=p%>">[返回上页]</a><br/>
<a href="index.asp">[书签首页]</a><br/>
<a href="../index.asp">[网址大全]</a><br/>
</p>
</card>
</wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -