urlok.asp
来自「wap建站」· ASP 代码 · 共 39 行
ASP
39 行
<%@ LANGUAGE="VBSCRIPT" %>
<%option explicit%>
<%Dim ids,id,page,p,show,order,rs,rsstr%>
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "admin.asp"
end if
id=request("id")
ids=request("ids")
show=request("show")
order=request("order")
set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [urls] where [wID]=" & ids
rs.open rsstr,conn,1,2
if show=1 then
rs("showorder")=order
end if
rs("show")=show
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<html>
<head>
<title>操作成功</title>
<meta http-equiv="refresh" content='2; URL=url.asp?id=<%=id%>'>
</head>
<body>
<p align="center"><b>显示操作成功!</b></p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?