Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] X2.5横排美化效果,DZ网友求助样式 教程分享,精致大方

  [复制链接]
zzj355 发表于 2012-5-25 20:57:56 | 显示全部楼层
看来不错
回复

使用道具 举报

shuangchun 发表于 2012-5-25 23:15:20 | 显示全部楼层
不错的东西。
回复

使用道具 举报

ji3g4806vul3 发表于 2012-5-25 23:17:59 | 显示全部楼层
^^好像不錯耶!
回复

使用道具 举报

八由草 发表于 2012-5-26 01:53:24 | 显示全部楼层
多谢楼主分享
回复

使用道具 举报

wuchongfeng 发表于 2012-5-26 19:32:10 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

厦新情缘 发表于 2012-5-26 21:29:56 | 显示全部楼层
这个不错,要顶,也要保存

演示:驻马店论坛http://bbs.zmd5.com

美化后的显示效果:

图片演示:

\template\default\forum中的discuz.htm
搜索
  • <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
  • <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
  • <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
  • <dd>
  • <!--{if $forum['permission'] == 1}-->
  • {lang private_forum}
  • <!--{else}-->
  • <!--{if $forum['redirect']}-->
  • <a href="$forumurl" class="xi2">{lang url_link}</a>
  • <!--{elseif is_array($forum['lastpost'])}-->
  • <!--{if $cat['forumcolumns'] < 3}-->
  • <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  • <!--{else}-->
  • <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
  • <!--{/if}-->
  • <!--{else}-->
  • {lang never}
  • <!--{/if}-->
  • <!--{/if}-->
  • </dd>
  • <!--{hook/index_forum_extra $forum[fid]}-->
  • </dl>

复制代码
替换成

本帖隐藏的内容
  • <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
  •                                                                         <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0" > (今日:<font class="xi1" size="+2">$forum[todayposts]</font> / <!--{if empty($forum[redirect])}--><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em> / <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em><!--{/if}-->)</em><!--{/if}--></dt>
  •                                                                                 <!--{if $forum[description]}--><dd class="xg2">$forum[description]</dd><!--{/if}-->
  •                                                                         <dd>
  •                                                                         <!--{if $forum['permission'] == 1}-->
  •                                                                                 {lang private_forum}
  •                                                                         <!--{else}-->
  •                                                                                 <!--{if $forum['redirect']}-->
  •                                                                                         <a href="$forumurl" class="xi2">{lang url_link}</a>
  •                                                                                 <!--{elseif is_array($forum['lastpost'])}-->
  •                                                                                         <!--{if $cat['forumcolumns'] < 3}-->
  •                                                                                                 <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  •                                                                                         <!--{else}-->
  •                                                                                                 <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
  •                                                                                         <!--{/if}-->
  •                                                                                 <!--{else}-->
  •                                                                                         {lang never}
  •                                                                                 <!--{/if}-->
  •                                                                         <!--{/if}-->
  •                                                                         </dd>
  •                                                                         <!--{hook/index_forum_extra $forum[fid]}-->
  •                                                                 </dl>

复制代码


回复

使用道具 举报

santaijie 发表于 2012-5-26 23:54:16 | 显示全部楼层
回复

使用道具 举报

feijunwen 发表于 2012-5-27 14:11:59 | 显示全部楼层
迫切需要。
回复

使用道具 举报

青岛娱乐社区 发表于 2012-5-27 15:49:47 | 显示全部楼层
拿来看看
www.09yu.com
回复

使用道具 举报

青岛娱乐社区 发表于 2012-5-27 16:05:20 | 显示全部楼层
为什么我这没起作用呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-20 07:43 , Processed in 0.242830 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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