admin_bbs_orderid_edit.asp
来自「WAP网上购物系统源程序,,有兴趣的朋友,一起研究一下..交流经眼」· ASP 代码 · 共 37 行
ASP
37 行
<!--#include file=INC/skin.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
web_end
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 + =
减小字号Ctrl + -
显示快捷键?