📄 index_type_class.asp
字号:
<%@ ENABLESESSIONSTATE = FALSE %>
<!--//#include file="top.asp"-->
<!--#include file="char.asp"-->
<html>
<head>
<%
if Request.QueryString("id")="" then
Response.Redirect"info.asp?info=错误的参数"
else
id=cint(Request.QueryString("id"))
typeid=cint(Request.QueryString("typeid"))
end if
%>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="sys.css" rel="stylesheet" type="text/css">
</head>
<body text="#000000" leftmargin="0" topmargin="0">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="200" height="258" valign="top" bgcolor=#000000>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width='100%' border='0' align="center" cellpadding='0' cellspacing='0'>
<tr align='left'>
<td>
<%
sql = "SELECT * FROM index_produce where typeid="&typeid&" ORDER BY listid asc,id DESC"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
do while NOT rs.EOF
if not rs.eof then%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="28"> <div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="10"> <div align="left"> </div></td>
<td height="40"><a href='index_type_class.asp?id=<%=rs("id")%>&typeid=<%=rs("typeid")%>'><font color="#FF9900"><%=rs("cm_title")%></font></a></td>
</tr>
<tr bgcolor="#FF9900">
<td height="1" colspan="2"></td>
</tr>
</table>
</div></td>
</tr>
</table>
<%
irecordsshown = irecordsshown +1
rs.movenext
end if
loop
rs.Close
set rs=nothing
%>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
<td valign="top" bgcolor="#FF9900">
<table width='98%' border='0' align="right" cellpadding='0' cellspacing='8'>
<tr align='left'>
<td> <%
Dim ipagecount
sql = "SELECT * FROM index_produce where id="&id&" ORDER BY id DESC"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
ipagecount = rs.pagecount%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><%=rs("editorvalue")%> </td>
</tr>
</table>
<%
rs.Close
set rs=nothing
%></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<!--#include file="foot.asp"-->
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -