www.gusucode.com > 运动用品商城网站系统源代码程序 > IncAsp/venshop_log.asp
<%if Request.Cookies("venshop")("user_type")="" then zhekou=100 usertype_name="未登录用户" zhekouyu="不享受折扣价" else user_type=Request.Cookies("venshop")("user_type") set rs=server.createobject("adodb.recordset") sql="select * from venshop_usertype where usertype_id="&user_type&"" rs.open sql,conn,1,1 if rs.eof then zhekou=100 usertype_name="一般用户" zhekouyu="不享受折扣价" else zhekou=rs("usertype_zhekou") usertype_name=rs("usertype_name") zhekouyu="享受原价"&zhekou&"%的折扣价" end if rs.close set rs=nothing end if%> <table cellSpacing="0" cellPadding="0" border="0" class="log_la"> <tr><td class="log_la1"> <p align="center"><span class="log_laf">会员登陆 | USER LOGIN</span></td></tr> <tr><td class="log_la2"> <p style="line-height: 150%"><%if Request.Cookies("venshop")("user_name")<>"" then user_name=Request.Cookies("venshop")("user_name")%> <a href="userinfo.asp">欢迎<%=user_name%></a> [<a href="login.asp?action=quit">退出</a>]<br> <a href="modify.asp">用户资料修改</a><br> <a href="changepass.asp">用户密码修改</a><br> <a href="orders.asp">订单管理</a><br> <a href="caigou.asp">缺货登记</a> <a href="caigoudan.asp">登记记录</a><br> <a href="buy.asp">购物车(<%=Conn.Execute("Select count(*) from venshop_basket where user_name='"&user_name&"' and basket_check=0")(0)%>)</a><br> <a href="buyj.asp">积分换取礼品(<%=Conn.Execute("Select count(*) from venshop_jf where user_name='"&user_name&"' and basket_check=0")(0)%>)</a><br> <a href="fav.asp">我的收藏(<%=GetFav(user_name)%>)</a><br> <%elseif Request.Cookies("venshop")("guest")<>"" then user_name=Request.Cookies("venshop")("guest")%><table border="0" id="table1" > <tr> <td><form method="POST" name="form1" action="login.asp?action=login"> <input name="comurl" type="hidden" value="<%=comurl%>"> <tr><td align="center"> <form method="POST" name="form1" action="login.asp?action=login"> <input name="comurl" type="hidden" value="<%=comurl%>"> <tr><td align="center"> <table border="0" cellpadding="0" cellspacing="0" id="table2" width="101%"> <tr> <td class="fanse" height="30" width="100%"> 用户名:<input name="user_name" type="text" class=input style="FONT-SIZE: 12px; WIDTH: 110px"></td> </tr> <tr> <td class="fanse" height="30" width="100%"> 密 码:<input style="FONT-SIZE: 12px" type="password" name="user_pass" class=input size="12" style="FONT-SIZE: 12px; WIDTH: 110px"></td> </tr> </table> <input type=image src="Skin/<%=venshop_skin%>/login.jpg" name="login" width="60" height="22"> <a href="reg.asp"> <img border="0" src="Skin/<%=venshop_skin%>/reg.jpg" width="60" height="22"></a></td></tr> </tr></form></td></tr> </tr></form></td> </tr> </table> <a href="buy.asp">购物车(<%=Conn.Execute("Select count(*) from venshop_basket where user_name='"&user_name&"' and basket_check=0")(0)%>)</a> <%else%> </p> <table border="0" width="100%" id="table1"> <tr> <td><form method="POST" name="form1" action="login.asp?action=login"> <input name="comurl" type="hidden" value="<%=comurl%>"> <tr><td align="center" height="91"> <table border="0" cellpadding="0" cellspacing="0" id="table2" width="101%"> <tr> <td class="fanse" height="30" width="95%"> 用户名:<input name="user_name" type="text" class=input style="FONT-SIZE: 12px; WIDTH: 110px"></td> </tr> <tr> <td class="fanse" height="30" width="95%"> 密 码:<input style="FONT-SIZE: 12px" type="password" name="user_pass" class=input size="12" style="FONT-SIZE: 12px; WIDTH: 110px"></td> </tr> </table> <input type=image src="Skin/<%=venshop_skin%>/login.jpg" name="login" width="60" height="22"> <a href="reg.asp"> <img border="0" src="Skin/<%=venshop_skin%>/reg.jpg" width="60" height="22"></a></td></tr> </tr></form></td> </tr> </table> <a href="buy.asp">购物车(0)</a><%end if%> <%comid=split(request.Cookies("venshop")("com"),"/")%> <a href="com.asp">对比框(<%=ubound(comid)+1%>)</a></p> </p><!--#include file="../cnt.asp"--></td></tr> <tr><td class="log_la3"></td></tr></table>