找回密码
 注册
查看: 2923|回复: 1
收起左侧

[分享] DZ7.2三级置顶区分美化修改方法

[复制链接]

5342

主题

8363

帖子

1万

积分

管理员

出售国内外虚拟空间

Rank: 10Rank: 10Rank: 10

积分
14736
帖子
8363
精华
67
体力
14736 点
蓝豆
2391 点
注册时间
2007-6-8

终身成就奖LY官方团队会员身份ID卡

发表于 2010-3-13 17:04:16 | 显示全部楼层 |阅读模式
1.png
修改:forumdisplay.htm模版
查找:
  1. <!--{if $forumseparator == 1 && $separatepos == $key + 1}-->
  2. <tbody>
  3. <tr>
  4. <td class="folder"></td><td> </td>
  5. <!--{if $forum['ismoderator']}--><td> </td><!--{/if}-->
  6. <th class="subject">{lang forum_thread}</th><td> </td><td> </td><td> </td>
  7. </tr>
  8. </tbody>
  9. <!--{/if}-->
复制代码
替换成
  1. <!-- 三级置顶-ARCHY-->
  2. <!--{if $tr != $thread['displayorder']}-->
  3.           <tr class="category"><td> </td><td colspan="6">
  4.           <!--{if $thread['displayorder'] == 1}-->
  5.           <thead class="separation">
  6. <tr><td>&nbsp;</td><td>&nbsp;</td><td colspan="4"><font color=Green><b>本版置顶</b></font>
  7.   </thead>
  8.           <!--{elseif $thread['displayorder'] == 2}-->
  9.           <thead class="separation">
  10. <tr><td>&nbsp;</td><td>&nbsp;</td><td colspan="4"><font color=Blue><b>分类置顶</b></font>
  11.   </thead>
  12.           <!--{elseif $thread['displayorder'] == 3}-->
  13.           <thead class="separation">
  14. <tr><td>&nbsp;</td><td>&nbsp;</td><td colspan="4"><font color=red><b>全局置顶</b></font>
  15.   </thead>
  16.           </b><!--{else}-->
  17.           <thead class="separation">
  18. <tr><td>&nbsp;</td><td>&nbsp;</td><td colspan="4"><font color=#000000>{lang forum_normal_threads}</font>
  19.   </thead>
  20.           <!--{/if}-->
  21.           </td></tr>
  22.           <!--{eval $tr = $thread['displayorder'];}-->
  23.           <!--{/if}-->
  24. <!-- 三级置顶-ARCHY-->
复制代码
出售国内或美国高性能虚拟空间,高速VPS以及服务器! 同时承接各种类型的网站制作,网站维护,支付宝交易安全放心!    联系QQ:6102031
懒得打字嘛,点击右侧快捷回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

网站公告上一条 /2 下一条

GMT+8, 2025-2-11 07:34 , Processed in 0.122418 second(s), 27 queries , Gzip On.

© 2006-2022 Powered by Discuz! X3.4

快速回复 返回顶部 返回列表