<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<?xml version="1.0" encoding="gb2312"?>
<!-- Edited with XML Spy v4.2 --><CATALOG>
<say>
<!--#include file="../include/conn.asp"-->
<%if Request.Cookies(Rikee)("huiyuan")<>"" and Request.Cookies(Rikee)("hypwd")<>"" then

set rs = conn.execute("select zt from huiyuan where huiyuan='"&Request.Cookies(Rikee)("huiyuan")&"' and password='"&(Request.Cookies(Rikee)("hypwd"))&"'")
if rs.eof then
Response.Cookies(Rikee)("huiyuan")=""
Response.Cookies(Rikee)("hypwd")=""
Response.Write "<user>0</user>"
else
dx=conn.execute("select count(id) from duanxin where name1='"&Request.Cookies(Rikee)("huiyuan")&"' and zt=0")(0)
if dx=0 then
Response.Write "<user>0</user>"
else
Response.Write "<user>"&dx&"</user>"
end if
end if

else
Response.Write "<user>0</user>"
end if
conn.close:set conn=nothing%>
</say>
</CATALOG>
