![Rank: 7](images/default/star_level3.gif) ![Rank: 7](images/default/star_level2.gif) ![Rank: 7](images/default/star_level1.gif)
- 積分
- 7571
- 威望
- 7571
- 金錢
- 9482
- 最後登錄
- 2024-4-25
![正式版主 正式版主](images/common/bansuz2.gif) ![資深版主 資深版主](images/common/bansuz3.gif) ![貢獻特別級會員 貢獻特別級會員](images/common/contribute3.gif) ![熱心會員 熱心會員](images/common/warm-hearted.gif) ![論壇元老 論壇元老](images/common/member_3000.gif) ![金牌會員 金牌會員](images/common/member_1000.gif) ![高級會員 高級會員](images/common/member_500.gif) ![中級會員 中級會員](images/common/member_200.gif)
|
[版型教學] 【蓝氏首发】论坛首页横排(新一款)FOR:DZ7.2/SCLUB
本帖最後由 bonimon 於 2012-11-18 19:14 編輯
此效果只能用两排显示,如果用三排的话会变形。
打开风格目录中的discuz.htm文件
搜索下面的代码 ,(两个<th 代码之间)- <th width="$cat[forumcolwidth]"{$forum[folder]}>
-
- <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>
-
- <!--{if !$forum[redirect]}-->
-
- <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
-
- <!--{if $forum['permission'] == 1}-->
-
- <p>{lang private_forum}
-
- <!--{else}-->
-
- <p>{lang forum_lastpost}:
-
- <!--{if is_array($forum['lastpost'])}-->
-
- <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>
-
- <!--{else}-->
-
- {lang never}
-
- <!--{/if}-->
-
- </p>
-
- <!--{/if}-->
-
- <!--{else}-->
-
- <p>{lang url_link}</p>
-
- <!--{/if}-->
-
- </th>
複製代碼 将上面的代码替换成
本帖隱藏的內容需要回復才可以瀏覽
相关资源:
增加横排显示板块图标FOR:7.2/SCLUB |
-
1
評分人數
-
|