📄 1.asp
字号:
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"><%if session("admin")="" thenresponse.redirect "admin.asp"end ifid=request("id")classid=request("fenlei")&""if classid="" then classid=request("classid")&""showorder=request("showorder")&""if showorder="" or not isnumeric(showorder) or showorder="0" then Response.write "锟斤拷选锟斤拷一锟斤拷锟斤拷效锟斤拷锟斤拷锟斤拷,<a href=""javascript:history.back();"">锟斤拷锟斤拷锟斤返锟斤拷</a>" Response.endend ifshoworder=clng(showorder)'response.write showorderset rs=Server.CreateObject("ADODB.Recordset")'rsstr="select * from [urls] where wid=" &idrsstr="select showorder from [urls] where wid<>"&id&" and classid="&classid&" order by showorder asc"rs.open rsstr,conn,1,2if not rs.eof then i=1 do while not rs.eof if i=showorder then i=i+1 'Response.write i&",,,"&rs("site")&",,,<br>" rs("showorder")=i rs.update i=i+1 rs.movenext loopend ifconn.execute "update urls set showorder="&showorder&" where wid="&idrs.closeset rs=nothingconn.closeset conn=nothing'Response.endresponse.redirect "urlx.asp?classid="&classidResponse.end'if classid<>"" then rs("classid")=classid'if showorder<>"" then rs("showorder")=showorder'rs.updateresponse.end%><html><head><title>锟睫改成癸拷</title><meta http-equiv="refresh" content='2; URL=urlx.asp?classid=<%=rs("classid")%>'><%rs.closeset rs=Nothingconn.closeset conn=nothing%></head><body><p align="center"><b>锟斤拷址锟睫改成癸拷锟斤拷</b></p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -