**********************************************************************************
||插件HACK: 三级置顶分开:固顶主题、重要主题、推荐主题 For Dz5.5.0 正式版
||原著作者: zulu8v8 http://www.discuz.net/viewthread.php?tid=249662
||插件安装: 相当容易
||修改文件: forumdisplay.htm模版 (建议先备份)
||演示地址:
http://www.yiid.com/index.php
||适用版本: Discuz 5.5 正式版
**********************************************************************************
1.修改:forumdisplay.htm模版
查找
引用:
<!--{if $separatepos == $key + 1}-->
<tr class="category"><td> </td><td colspan="6">{lang forum_normal_threads}</td></tr>
<!--{/if}-->
修改为引用:
<!-- 三级置顶分开http://www.yiid.com --->
<!--{if $tr != $thread['displayorder']}-->
<tr class="category"><td> </td><td colspan="6">
<!--{if $thread['displayorder'] == 1}-->
<span class="bold"><font style="filter: glow(color=Green,strength=3); height:10px; color:white; padding:1px">推荐主题</font></span>
<!--{elseif $thread['displayorder'] == 2}-->
<span class="bold"><font style="filter: glow(color=Brown,strength=3); height:10px; color:white; padding:1px">重要主题</font></span>
<!--{elseif $thread['displayorder'] == 3}-->
<span class="bold"><font style="filter: glow(color=red,strength=3); height:10px; color:white; padding:1px">固顶主题</font></span>
</b><!--{else}-->
<span class="bold"><font style="filter: glow(color=blue,strength=3); height:10px; color:white; padding:1px">{lang forum_normal_threads}</font></span>
<!--{/if}-->
</td></tr>
<!--{eval $tr = $thread['displayorder'];}-->
<!--{/if}-->
<!-- 三级置顶分开http://www.yiid.com --->
演示地址
http://www.yiid.com/forumdisplay.php?fid=12
[
本帖最后由 花石子 于 2007-3-13 15:51 编辑 ]