Discuz板块横排显示图片的实现方法

2018-09-07 12:59

阅读:392

  到你目前在使用的模板中寻找discuz.htm
找到这一段代码:
复制代码 代码如下:
<tdwidth=$cat[forumcolwidth]class=altbg2onMouseOver=this.className=altbg1onMouseOut=this.className=altbg2>
<ahref=forumdisplay.php?fid=$forum[fid]><spanclass=bold>$forum[name]</span></a><br>
<spanclass=smalltxt><divstyle=float:left;width:33%;padding-top:6px;>{langforum_threads}:$forum[threads]</div><divstyle=float:left;width:33%;padding-top:6px;>{langforum_posts}:$forum[posts]</div><divstyle=float:left;width:33%;padding-top:6px;>{langforum_todayposts}:$forum[todayposts]</div></span>
</td>

修改为:

复制代码 代码如下:
<tdclass=altbg1>$forum[folder]</td>
<tdwidth=$cat[forumcolwidth]onMouseOver=this.className=altbg1onMouseOut=this.className=altbg2>

$forum[icon]<ahref=forumdisplay.php?fid=$forum[fid]><spanclass=bold>$forum[name]</span></a><br>
<spanclass=smalltxt>$forum[description]</span><br>
<!--{if$forum[permission]==1}-->
{langprivate_forum}
<!--{else}-->
<!--{ifis_array($forum[lastpost])}-->
<ahref=redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastposttitle=$forum[lastpost][dateline]>
{langforum_lastpost_in}:{$forum[lastpost][subject]}</a>
{langforum_lastpost_by}<!--{if$forum[lastpost][author]}-->$forum[lastpost][author]<!--{else}-->{langanonymous}<!--{/if}-->
<!--{else}-->
{langnever}
<!--{/if}-->
<!--{/if}--></td>


评论


亲,登录后才可以留言!