- 注册时间
- 2007-6-14
- 最后登录
- 2022-6-9
- 阅读权限
- 200
- 积分
- 8525
- 精华
- 17
- 帖子
- 5572
  
|
一、分版面右侧修改完之后是这个样子的:
最新:表帖子 发帖:admin-前天 21:03
主题:1 贴数:4
打开/template/default/forum/discuz.htm (或者在你现用的模板相应文件夹)查找:
<td class="fl_by"> <div> <!--{if $forum['permission'] == 1}--> {lang private_forum} <!--{else}--> <!--{if $forum['redirect']}--> <a href="$forumurl"class="xi2">{lang url_link}</a> <!--{elseif is_array($forum['lastpost'])}--> <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></cite> <!--{else}--> {lang never} <!--{/if}--> <!--{/if}--> 修改成(红色部分为修改后):
<td class="fl_by"> <div> <!--{if $forum['permission'] == 1}--> {lang private_forum} <!--{else}--> <!--{if $forum['redirect']}--> <a href="$forumurl" class="xi2">{lang url_link}</a> <!--{elseif is_array($forum['lastpost'])}--> 最新:<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>发帖:<!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}-->-$forum[lastpost][dateline]</cite> <!--{else}--> {lang never} <!--{/if}--> <!--{/if}--> <!--=====在版面右侧底部添加总主题贴数和回复贴数========--> <!--{if empty($forum[redirect])}--><span class="xi2">主题:$forum[threads]</span><span class="xg1"> 贴数:$forum[posts]</span><!--{/if}-->
|
|