cp.asp
来自「一个完全仿照阿里巴巴的网站管理系统 本软件没有版权问题」· ASP 代码 · 共 73 行
ASP
73 行
<!--#include file="main.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=citytitle%></title>
<body topmargin="0">
<%SMT_TOP%>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center" style="border-bottom:1px #666666 solid">
<tr>
<td valign="top">
<!--==================-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr>
<td height=25 bgcolor=#efefef style="border-bottom:1px #cccccc solid"> 产品分类</td>
</tr>
<tr><td height=5></td></tr>
<tr>
<td>
<!---->
<table width="96%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr><td height=10></td></tr>
<tr>
<%set rs=server.createobject("adodb.recordset")
sql="select * from SMT_ypxxone order by SMT_date desc"
rs.open sql,conn,1,1
n=0
nn=rs.recordcount
do while not rs.eof
n=n+1
set rs1=server.createobject("adodb.recordset")
sql1="select * from SMT_cp where SMT_key=1 and SMT_key1=1 and SMT_key2=1 and SMT_ypxxone_id="&rs("SMT_ypxxone_id")
rs1.open sql1,conn,1,1
onecount=rs1.recordcount
rs1.close%>
<td height=30 width=200 valign=top><img src="img/index_aro4.gif"> <a href=cp_list.asp?id=<%=rs("SMT_ypxxone_id")%>><font class=f14><%=rs("SMT_ypxxone")%></font></a> (<%=onecount%>)<br></td>
<%if n mod 3<>0 then response.write("<td width=10></td>")
if n mod 3=0 and nn<>n then response.write("</tr><tr>")
rs.movenext
loop
rs.close%>
</tr>
</table>
<!---->
</td>
</tr>
</table>
<!--==================-->
</td>
</tr>
</table>
<!--##############################################################-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center" style="border-top:1px #cccccc solid">
<tr>
<td valign="top">
<!--==================-->
<%Call SMT_Cp_View(0,20,2,20,3,0,1,80,0,0,0,0,0,100,1,2,0,0,0,"cp.asp")%>
<!--==================-->
</td>
</tr>
</table>
<!--====== bottom ========-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor=#ffffff>
<tr><td height=2 bgcolor=#4795EC></td></tr>
<tr>
<td align="center" height=80><%=citybottom%></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?