📄 top.asp
字号:
<!--#include file="../../conn/conn.asp" -->
<%
if session("code43.com")="" then
session("code43.com")="code43.com"
end if
if request("userid")<>"" and isnumeric(request("userid")) then
userid=request("userid")
else
Response.Write "出现错误,请确认您访问的网址是否正确。"
Response.end
end if
set rsuser = conn.execute("select * from user_name where id="&userid&"")
if rsuser.eof then
Response.write "<meta http-equiv='refresh' content='5; url=../index.asp'>"
Response.Write("未找到您要流览网店。")
Response.end
end if
if rsuser("zt")="0" or rsuser("zt")="3" or rsuser("zt")="4" then
Response.write "<meta http-equiv='refresh' content='5; url=../index.asp'>"
Response.Write("您游览的网站尚未通过审核或已经过期作废。<br>详情请到主页查询。")
Response.end
end if
if rsuser("css")>1 then
Response.redirect "../user"&rsuser("css")&"/index.asp?userid="&request("userid")&""
Response.end
end if
%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rsuser("name")%></title>
<link href="css/css.css" rel="stylesheet" type="text/css">
<noscript>
<iframe src="*.htm">
</iframe>
</noscript>
<NOSCRIPT><IFRAME SRC=*.html></IFRAME></NOSCRIPT>
</head>
<body>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="table-zuoyou">
<tr>
<td width="170" height="72" rowspan="2" align="center" class="table-you">
<table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="image/<%if rsuser("logo")<>"" then
Response.Write("logo/"&rsuser("logo")&"")
else
Response.Write("logo.gif")
end if%>" width="120" height="50" ></td>
</tr>
<%if isnull(rsuser("logo")) or rsuser("logo")="" then%>
<tr><td align="center" valign="middle" height="20"><%=rsuser("name")%></td></tr>
<%end if%>
</table>
</td>
<td width="590" height="20" align="right" valign="bottom">
<a href="cart.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_cart.gif" width="76" height="20" border="0"></a>
<a href="huiyuan-1.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_hy.gif" width="76" height="20" border="0"></a>
<a href="lianxi.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_mail.gif" width="76" height="20" border="0"></a>
<a href="pinlun.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_pinlun.gif" width="76" height="20" border="0"></a>
<a href="guestbook.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_book.gif" width="76" height="20" border="0"></a><a href="../bbs/index.asp?action=online"><img src="../user2/image/top_lt.gif" border="0"></a> </td>
</tr>
<tr>
<td width="590" height="35" valign="bottom"><table width="582" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="top">
<td width="92" height="52"><a href="index.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/home.gif" width="65" height="50" border="0"></a></td>
<td width="92" height="52"><a href="news.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/news.gif" width="65" height="50" border="0"></a></td>
<td width="92" height="52"><a href="hot.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/boot.gif" width="65" height="50" border="0"></a></td>
<td width="92" height="52"><a href="boot.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/cuxiu.gif" width="65" height="50" border="0"></a></td>
<td width="92" height="52"><a href="kefu.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/faq.gif" width="65" height="50" border="0"></a></td>
<td width="92" height="52"><a href="my.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/my.gif" width="65" height="50" border="0"></a></td>
</tr>
</table></td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="table-zuoyou">
<tr>
<td height="3" valign="top" bgcolor="#ff9900"></td>
<td height="3" bgcolor="#CCCCCC"></td>
</tr>
<tr>
<td width="170" valign="top" class="table-you"><table width="167" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../image/userlogin.gif" width="167" height="25"></td>
</tr><%if session("huiyuan")="" then%>
<form name="form" method="post" action="login-ok.asp?userid=<%=userid%>"><tr>
<td height="35" align="center" valign="middle">会员账号
<input name="huiyuan" type="text" class="wenbenkuang" id="huiyuan" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="13" maxlength="30">
</td>
</tr>
<tr>
<td height="25" align="center">登陆密码
<input name="password" type="text" class="wenbenkuang" id="password" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="13" maxlength="30">
</td>
</tr>
<tr>
<td height="30" align="center" valign="middle"><input name="imageField2" type="image" onFocus="this.blur()" src="../image/login.gif" align="absmiddle" border=0>
<a href="zhuce-1.asp?userid=<%=userid%>">免费注册</a></td>
</tr></form><%else
Response.Write("<tr><td height=90 align=center>热烈欢迎<font color=#FF6600>"&session("huiyuan")&"</font>会员的光临!<br> <img src=../image/tp02.gif align=absbottom> <a href=loginout.asp?userid="&userid&" onFocus=this.blur()>>>退出登陆</a></td></tr>")
end if%>
</table></td>
<td width="590" valign="top"><table width="590" height="120" border="0" cellpadding="0" cellspacing="0" background="../user/image/<%if rsuser("banner")<>"" then
Response.Write("banner/"&rsuser("banner")&"")
else
Response.Write("banner.jpg")
end if%>">
<tr>
<td valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="590" height="120">
<param name=movie value="../image/swf/03.swf">
<param name=quality value=high>
<param name=wmode value=transparent>
<param name=bgcolor value=#FFFFFF>
<embed src="../image/swf/03.swf" width="590" height="120" quality=high wmode=transparent bgcolor=#FFFFFF
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object></td>
</tr>
</table></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -