|
最新 訊息看板狀態 |
|
類 別 |
主 題 |
名 稱 |
<%
SQL="select top 3 * from (select top 3 f.forum_name,t.forum_id,t.topic_id,t.topic_title,u.user_name,u.user_id from sh_topics t, sh_categories c, sh_forums f, sh_users u where t.forum_id=f.forum_id and f.cat_id=c.cat_id and t.topic_poster=u.user_id order by t.topic_time desc) X"
set rs1=GetRS(SQL,conn)
i=0
do until rs1.eof
i=i+1
if (i/2)=int(i/2) then cc="row1" else cc="row2"
%>
| <%=rs1("forum_name")%> |
" class="forumlink2"><%=rs1("topic_title")%> |
<%=rs1("user_name")%> |
<%
rs1.movenext
loop
%>
|
|
熱門 回應訊息看板 |
|
類 別 |
主 題 |
名 稱 |
<%
SQL="select top 3 * from (select top 3 f.forum_name,t.forum_id,t.topic_id,t.topic_title,u.username,u.user_id,u.user_name from sh_topics t, sh_categories c, sh_forums f, sh_users u where t.forum_id=f.forum_id and f.cat_id=c.cat_id and t.topic_poster=u.user_id order by t.topic_replies desc) X"
set rs1=GetRS(SQL,conn)
i=0
do until rs1.eof
i=i+1
if (i/2)=int(i/2) then cc="row2" else cc="row1"
%>
| <%=rs1("forum_name")%> |
" class="forumlink2"><%=rs1("topic_title")%> |
<%=rs1("user_name")%> |
<%
rs1.movenext
loop
%>
|
|