
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#424242" height="5" id="table1"><tr><td></td></tr></table>
<table width="970" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="220" align="center"><a href="http://<%=weburl%>"><img src="<%=weblogo%>"  border="0"></a></td>
        <td width="190">　</td>
        <td align="right"><%if request.Cookies("bjx")("username")=""  then%>
<table border="0" width="100%" id="table1" cellpadding="3"><form name="userlogin" method="post" action="checkuserlogin.asp"><tr>
<td>用户名：</td><td><INPUT class=wenbenkuang name=username style="WIDTH: 70px;BORDER-RIGHT: 0px solid; BORDER-TOP: 0px solid; BORDER-LEFT: 0px solid; BORDER-BOTTOM: #999999 1px solid"></td>
<td>密码：</td><td><INPUT class=wenbenkuang type=password name=userpassword style="WIDTH: 70px;BORDER-RIGHT: 0px solid; BORDER-TOP: 0px solid; BORDER-LEFT: 0px solid; BORDER-BOTTOM: #999999 1px solid"></td>
<td> 
验证码：</td>
<td><input class=wenbenkuang name=verifycode type=text value="<%If GetCode=9999 Then Response.Write "9999"%>" maxLength=4 size=6 style="BORDER-RIGHT: 0px solid; BORDER-TOP: 0px solid; BORDER-LEFT: 0px solid; BORDER-BOTTOM: #999999 1px solid">&nbsp;<img src=Iheeo_GetCode.asp></td>
<td><INPUT name="image" type=image src="image/login.gif" border=0></td>
<td><a href="reg.asp"><img border="0" src="image/reg.gif"></a></td>
<td><a href="getpwd.asp">
<img border="0" src="image/findmi.gif"></a></td>
</tr></form></table>
<%else%>
<%
set rs_t=server.createobject("adodb.recordset")
rs_t.open "select jifen,yucun,reglx,vipdate from bjx_User where username='"&request.Cookies("bjx")("username")&"'",conn,1,3
if rs_t("vipdate")<>"" then 
'看是不是过期VIP
if rs_t("vipdate")<date and rs_t("reglx")=2 then
rs_t("reglx")=1
rs_t.update
end if
end if
response.Cookies("bjx")("yucun")=rs_t("yucun")
response.Cookies("bjx")("jifen")=rs_t("jifen")
response.Cookies("bjx")("reglx=")=rs_t("reglx")
rs_t.close
set rs_t=nothing
if request.Cookies("bjx")("reglx")="2" then
response.write ""&request.Cookies("bjx")("username")&" 贵宾您好！您目前有"&request.Cookies("bjx")("jifen")&"积分 预存款"&request.Cookies("bjx")("yucun")&"元 "
else
response.write ""&request.Cookies("bjx")("username")&" 您好！您目前有"&request.Cookies("bjx")("jifen")&"积分 预存款"&request.Cookies("bjx")("yucun")&"元 "
end if
response.write "&nbsp;<a href=user.asp><font color=red>进入会员中心</font></a>【<a href=buy.asp?action=show&lx=1>购物车</a>】"
response.write "&nbsp;&nbsp;<a href=logout.asp>注销退出</a>"
%><%end if%></td>
      </tr>
    </table></td>
  </tr>
</table>
	<table width="970" border="0" cellspacing="0" cellpadding="0" bgcolor="#E6E6E6" height="3" align="center"><tr><td></td></tr></table>
	<table width="100" height="5" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
	
	<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" bgcolor="#FFFFFF"><table width="966" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="26"><img src="images/menul.jpg" width="15" height="26"></td>
		
        <td align="center" background="images/menubg.jpg" class="12whiteb"> <a href="index.asp" class="bai">商品首页</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="bai">|</a>&nbsp;&nbsp;&nbsp; &nbsp;<a href="class.asp" class="bai">产品分类</a>&nbsp; &nbsp;&nbsp;&nbsp;<a href="#" class="bai">|</a>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<a href="Class_view.asp?lx=tejia" class="bai">特价商品</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="bai">|</a>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<a href="zhuanti.asp" class="bai">商品专题</a>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<a href="#" class="bai">|</a>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<a href="user.asp" class="bai">我的账户</a>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<a href="# " class="bai">|</a>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<a href="help.asp?action=fukuan" class="bai">支付方式</a>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;|</a>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<a href="help.asp" class="bai">客服帮助</a>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<a href="#" class="bai">|</a>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<a href="link.asp" class="bai">友情链接</a>&nbsp;&nbsp;</td>
        <td width="15"><img src="images/menur.jpg" width="15" height="26"></td>
      </tr>
    </table></td>
  </tr>
</table>
	
<table width="100" height="5" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<table width="970" border="0" cellpadding="0" height="5" align="center">
  <tr>
<td><img border="0" width="965" src="<%=webbanner%>"></td></tr></table>
<table width="100" height="5" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<table width="970" border="0" cellpadding="0" cellspacing="0" bgcolor="#EBEAEA" align="center">
  <tr>
<td width="80" height="30" align="center">本站公告：</td>
<td width="887"><MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=3 behavior=alternate width="870"><%=gonggao%></marquee></td></tr></table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="3" id="table1"><tr><td></td></tr></table>
