调用DZ论坛最新发表帖子:
{dede:loop table="cdb_threads" sort="tid" row='7'}
<li><span>[field:lastpost function="MyDate('m-d',@me)" /]</span> <a target="_blank" href="http://bbs.919zzz.com/viewthread.php?tid=[field:tid /]"> [field:subject function="cn_substr('@me',40)" /]</a></li>
<br/>
{/dede:loop}
调用DZ论坛最热门帖子:(在我理解来,回复最多的帖子,才叫热门,所以此项调用的是回复排行榜)
{dede:loop table="pre_forum_thread" sort="replies" row="7"}
<li><span>[field:lastpost function="MyDate('m-d',@me)"/]</span> <a href="http://bbs.919zzz.com/viewthread.php?tid=[field:tid /]" target="_blank">[field:subject function="cn_substr('@me',40)" /]</a> </li>
{/dede:loop}
调用特定板块的主题:
{dede:loop table=" pre_forum_thread" if="fid=5 and displayorder!=-1" sort="tid" row="10"}
<a href="/dz/viewthread.php?tid=[field:tid /] ">
·[field:subject function="cn_substr('@me',30)" /]([field:lastpost function="date('m-d H:M','@me')" /])
</a>
<br/>
调用论坛指定板块精华帖:
{dede:loop table=" pre_forum_thread " if="fid=5 AND digest>0 and displayorder!=-1 " sort="tid" row="10"}
<a href="/dz/viewthread.php?tid=[field:tid /]">
· [field:subject function="cn_substr('@me',30)" /] ([field:lastpost function="date('m-d H:M','@me')" /])
</a>
<br/>