📄 editorderid.asp
字号:
<!--#include file=../../INC/txlconst.asp-->
<!--#include file=../../INC/txlfun.asp-->
<style>
table {WORD-BREAK: break-all;}
</style>
<%
Dim const_txl_HomeUrl
const_txl_HomeUrl = "../../"
%>
<!--#include file=../checkadmin.asp-->
<%
opendatabase
txl_SiteHead const_txlname&"- 管理员"
BBSSET
closedatabase
SiteBottom
Response.End()
Function BBSSET
'on error resume next
dim url,boardid,action,sql
url=Request.ServerVariables("HTTP_REFERER")
boardid=Trim(Request.QueryString("boardid"))
action=Trim(Request.QueryString("action"))
if action="up" then
sql="update boards set orderid=orderid-1 where boardid="&boardid
elseif action="down" then
sql="update boards set orderid=orderid+1 where boardid="&boardid
end if
conn.execute sql
response.Redirect(url)
end function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -