?? bs_eshop.asp
字號:
<font color="B0266D"></font>
<!--#include file="conn.asp" -->
<%
buyid = Request("Product_Id")
ddh=request.cookies("ddh")
if ddh="" and buyid="" then
response.redirect "bs_error.asp?error=007"
response.end
end if
Set rs2=conn.execute("select * from Bs_Product where Product_Id like '%"&buyid&"%' ")
cname=rs2("Title")
rs2.close
set rs2=nothing
jsr=request.cookies("yhmc")
Sql="Insert into bs_ddan (ddh,cp_id,cp_cname,xdr) values ('"&ddh&"','"&buyid&"','"&cname&"','"&jsr&"')"
Conn.Execute(sql)
response.write"<script language=javascript>alert('商品《"&cname&"》已經成功添加到第"&ddh&"號訂單中!');location.href='bs_check.asp';</script>"
response.end
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -