editorderid.asp

来自「自由领域ASP+WAP同学录(V1.0)系统是一套仿ChinaRen的即可用电脑」· ASP 代码 · 共 52 行

ASP
52
字号
<!--#include file=../../INC/txlconst.asp-->
<!--#include file=../../INC/txlfun.asp-->
<!--
<pre>
┌─ 自由领域ASP+WAP同学录系统 ─────────────────┐
│                                                               │
│  感谢你使用 自由领域ASP+WAP同学录系统(测试版)                │
│  使用本免费源码您必须遵守以下规定                             │
│    不得公开发表代码 不得用做商业用途,不得向其他使用者收费。  │
│                                                               │
│  使用时,请保留此段信息,谢谢配合                             │
│                                                               │
│                                       2004/12/19              │
│                                                               │
└────────────────  http://99167.jahee.com ───┘
</per>
-->
<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 + =
减小字号Ctrl + -
显示快捷键?