织梦dedecms如何调用Discuz最新帖子的方法

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