📄 pingpai2.asp
字号:
<!--#include file=byshop_conn.asp-->
<!--#include file=webhead.asp-->
<%
nclassid=lcase(trim(request("nclassid")))
if IsNumeric(request.QueryString("nclassid"))=False or request.QueryString("nclassid")="" then
response.write"<SCRIPT language=JavaScript>alert('参数错误!');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from nclass where nclassid="&nclassid,conn,1,1
if rs.bof and rs.eof then
response.write"<SCRIPT language=JavaScript>alert('参数错误!');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
else
pinlunid=rs("nclassid")
titlename=rs("nclass")
end if
%>
<title>品牌展示-<%=rs("nclass")%>-<%=webname%></title>
<div align="center">
<table border="0" width="784" cellspacing="0" cellpadding="0">
<tr>
<td>您的位置:<a href="default.asp">网站首页</a> >
<a href="pingpai.asp">品牌展示</a> >
<% set rss=server.CreateObject("adodb.recordset")
rss.open "select * from anclass where anclassid="&rs("anclassid"),conn,1
response.write rss("anclass")
rss.close
set rss=nothing
%> > <%=rs("nclass")%></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" width="784" cellspacing="0" cellpadding="0">
<tr>
<td width="175" bgcolor="#F1F9FC" align="center" valign="top">
<img border="0" src="<%=rs("nclasspic")%>" width="50" height="50"></td>
<td valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#F5F5F5" width=50%>
<p align="right"> <font color="#FF0000"><%=rs("nclass")%></font></td>
<td bgcolor="#F5F5F5">
<p align="right">
<img border="0" src="images/rightarr.gif" width="15" height="14">品牌历史</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="560" align="center" border="0">
<tr>
<td style="font-size: 12px">
<%=rs("content")%></td>
</tr>
</table>
<table border="0" width="100%">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table border="0" width="100%" >
<tr>
<td><div align=right>
<a href="javascript:history.back(-1)">返回上一页</a> <%
sql1="select nclassid,nclass from nclass where anclassid="&rs("anclassid")&" order by nclassidorder"
Set rs1= Server.CreateObject("ADODB.Recordset")
rs1.open sql1,conn,1,1
do while not rs1.eof
if rs1("nclassid") = rs("nclassid") then
exit do
end if
rs1.movenext
loop
%>
<%rs1.moveprevious%>
<%if rs1.bof then
response.write "<img border='0' src='images/Cprevious.gif' width='13' height='9'>上一篇:没有上一个品牌了"
else
%>
<img border="0" src="images/Cprevious.gif" width="13" height="9">上一品牌:<a href="pingpai2.asp?nclassid=<%=rs1("nclassid")%>"><%=rs1("nclass")%></a>
<%
end if
%>
<%
rs1.movenext
rs1.movenext
if rs1.eof then
response.write "<img border='0' src='images/Cnext.gif' width='13' height='9'>下一篇:没有下一个品牌了"
else
%><img border="0" src="images/Cnext.gif" width="13" height="9">下一
品牌:<a href="pingpai2.asp?nclassid=<%=rs1("nclassid")%>"><%=rs1("nclass")%></a>
<%end if%>
<table border="0" width="100%">
<tr>
<td><%
classid=4
%> <!--#include file=pinlun.asp--> </td>
</tr>
</table>
</div></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<br>
<%rs.close
set rs=nithing%><!--#include file=webfoot.asp-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -