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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

首页横排美化+ 横排板块显示最后发表主题五笔 for 6.0 (完美修正!!)

[复制链接]
pool2008 发表于 2007-11-14 18:09:01 | 显示全部楼层
下载包在哪  大哥~~~
回复

使用道具 举报

hzl3 发表于 2007-11-14 18:18:16 | 显示全部楼层
现在新下载的,要不要改discuz.htm那些文件?

[ 本帖最后由 hzl3 于 2007-11-14 18:23 编辑 ]
回复

使用道具 举报

 楼主| jillyz 发表于 2007-11-14 18:25:06 | 显示全部楼层
就是照著上面說的全部去改~~ 就好了
或是用下載包裡的檔案覆蓋也可以
回复

使用道具 举报

hzl3 发表于 2007-11-14 18:30:31 | 显示全部楼层
直接覆蓋就可以了?不用安装或修改什么吗?
回复

使用道具 举报

daliangg 发表于 2007-11-14 18:32:52 | 显示全部楼层
very good
回复

使用道具 举报

a51383036 发表于 2007-11-14 18:33:44 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| jillyz 发表于 2007-11-14 18:40:10 | 显示全部楼层
原帖由 hzl3 于 2007-11-14 18:30 发表
直接覆蓋就可以了?不用安装或修改什么吗?

如果你之前有改過 index.php 和 discuz.htm,改過其他東西的話
那麼建議,請照著樓主帖說的去修改~
不建議用覆蓋的

如果之前從來沒改過index.php和discuz.htm,直接用下載包覆蓋是最方便的
回复

使用道具 举报

hkkt 发表于 2007-11-14 18:47:51 | 显示全部楼层
lz能否在改的紧凑点,谢谢了
回复

使用道具 举报

a51383036 发表于 2007-11-14 18:48:02 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| jillyz 发表于 2007-11-14 18:59:38 | 显示全部楼层
原帖由 a51383036 于 2007-11-14 18:33 发表
我顶,不错的修改,我装成功了
有点建议,上下板块之间的距离紧凑些就好了
演示:http://bbs.wanshy.cn/index.php?styleid=20


緊湊的修改~~~~  
模板 discuz.htm


(保留最後發表那些的)
  1.    <!--{else}-->
  2.     <thead class="category" align="center">
  3.      <tr>
  4.       <th>{lang forum_name} / 最新主题</th>
  5.       <th>{lang forum_name} / 最新主题</th>
  6.       <th>{lang forum_name} / 最新主题</th>
  7.      </tr>
  8.     </thead>     
  9.      <!--{loop $cat['forums'] $forumid}-->
  10.       <!--{eval $forum=$forumlist[$forumid];}-->
  11.       <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
  12.        </tr></tbody>
  13.        <!--{if $forum['orderid'] < $cat['forumscount']}-->
  14.         <tbody><tr>
  15.        <!--{/if}-->
  16.       <!--{/if}-->
  17.       <th class="forumlist" width="$cat[forumcolwidth]" style="vertical-align: top; background-image: none; padding:5px !important;">
  18.        <h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></h2>
  19.         <span style="float:left">$forum[icon]</span><span style="float:left; color:{LIGHTTEXT}">$forum[description]</span>
  20.        <ul class="list" style="background-image: url(images/listbg_li.gif); padding:1px 0 0 10px; list-style-type: none; line-height: 20px; clear: both; margin:0;">
  21.        <!--{loop ${"new_no".$forum[fid]."_threadlist"} $row}-->
  22.         <div style="overflow: hidden; height:20px; width:100%"><small style="float:right; color:#9C8B88; margin: 0 0 0 5px">$row['date']</small><a href="viewthread.php?tid=$row[tid]" title="$row[subject]" target='_self'>$row[view_subject]</a></div>
  23.        <!--{/loop}-->
  24.        </ul>
  25.        <div style="color:{LIGHTTEXT}; overflow: hidden; height: 15px; width: 100%">
  26.         <!--{if is_array($forum['lastpost'])}-->
  27.          {lang forum_lastpost}: <a style="color:{LIGHTTEXT}" href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost" title="$forum[lastpost][subject]  ($forum[lastpost][dateline])">{echo cutstr($forum[lastpost][subject], 35)}</a>
  28.          ({lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author'])<!--{else}-->{lang anonymous}<!--{/if}-->
  29.         <!--{else}-->
  30.          {lang never}
  31.         <!--{/if}-->
  32.        </div>
  33.        <div style="text-align: left; color:{LIGHTTEXT}">
  34.         {lang forum_threads}:{if $forum['redirect']}--{else}$forum[threads]{/if},
  35.         {lang forum_posts}:{if $forum['redirect']}--{else}$forum[posts]{/if},
  36.         <!--{if $forum[todayposts]}-->{lang index_today}forum[todayposts],<!--{else}-->{lang index_today}:0<!--{/if}-->
  37.        </div>
  38.       </th>
  39.      <!--{/loop}-->
  40.     $cat['endrows']  
  41.    <!--{/if}-->
复制代码
(拿掉最後發表那些的)
  1.    <!--{else}-->
  2.     <thead class="category" align="center">
  3.      <tr>
  4.       <th>{lang forum_name} / 最新主题</th>
  5.       <th>{lang forum_name} / 最新主题</th>
  6.       <th>{lang forum_name} / 最新主题</th>
  7.      </tr>
  8.     </thead>     
  9.      <!--{loop $cat['forums'] $forumid}-->
  10.       <!--{eval $forum=$forumlist[$forumid];}-->
  11.       <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
  12.        </tr></tbody>
  13.        <!--{if $forum['orderid'] < $cat['forumscount']}-->
  14.         <tbody><tr>
  15.        <!--{/if}-->
  16.       <!--{/if}-->
  17.       <th class="forumlist" width="$cat[forumcolwidth]" style="vertical-align: top; background-image: none; padding:5px !important;">
  18.        <h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></h2>
  19.         <span style="float:left">$forum[icon]</span><span style="float:left; color:{LIGHTTEXT}">$forum[description]</span>
  20.        <ul class="list" style="background-image: url(images/listbg_li.gif); padding:1px 0 0 10px; list-style-type: none; line-height: 20px; clear: both; margin:0;">
  21.        <!--{loop ${"new_no".$forum[fid]."_threadlist"} $row}-->
  22.         <div style="overflow: hidden; height:20px; width:100%"><small style="float:right; color:#9C8B88; margin: 0 0 0 5px">$row['date']</small><a href="viewthread.php?tid=$row[tid]" title="$row[subject]" target='_self'>$row[view_subject]</a></div>
  23.        <!--{/loop}-->
  24.        </ul>
  25.       </th>
  26.      <!--{/loop}-->
  27.     $cat['endrows']  
  28.    <!--{/if}-->
复制代码

[ 本帖最后由 jillyz 于 2007-11-14 19:20 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-5 17:22 , Processed in 0.118397 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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