📄 class.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="fuction.asp"-->
<!--#include file="webtop.asp"-->
<html>
<head>
<title><%=webname%>--<%leixing=lcase(trim(request("lx")))
select case leixing
case "big"
response.write "大类商品"
case "small"
response.write "小类商品"
case "tejia"
response.write "特价商品"
case "news"
response.write "新品上架"
case else
response.write "新品上架"
end select%>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="159"><!--#include file="top_login.asp"--></td>
<td width="23" align="left" valign="top"><a href="about.asp?action=lxwm"><img src="images/pic_004.gif" width="23" height="136" border="0"></a></td>
<td width="582" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><img src="images/adad.jpg" width="396" height="136"> </td>
<td width="22" align="center" valign="top"><img src="images/pic_003.gif" width="23" height="136" border="0"> </td>
<td width="168" align="center">
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_text order by linkidorder",conn,1,1
dim i
i=rs.recordcount%>
<table width="155" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<%if rs.eof and rs.bof then
response.write "还没有数据,请添加!"
else
do while not rs.eof%>
<tr>
<td height="20"><img src="images/top4.gif" width="12" height="13"> <a href="<%=trim(rs("link"))%>" <%if rs("tc")=1 then%>target="_blank"
<%else%>
<%end if%>> <font color="<%=trim(rs("textys"))%>"><%=trim(rs("text"))%></font></a></td>
</tr>
<%rs.movenext
loop
end if
rs.close
set rs=nothing%>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC"><img height=1 src="images/block.gif" width=1></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="167" valign="top"><!--#include file="left.asp"--></td>
<td width="1" bgcolor="C9C9C8"><img src="images/block.gif" width="1" height="1"></td>
<td width="608" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="images/bg1_4color_.jpg"><img src=images/bg1_4color_.jpg" width="1" height="3"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="4" align="center">
<tr>
<td colspan="4">
<table width="100%" border="0" cellspacing="0" cellpadding="4" align="center">
<%leixing=lcase(trim(request("lx")))
select case leixing
case "big"
anclassid=request("anid")
if Not isChkInteger(anclassid) then
%>
<script language=javascript>
alert("参数错误!");
window.close();
</script>
<%
response.end
end if
set rs=server.createobject("adodb.recordset")
rs.open "select * from shop_anclass where anclassid="&anclassid,conn,1,1
if rs.recordcount=0 then
%>
<script language='javascript'>alert('分类调用错误,请返回!');window.location.href='index.asp';</script>
<%
end if
anclassname=rs("anclass")
pic=trim(rs("pic"))
links=trim(rs("links"))
sztys=trim(rs("sztys"))
flsl=trim(rs("spdlh"))
fll=trim(rs("spdll"))
rs.close
%>
<tr>
<td height="15" colspan="4">
<%if pic<>"" then%>
<a href="<%=links%>"><img src=<%=pic%> border="0"></a>
<%else%>
<%end if%>
</td>
</tr>
<tr>
<td height="15" colspan="4">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="1" bgcolor="#cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
<tr>
<td height="25" bgcolor="efefef"> <strong> <img src="images/dot_03.gif" width="9" height="9" border="0"> 商品分类:【<a href=class.asp?lx=big&anid=<%=anclassid%>><font color="<%=sztys%>"><%=anclassname%></font></a>】</strong></td>
</tr>
<tr>
<td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
</table></td>
</tr>
<%
case "small"
anclassid=request("anid")
nclassid=request("nid")
if Not isChkInteger(anclassid) then
%>
<script language=javascript>
alert("参数错误!");
window.close();
</script>
<%
response.end
end if
set rs=server.createobject("adodb.recordset")
rs.open "select * from shop_anclass where anclassid="&anclassid,conn,1,1
anclassname=rs("anclass")
sztys=trim(rs("sztys"))
rs.close
%>
<%
if Not isChkInteger(nclassid) then
%>
<script language=javascript>
alert("参数错误!");
window.close();
</script>
<%
response.end
end if
%>
<%
rs.open "select * from shop_nclass where nclassid="&nclassid,conn,1,1
if rs.recordcount=0 then
%>
<script language='javascript'>alert('分类调用错误,请返回!');window.location.href='index.asp';</script>
<%
end if
nclassname=rs("nclass")
piccc=trim(rs("piccc"))
links=trim(rs("links"))
xsztys=trim(rs("xsztys"))
flsl=trim(rs("spxlh"))
fll=trim(rs("spxll"))
rs.close
%>
<tr>
<td height="15" colspan="4">
<%if piccc<>"" then%>
<a href="<%=links%>"><img src=<%=piccc%> border="0"></a>
<%else%>
<%end if%>
</td>
</tr>
<tr>
<td height="15" colspan="4">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="1" bgcolor="#cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
<tr>
<td height="25" bgcolor="#efefef"> <strong> <img src="images/dot_03.gif" width="9" height="9" border="0"> </strong><strong>商品分类</strong>:【<a href=class.asp?lx=big&anid=<%=anclassid%>><font color="<%=sztys%>"><%=anclassname%></font></a>】 【<a href=class.asp?lx=small&anid=<%=anclassid%>&nid=<%=nclassid%>><font color="<%=xsztys%>"><%=nclassname%></font></a>】 </td>
</tr>
<tr>
<td height="1" bgcolor="#cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
</table></td>
</tr>
<%
case "tejia"
%>
<tr>
<td height="15" colspan="4">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="1" bgcolor="#cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
<tr>
<td height="25" bgcolor="efefef"> <strong> <img src="images/dot_03.gif" width="9" height="9" border="0"> </strong><strong>特价商品</strong></td>
</tr>
<tr>
<td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
</table></td>
</tr>
<%
case "cx"
%>
<tr>
<td height="15" colspan="4"><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="1" bgcolor="#cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -