<!--#include file="conn.asp" -->
<link href="images/ucss.css" rel="stylesheet" type="text/css">
<body bgcolor="f7f7f7">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><table width="100%"border="0" cellspacing="0" cellpadding="0" align="center">
<%if session("username")="" and session("shjianame")="" then%>
<form name="fkinfo" method="post" action="checkuserlogin.asp" target="_self">
<tr>
<td colspan="2"><table width="100%"border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" style="padding-right:5px"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td>用户名</td>
<td><input name="username" type="text" class="wenbenkuang" id="username" size="12"></td>
<td>密&nbsp;&nbsp;码</td>
<td><input name="userpassword" type="password" class="wenbenkuang" id="userpassword" size="12"></td>
<td>验证码</td>
<td><input name="verifycode" type=text class="wenbenkuang" value="<%If GetCode=9999 Then Response.Write "9999"%>" size="8"></td>
<td><img src=../GetCode.asp /></td>
<td><input name="image" class="go-wenbenkuang" type="submit" value="会员登录"/></td>
<td><a href="http://it532.cn/bigqd/reg.asp" target="_blank">会员注册</a></td>
<td><a href="http://it532.cn/bigqd/reg_shang.asp" target="_blank">商家注册</a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</form>
</table><table width="100%"border="0" cellspacing="0" cellpadding="0">
<%else%>
<tr>
<td align="right" style="padding:3px">
<%if session("username")<>"" then
set rs=server.createobject("adodb.recordset")
rs.open "select * from [user] where username='"&session("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
yucun=rs("yucun")
jifen=rs("jifen")
reglx=rs("reglx")
rs.close
set rs=nothing
if reglx=2 then
response.write "<font color=#ED230D>"&session("username")&" 贵宾您好,您目前有"&jifen&"商币,预存款"&yucun&"元 </font><a href=index.asp style='text-decoration: none'><b>进入个人专区</b></a>"
else
response.write "<font color=#ED230D>"&session("username")&" 您好,您目前有"&jifen&"商币,预存款"&yucun&"元 </font><a href=index.asp style='text-decoration: none'><b>进入个人专区</b></a>"
end if
else
response.Write"<font color=blue>亲爱的商家<font color=red>"&session("shjianame")&"</font>欢迎您登陆！</font>"
end if%><a href="logout.asp" style='text-decoration: none' target="_top"><b> 退出</b></a></td></tr><%end if%></table></td></tr></table>
</body>