📄 top.asp
字号:
<!--#include file="conn.asp"--><!--#include file="config.asp"--><html><head>
<%set rs=server.createobject("adodb.recordset")
if Request("hw_id")<>"" then
hw_id=Request("hw_id")
sql="select * from hw where hw_id="&hw_id&""
rs.open sql,conn,1,1
if not rs.eof then
titlename=rs("hw_name")
end if
rs.close
end if%><title><%if titlename<>"" then%><%=titlename%> - <%end if%><%=rs7("sitename")%></title>
<meta name="Keywords" content="<%if titlename<>"" then%><%=titlename%>,<%end if%><%=rs7("sitename")%>">
<meta name="Description" content="<%if titlename<>"" then%><%=titlename%>,<%end if%><%=rs7("sitename")%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<link rel="stylesheet" type="text/css" href="inc/css.css"></head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<div align="center"><table border="0" width="980" cellspacing="0" cellpadding="0">
<tr><td bgcolor="#ECECF4" height="5" colspan="4"></td></tr>
<tr><td width="300" rowspan="2"><img border="0" src="<%=rs7("logo")%>"></td><td align="right" height="35" colspan="3"><p style="margin-right: 1px">
<%if Request.Cookies("venshop")("user_name")<>"" then%><img border="0" src="img/topl1.gif" width="15" height="15" align=absMiddle> <a href="modify.asp">用户管理</a>
<img border="0" src="img/topl2.gif" width="15" height="15" align=absMiddle> <a href="quit.asp">退出</a>
<%else%><img border="0" src="img/topl1.gif" width="15" height="15" align=absMiddle> <a href="Reg.asp">用户注册</a>
<img border="0" src="img/topl2.gif" width="15" height="15" align=absMiddle> <a href="login.asp">登录</a>
<%end if%><img border="0" src="img/topl6.gif" width="15" height="15" align=absMiddle> <a href="buy.asp">购物车</a>
<img border="0" src="img/topl3.gif" width="15" height="15" align=absMiddle> <a href="orders.asp">我的订单</a>
<img border="0" src="img/topl4.gif" width="15" height="15" align=absMiddle> <a href="help/help.htm">帮助中心</a>
<img border="0" src="img/topl5.gif" width="15" height="15" align=absMiddle> <a href="#" onclick="javascript:window.open('guest.asp','newwindow','toolbar=no,scrollbars=yes,resizable=no,top=0,left=0,width=420,height=180');">客户反馈</a>
</td></tr>
<tr><td align="right" valign="bottom" width="150"><img border="0" src="img/tel.gif"></td><td align="right" valign="bottom" width="10"></td><td width="400"><b>客服热线:<font style="font-size:12pt; font-family:Arial;color:ff0000;"><%=rs7("tel")%></font></b></td></tr>
<tr><td bgcolor="#ECECF4" colspan="4">
<table border="0" cellspacing="0" cellpadding="0" height="24"><tr><td width="120" align="center" height="24"></td>
<%if Request("sort_id")="" or Request("sort_id")="0" then%><td width="79" background="img/toplanf.gif" align="center" height="24"><b><a href="index.htm"><font color="#FFFFFF">网站首页</font></a></b></td>
<%else%><td width="79" background="img/toplanb.gif" align="center" height="24"><a href="index.htm">网站首页</a></td>
<%end if%><td width="3" align="center" height="24"></td>
<%sql="select * from sort order by sort_xu desc"
rs.open sql,conn,1,1
do while not rs.eof
if Request("sort_id")<>"0" and int(Request("sort_id"))=rs("sort_id") then
topsortid=int(request("sort_id"))
%><td width="79" background="img/toplanf.gif" align="center" height="24"><a href="product/sort<%=rs("sort_id")%>-1.htm">
<%=rs("sort_name")%></a></td>
<td width="3" align="center" height="24"></td><%else%><td width="79" background="img/toplanb.gif" align="center" height="24">
<a href="product/sort<%=rs("sort_id")%>-1.htm"><%=rs("sort_name")%></a></td>
<td width="3" align="center" height="24"></td><%end if%>
<%rs.movenext
loop
rs.close%>
</tr></table></td></tr>
<tr><td bgcolor="#3180BE" height="30" colspan="4"><p style="margin-left: 100px"><font color="#FFFFFF">请选择分类:</font>
<%If topsortid="" or not isNumeric(topsortid) Then
sql="select top 10 * from nsort order by nsort_id desc"
else
sql="select * from nsort where sort_id="&topsortid&" order by nsort_id desc"
end if
rs.open sql,conn,1,1
if rs.bof and rs.eof then
nsort="此类别下没有分类"
else
do while not rs.eof%><a href="product/nsort<%=rs("nsort_id")%>-1.htm"><u><font color="#FFFFFF"><%=rs("Nsort_name")%></font></u></a> <%rs.movenext
loop
end if
rs.close%></td></tr>
<tr><td bgcolor="#ECECF4" align="center" height="30" colspan="4">
<table border="0" cellpadding="5" cellspacing="0"><form method="POST" action="search.asp?action=search">
<tr><td width="120"><script language="JavaScript1.1" src="html/time.asp"></script></td><td align="center"><img border="0" src="img/search1.gif"></td>
<td align="center"><%rs.open "select * from sort order by sort_id DESC",conn,1,1%><select name="sort_id"><option value="0">查讯所有分类</option>
<%do while not rs.eof%><option value="<%=rs("sort_id")%>"<%if request("sort_id")<>"0" and int(request("sort_id"))=rs("sort_id") then%> selected<%end if%>><%=rs("sort_name")%></option>
<%rs.movenext
loop
rs.close%></select></td>
<td align="center"><input type="text" name="hw_name" size="25" class=input></td>
<td align="center"><input type="image" border="0" name="imageField" src="img/search2.gif"></td>
<td align="center"><a href="search.asp">高级/组合搜索</a></td>
<td align="center" width="10"></td>
<td align="center" width="60"><a href="product/tejia-1.htm"><img border="0" src="img/ttejia.gif" width="50" height="13"></a></td>
<td align="center" width="60"><a href="product/tuijian-1.htm"><img border="0" src="img/ttuijian.gif" width="50" height="13"></a></td>
<td align="center" width="60"><a href="product/hot-1.htm"><img border="0" src="img/tremai.gif" width="50" height="13"></a></td>
<td align="center" width="60"><a href="product/new-1.htm"><img border="0" src="img/tzuixin.gif" width="50" height="13"></a></td>
</tr></form></table></td></tr><tr><td align="center" height="3" colspan="3"></td></tr></table></div><script src="admin/tj_ven.asp"></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -