免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[版型教學] 【蓝氏首发】论坛首页横排(新一款)FOR:DZ7.2/SCLUB

本帖最後由 bonimon 於 2012-11-18 19:14 編輯

厦门.jpg
2012-11-18 18:14


此效果只能用两排显示,如果用三排的话会变形。
打开风格目录中的discuz.htm文件

搜索下面的代码 ,(两个<th 代码之间)
  1. <th width="$cat[forumcolwidth]"{$forum[folder]}>

  2. <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if}>$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>

  3. <!--{if !$forum[redirect]}-->

  4. <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>

  5. <!--{if $forum['permission'] == 1}-->

  6. <p>{lang private_forum}

  7. <!--{else}-->

  8. <p>{lang forum_lastpost}:

  9. <!--{if is_array($forum['lastpost'])}-->

  10. <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if} ">$forum[lastpost][dateline]</a>

  11. <!--{else}-->

  12. {lang never}

  13. <!--{/if}-->

  14. </p>

  15. <!--{/if}-->

  16. <!--{else}-->

  17. <p>{lang url_link}</p>

  18. <!--{/if}-->

  19. </th>
複製代碼
将上面的代码替换成
本帖隱藏的內容需要回復才可以瀏覽



相关资源:
增加横排显示板块图标FOR:7.2/SCLUB
1

評分人數

子版块能显示在上级版块,可以转载的话我能转载一下子吗?
叶枫 發表於 2012-11-18 18:20



    可以,请注明来源(KRC资源网  http://kc.feiclub.net

TOP

只能两横排的么?
liangweisee 發表於 2012-11-18 18:38



    是的,三排会变形。

TOP

回復 16# sojh


    这个没说显示版主啊!

TOP

返回列表