⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 save_move.asp

📁 购物系统(本版为正式商业版
💻 ASP
字号:

<%response.buffer=true%>

<!--#include file="conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="../fuction.asp"-->
<% id=nosql(request.querystring("id"))
url=nosql(request.form("url"))
 if id="" or  not isnumeric(id) then
response.write"错误的请求"
response.end 
end if

bid=nosql(int(request.form("bid")))
username=nosql(session("username"))
 password=nosql(session("userpassword"))

if username="" or password="" then
response.redirect"login.asp"
 end if 

if session("manbid")=ture then
 


set rs=server.createobject("adodb.recordset")
sql="select * from book where id="&id
rs.open sql,conn,3,3
  rs("bid")=bid
rs.update
rs.close
set rs=nothing
response.redirect url

else
response.write"<script language='javascript'>alert('你没权限!')</script>"
response.write "<script language='javascript'>history.back(-1)</script>"
response.end 
end if 
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -