<!--#include file="conn.asp"-->
<%
Call openDB()
sql="select tittype from bbstit"
rs.open sql,conn,1,1
If Not rs.eof Then
While Not rs.eof
%>
<table width="760" height="80" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td width="109" bgcolor="#FFFFFF">版块分类:</td>
<td width="540" bgcolor="#FFFFFF"><%=rs("tittype")%></td>
<td width="103" bgcolor="#FFFFFF">时间</td>
</tr>
<%
set rs1=Server.CreateObject("adodb.recordset")
sql1="select * from bbstype"
rs1.open sql1,conn,1,1
if not rs1.eof then
while not rs1.eof
%>
<tr>
<td bgcolor="#FFFFFF">版块:</td>
<td bgcolor="#FFFFFF"><%=rs1("bbsname")%></td><!--此处为bbstype表内论坛版块名称-->
<td bgcolor="#FFFFFF">文章</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">版主:</td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<%
rs1.movenext
wend
rs1.close
set rs1=nothing
end if
%>
</table>
<br>
<%
rs.movenext
Wend
Call closeDB()
End If
%>
[此贴子已经被作者于2007-9-15 17:59:08编辑过]