<%if request.cookies("bjx")("shjianame")<>"" then%>

<head>
<style type="text/css">
<!--
.unnamed1 {
	color: #000000;
}
-->
</style>

</head>

<font color=#000000>尊敬的商家您好,欢迎您管理您的网站！</font>
<font color="#000000">   
<%elseif request.Cookies("bjx")("username")="" and request.cookies("bjx")("shjianame")="" then%>
 亲爱的顾客您好,购买产品请先 [<a href="../login.asp">登录</a>] [<a href="../reg.asp">注册</a>] </font> 
<font color="#000000" class="unnamed1">
<%else
set rs=server.createobject("adodb.recordset")
rs.open "select jifen,yucun,reglx,vipdate from [user] where username='"&request.Cookies("bjx")("username")&"'",conn,1,3
if rs("vipdate")<>"" then 
'看是不是过期VIP
if rs("vipdate")<date and rs("reglx")=2 then
rs("reglx")=1
rs.update
end if
end if
response.Cookies("bjx")("yucun")=rs("yucun")
response.Cookies("bjx")("jifen")=rs("jifen")
response.Cookies("bjx")("reglx=")=rs("reglx")
rs.close
set rs=nothing
if request.Cookies("bjx")("reglx")=2 then
response.write "<font color=#000000>"&request.Cookies("bjx")("username")&" 贵宾您好,您目前有"&request.Cookies("bjx")("jifen")&"积分,预存款"&request.Cookies("bjx")("yucun")&"元 </font>"
else
response.write "<font color=#000000>"&request.Cookies("bjx")("username")&" 您好,您目前有"&request.Cookies("bjx")("jifen")&"积分,预存款"&request.Cookies("bjx")("yucun")&"元 </font>"
end if
end if
%>
</font>