📄 feilei.asp
字号:
<table width="96%" border="0" cellspacing="0" cellpadding="2">
<%
set classrs=server.CreateObject("adodb.recordset")
classsql="select * from bigclass order by b_order,bigclassid"
classrs.open classsql,conn,1,1
if not classrs.eof then
nn=1
do while not classrs.eof and nn<7
if nn mod 2<>0 then
response.write "<tr><td width=50% >"
else
response.write "<td width=50% >"
end if
set smallrs=server.CreateObject("adodb.recordset")
smallsql="select * from smallclass where bigclassid="&classrs("bigclassid")&" order by s_order"
smallrs.open smallsql,conn,1,1
if not smallrs.eof then
set flashrs=server.CreateObject("adodb.recordset")
flashsql="select * from flash where smallclassid="&smallrs("smallclassid")&" order by id desc"
'response.write flashsql
flashrs.open flashsql,conn,1,1
%>
<table width="96%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td bgcolor="#eeeeee"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10%"><img src="index3/flash_red.gif" width="14" height="7"></td>
<td width="45%" height="25"><a href="showsmall.asp?classid=<%=classrs("bigclassid")%>"><%=classrs("bigclassname")%></a></td>
<td width="45%" align="right"><a href="showsmall.asp?classid=<%=classrs("bigclassid")%>"><img src="index3/home_digi.gif" width="62" height="20" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="19%"><table width="57%" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999">
<tr>
<td bgcolor="#FFFFFF"><img src="<%=flashrs("picurl")%>" width="100" height="80"></td>
</tr>
</table></td>
<td width="81%" valign="top"> <table width="100%" border="0" cellspacing="3" cellpadding="0" height="100">
<%
mm=1
do while not smallrs.eof and mm<=5
%>
<tr>
<td width="6%"><img src="index3/flash_red.gif" width="14" height="7"></td>
<td width="94%"><a href="showflash.asp?smallclassid=<%=smallrs("smallclassid")%>&classid=<%=classrs("bigclassid")%>"><%=smallrs("smallclassname")%></a></td>
</tr>
<%
mm=mm+1
smallrs.movenext
loop
%>
</table></td>
</tr>
</table>
</table>
<%
end if
if nn mod 2<>0 then
response.write "</td>"
else
response.write "</td></tr>"
end if
nn=nn+1
classrs.movenext
loop
end if
%>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -