<?php foreach($forumlist_show as $_forum) { ?>
<a href="<?php echo url("forum-$_forum[fid]");?>">
<?php echo $_forum['name'];?>
</a>
<?php
$_threadlist = thread__find_by_fid($_forum['fid'], 1, 6);
//6表示每个列表显示6个帖子。
thread_list_access_filter($_threadlist, $gid);
?>
<ul>
<?php foreach($_threadlist as $_thread) { ?>
<li>
<a href="<?php echo url("thread-$_thread[tid]");?>">
<?php echo $_thread['subject'];?>
</a>
</li>
<?php } ?>
</ul>
<?php } ?>
游客你好,回复内容需要 登录 查看!