<% 'Response.Cookies("tree")="ftbbstree.asp" 'Response.Cookies("tree").Expires=date+30 %> 论坛导航
 论坛首页
<% f=request("f") sql="select BBS_ID,BBS_Cate_Name,BBS_Cate_ID,BBS_Cate_PID,BBS_Cate_Qs,treesign from BBS_Cate where BBS_Cate_PID='0' and deleted=0 order by totop asc" set rs=server.createobject("adodb.recordset") rs.open sql,conn,1,1 do while not rs.eof if rs("treesign")=1 then openclose="opentm.gif" openclosex="openx.gif" else openclose="closetm.gif" openclosex="close.gif" end if %> <% sql15="select BBS_Cate_Name,BBS_Cate_ID,BBS_Cate_PID,BBS_Cate_Qs from BBS_Cate where BBS_Cate_PID='"&rs("BBS_Cate_ID")&"' and deleted=0 order by totop asc" set rs15=server.createobject("adodb.recordset") rs15.open sql15,conn,1,1 if not rs15.eof then %> <%end if%>
'); return false" style="cursor: default;">" name="dir<%=rs("bbs_id")%>" src="images/<%=openclose%>" width="18" height="18" border=0>
Child" <%if rs("treesign")=0 then%> class="child" <%end if%>> <% i=0 do while not rs15.eof if i=rs15.recordcount-1 then line="" else line="" end if %> <% i=i+1 rs15.movenext loop rs15.close set rs15=nothing %>
<%=line%>
&layer_2=<%=rs15("BBS_Cate_ID")%>&qs=<%=rs15("BBS_Cate_Qs")%>" target="main"> <%=rs15("BBS_Cate_Name")%>
<% rs.movenext loop rs.close set rs=nothing %>
 论坛指南