📄 product.asp
字号:
<%@ ENABLESESSIONSTATE = FALSE %>
<!--//#include file="top.asp"-->
<!--#include file="char.asp"-->
<html>
<head>
<title>产品展示</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="sys.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="200" valign="top" bgcolor=#000000>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="127">
<tr>
<td width="100%" height="125"> <div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="15%"> <div align="left"></div></td>
<td width="84%" height="40"><a href="product.asp"><font color="#FF9900">成功案例</font></a></td>
</tr>
</table>
<%
sql = "SELECT * FROM type ORDER BY typeid ASC"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.OPEN sql,Conn,0,1
if rs.eof and rs.bof then
Response.Write"还没有分类"
else
do while not rs.eof %>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#FF9900">
<td height="1" colspan="2"></td>
</tr>
<tr>
<td width="15%"> <div align="left"><br>
</div></td>
<td width="87%" height="40"><a href='type.asp?typeid=<%=rs("id")%>&classview=<%=rs("classview")%>&width=<%=rs("classbig")%>&type_name=<%=rs("name")%>'><font color="#FF9900"><%=rs("name")%></font></a></td>
</tr>
</table>
<%
rs.movenext
loop
end if
rs.close
Set rs=Nothing
%>
</div></td>
</tr>
<tr>
<td height="1" bgcolor="#FF9900"></td>
</tr>
</table> </td>
<td valign="top" bgcolor="#FF9900">
<table width="98%" border='0' align="center" cellpadding='0' cellspacing='0'>
<tr align='left'>
<td> <%
Dim ipagecount
sql = "SELECT * FROM produce ORDER BY listid ASC,id desc"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
ipagecount = rs.pagecount
if ipagecount=0 then
Response.Write"<tr><td align='center'>暂时没有发布作品展示</td></tr>"
else
Response.Write"<table><tr><td>您当前的位置:<a href='"&homeurl&"'>"&title&"<a> - <a href='product.asp'>"&desktoptitle&"</a> - <a>"&type_name&"</a></td></tr></table>"
do while NOT rs.EOF%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="2" colspan="2" bgcolor="#FFFFFF" background="images/line.gif"><img src="images/line.gif" height="2"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="4" cellpadding="0">
<tr>
<td height="8"><table border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#FF9900"><table width="100%" border="0" cellpadding="0" cellspacing="4" bgcolor="#666666">
<tr>
<td bgcolor="#FF9900"><img src='admin/<%=rs("smallimg")%>' border='0' width=220></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="36">
<div align="center"><b><%=rs("name")%></b></div></td>
</tr>
</table>
</td>
<td width="100%" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="24" cellpadding="0">
<tr>
<td width="100%"><%=rs("txtcontent")%></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%
irecordsshown = irecordsshown +1
rs.movenext
loop
end if
rs.Close
set rs=nothing
%>
</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
<!-- #include file="foot.asp"-->
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -