1、打开discuz.htm
查找:- <th width="$cat[forumcolwidth]"{$forum[folder]}>
- <h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: $forum[todayposts])</em><!--{/if}--></h2>
- <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
- <p>{lang forum_lastpost}:
- <!--{if is_array($forum['lastpost'])}-->
- <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">$forum[lastpost][dateline]</a>
- {lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}-->
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- </p>
复制代码 2、插入:- <!--{if $forum['subforums']}--><p>{lang forum_subforums}: <b>$forum['subforums']</b></p><!--{/if}-->
复制代码 |