<!--#include file="../inc/conn2.asp"-->

<%
dim shopxpptid,username,action
action=request.QueryString("action")
username=session("user_xxx_name")
shopxpptid=request.QueryString("gid")

'//收藏，判断是否存在
set rs=server.CreateObject("adodb.recordset")
rs.open "select username,shopxpptid from shopxp_action where username='"&username&"' and shopxpptid="&shopxpptid&" and zhuangtai=8",conn,1,1
if not rs.eof and not rs.bof then

conn.execute("delete from shopxp_action where username='"&username&"' and shopxpptid="&shopxpptid&" and zhuangtai=8")

end if
rs.close
set rs=nothing
%>