<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<%qx=4%>
<!--#include file="check.asp"-->
<!--#include file="../include/conn.asp"-->
<%
id=shopnet("id")
page=shopnet("page")
Select case Request("x")
   case "a"
        jg=Request("jg")
		if jg=1 then
		jg=0
		else
		jg=1
		end if
		conn.execute("Update cart set jg ="&jg&" where id="&id&"")
		Response.redirect "ddindex.asp?page="&page&""
   case "b"
        zt=Request("zt")
		if zt=1 then
		zt=0
		else
		zt=1
		end if
		conn.execute("Update cart set zt ="&zt&" where id="&id&"")
		Response.redirect "ddindex.asp?page="&page&""
End Select
conn.close
set conn=nothing
 %>
