📄 shop.asp
字号:
<%
if request.cookies("buyok_user_ip")="" then
response.write "<script language='javascript'>"
response.write "alert('对不起,您的电脑没有开启COOKIES,您无法保存购物信息。\n\n请设置您的IE开启COOKIES后再打开本页。');"
response.write "location.href='javascript: window.close()';"
response.write "</script>"
response.end
end if
buylist = request.cookies("buyok")("cart")
buyid = Request("Prodid")
if buylist="" and buyid="" then
response.redirect "../shop_error.asp?error=007"
response.end
end if
If Len(buylist) = 0 Then
buylist = "'" & buyid & "', '1'"
ElseIf InStr( buylist, buyid ) <= 0 Then
buylist = buylist & ", '" & buyid & "', '1'"
End If
response.cookies("buyok")("cart") = buylist
response.redirect "check.asp"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -