📄 top_login.asp
字号:
<table width="168" height="136" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" background="images/pic_005.gif">
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<%if request.cookies("snsn")("username")="" then%>
<font color="#FF0000">
<%if login=0 then%>
</font> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td width="100%"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> <table border="0" cellpadding="0" cellspacing="0" width="100%">
<form name="LoginForm" method="post" action="../Chklogin.asp">
<tr>
<td align=center></td>
</tr>
<tr>
<td width="100%" align="center" height="10"></td>
</tr>
<tr>
<td width=100% height="25" align=center><font color="#FF0000">尊敬的各位用户您好</font></td>
</tr>
<tr>
<td width=100% height="25" align=center><p><font color="#FF0000">网站目前正在维护中</font></p></td>
</tr>
<tr>
<td width=100% height="25" align=center valign="bottom"><font color="#FF0000">日前暂时禁止用户登录</font></td>
</tr>
</form>
</table></table></td>
</tr>
</table></td>
</tr>
</table>
<%else%>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td width="100%"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> <table border="0" cellpadding="0" cellspacing="0" width="100%">
<form name="userlogin" method="post" action="checkuserlogin.asp">
<tr>
<td align=center></td>
</tr>
<tr>
<td width="100%" align="center" height="10"></td>
</tr>
<tr>
<td width=100% height="25" align=center>用户:
<input name="username" class="wenbenkuang" id="username" size=12 ></td>
</tr>
<tr>
<td width=100% height="25" align=center>密码:
<input name="userpassword" type=password class="wenbenkuang" id="userpassword" size=12 ></td>
</tr>
<tr>
<td width=100% height="25" align=center valign="bottom">
<input name="B3" type="image" value="按钮" src="images/pic_006.gif" width="45" height="21"><a href="Reg.asp"><img src="images/pic_007.gif" alt="注册新用户" width="45" height="21" border=0></a><a href="getpwd.asp"><img src="images/pic_002.gif" alt="注册新用户" width="45" height="21" border=0></a>
</td>
</tr>
</form>
</table></table></td>
</tr>
</table></td>
</tr>
</table>
<%end if%>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><IMG height=20 src="images/block.gif" width=1></td>
</tr>
</table> <font color="#FF0000"> 亲爱的<%=Request.Cookies("snsn")("username")%>,欢迎您
</font>
<%
if request.cookies("snsn")("username")<>"" then
set rs=server.CreateObject("adodb.recordset")
rs.open "select count(*) as rec_count from shop_action where username='"&request.cookies("snsn")("username")&"' and zhuangtai=7",conn,1,1
rec_count=rs("rec_count")
rs.close
rs.open "select sum(zonger) as zongji from shop_action where username='"&request.cookies("snsn")("username")&"' and zhuangtai=7",conn,1,1
else
set rs=server.CreateObject("adodb.recordset")
rs.open "select count(*) as rec_count from shop_action where username='"&session("tmp_usersessionid")&"' and zhuangtai=7",conn,1,1
rec_count=rs("rec_count")
rs.close
rs.open "select sum(zonger) as zongji from shop_action where username='"&session("tmp_usersessionid")&"' and zhuangtai=7",conn,1,1
end if
%>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td width="100%"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><font color="<%=tq%>"> 您的购物车有: <%=rec_count%>种商品</font></td>
</tr>
<tr>
<td> <font color="<%=tq%>">总计价格¥:<%=rs("zongji")%>元
</font> </td>
</tr>
<tr>
<td> <a href="gouwu.asp?action=show&lx=1">查看购物车</a>
- <a href="user.asp?action=dindan">查询订单</a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%End IF%>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -