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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 新Discuz! 4.0.0首页紧凑+标准+显示模板 (加了个显示最后发表标题)

[复制链接]
人小奶大 发表于 2005-12-18 17:07:01 | 显示全部楼层
原帖由 小小猪 于 2005-12-15 17:21 发表
全论坛都这样?在后台设置就好多了。呵呵

怎么设置?
回复

使用道具 举报

mojay 发表于 2005-12-18 17:36:16 | 显示全部楼层
好帖~~~!~!顶
   支持哈!~!我就要这个了!~
回复

使用道具 举报

梦古无尘 发表于 2005-12-18 21:20:51 | 显示全部楼层
不错,好贴~~~~~~~~!
回复

使用道具 举报

stone2003 发表于 2005-12-18 21:41:59 | 显示全部楼层
实用,帮你顶!
回复

使用道具 举报

看花凋零 发表于 2005-12-19 06:50:28 | 显示全部楼层
我用了,可是和你发的图完全不一样啊,太难看死了
http://www.800zx.com
回复

使用道具 举报

GB1982 发表于 2005-12-19 15:00:38 | 显示全部楼层
请问如何去掉提示是否有新帖子的”气球“,我修改后,和楼主给出的图片不一样啊。
回复

使用道具 举报

kkvkk 发表于 2005-12-19 15:39:16 | 显示全部楼层
不错
回复

使用道具 举报

xmwpl 发表于 2005-12-19 18:40:05 | 显示全部楼层
回复 GB1982 (蓝精灵):
请问如何去掉提示是否有新帖子的”气球“,我修改后,和楼主给出的图片不一样啊




  1. <!-- Modify Start -->

  2. {eval $count=4;}
  3. {eval $wid='25%';}
  4. {eval $incompact=array();}

  5. <!--{loop $forumlist $key $forum}-->
  6.         <!--{if $forum['type'] == 'group' && $forumlist[($key + 1)]['type'] == 'forum'}-->
  7.                 <!--{if $key}-->
  8.                         <!--{if $fcount}-->
  9.                                 <td colspan="$fcount"> </td></tr></table><br>
  10.                         <!--{else}-->
  11.                                 <!--{if in_array($forum[fid],$incompact)}-->
  12.                                         </tbody></table><br>
  13.                                 <!--{else}-->
  14.                                         </tr></table><br>
  15.                                 <!--{/if}-->
  16.                         <!--{/if}-->
  17.                 <!--{else}-->
  18.                         <br><br>
  19.                 <!--{/if}-->

  20.                 <!--{if in_array($forum[fid], $incompact)}-->
  21.                         <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
  22.                         <tr><td colspan="6" class="header"><table cellspacing="0" cellpadding="0" width="100%">
  23.                         <tr class="smalltxt"><td class="bold"><a href="index.php?gid=$forum[fid]">$forum[name]</a></td><td align="right">
  24.                         <!--{if $forum['moderators']}--><font color="{HEADERTEXT}">{lang forum_category_modedby}: $forum[moderators]</font> <!--{/if}-->
  25.                         <a href="###" onclick="toggle_collapse('category_$forum[fid]');"><img id="category_$forum[fid]_img" src="{IMGDIR}/$forum[collapseimg]" border="0"></a>
  26.                         </td></tr></table></td></tr>
  27.                         <tr class="category" align="center">
  28.                         <td width="5%"> </td>
  29.                         <td width="49%">{lang forum_name}</td>
  30.                         <td width="8%">{lang forum_threads}</td>
  31.                         <td width="8%">{lang forum_posts}</td>
  32.                         <td width="15%">{lang forum_lastpost}</td>
  33.                         <td width="15%">{lang forum_moderators}</td>
  34.                         </tr><tbody id="category_$forum[fid]" style="$collapse['category_'.$forum[fid]]">
  35.                         {eval $fcount = 0;}
  36.                 <!--{else}-->
  37.                         <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
  38.                         <tr><td colspan="6" class="header"><a href="index.php?gid=$forum[fid]"><font color="{HEADERTEXT}"><span class="bold">$forum[name]</span></font></a></td></tr>
  39.                         <tr bgcolor="{ALTBG2}">
  40.                         {eval $fcount = $count;}
  41.                 <!--{/if}-->

  42.         <!--{elseif $forum['permission']}-->
  43.                 <!--{if in_array($forum[fup],$incompact)}-->
  44.                         <tr>
  45.                         <td bgcolor="{ALTBG1}" align="center">$forum[folder]</td>
  46.                         <td bgcolor="{ALTBG2}" align="left" onMouseOver ="this.style.backgroundColor='{ALTBG1}'" onMouseOut ="this.style.backgroundColor='{ALTBG2}'">
  47.                         $forum[icon]<a href="forumdisplay.php?fid=$forum[fid]"><span class="bold">$forum[name]</span></a>
  48.                         <br><span class="smalltxt">$forum[description]<!--{if $forum['subforums']}--><br><span class="bold">{lang forum_subforums}:</span> $forum[subforums]<!--{/if}--></span></td>
  49.                         <td bgcolor="{ALTBG1}" align="center">$forum[threads]</td>
  50.                         <td bgcolor="{ALTBG2}" align="center">$forum[posts]</td>
  51.                         <!--{if $forum['permission'] == 1}-->
  52.                                 <td bgcolor="{ALTBG1}" align="center" class="smalltxt">{lang private_forum}</td>
  53.                         <!--{else}-->
  54.                                 <!--{if is_array($forum['lastpost'])}-->
  55.                                         <td bgcolor="{ALTBG1}"><table cellpadding="0" cellspacing="0" border="0" width="100%">
  56.                                         <tr><td align="right" class="smalltxt" title="{lang forum_lastpost_in}: $forum[lastpost][subject]" nowrap>
  57.                                         $forum[lastpost][dateline]<br>{lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang guest}<!--{/if}--></td>
  58.                                         <td nowrap> <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><img src="{IMGDIR}/lastpost.gif" border="0"></a></td>
  59.                                         </tr></table></td>
  60.                                 <!--{else}-->
  61.                                         <td bgcolor="{ALTBG1}" align="center" class="smalltxt">{lang never}</td>
  62.                                 <!--{/if}-->
  63.                         <!--{/if}-->
  64.                         <td bgcolor="{ALTBG2}" align="center" class="smalltxt" style="word-break: keep-all">$forum[moderators]</td></tr>
  65.                 <!--{else}-->
  66.                         {eval $fcount--;}
  67.                                <!--{if $fcount == -1}--></tr><tr bgcolor="{ALTBG2}">{eval $fcount = $count-1;}<!--{/if}-->
  68.                                <td width="$wid">
  69.                         <table cellpadding="0" cellspacing="0" border="0">
  70.                         <tr>
  71.                         <td width="100%" align="left">
  72.                         <a href="forumdisplay.php?fid=$forum[fid]"><span class="bold">$forum[name]</span></a>
  73.                         </td>
  74.                         <td  width="100%"align="center"><!--{if $forum['permission'] == 1}-->{lang private_forum}<!--{else}--><!--{/if}--></td>
  75.                         <tr>
  76.                         <td colspan="3" align="left">
  77.                         主题:$forum[threads]
  78.                         </td>
  79.                         <td width="100">$forum[folder]</td>
  80.                         </tr>
  81.                         <td colspan="1" align="left">
  82.                         帖数:$forum[posts]
  83.                         </td>
  84.                         </tr>
  85.                         <tr>
  86.                         <td colspan="4" align="left" >版主:
  87.                                                                         <!--{if count(explode(',',$forum['moderators'])) < 2}-->
  88.                                                                                 $forum[moderators]
  89.                                                                         <!--{else}-->
  90.                                                                                 {eval $mods = explode(',', $forum['moderators']);}
  91.                                                                                 $mods[0], $mods[1]   <a href="forumdisplay.php?fid=$forum[fid]">more....</a>
  92.                                                                         <!--{/if}-->
  93. </td>
  94.                         </tr>
  95.                         </tr>
  96.                         </table></td>
  97.                 <!--{/if}-->
  98.                <!--{/if}-->
  99. <!--{/loop}-->

  100. <!--{if empty($gid) && ($_DCACHE['forumlinks'] || $whosonlinestatus)}-->
  101.         <!--{if empty($forumlist)}--><br><br><!--{else}--><!--{if $fcount}--><td colspan="$fcount"> </td><!--{/if}--></tr></table><br><!--{/if}-->
  102.         <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
  103. <!--{/if}-->

  104. <!-- Modify END -->
复制代码



去掉这一句:

<td width="100">$forum[folder]</td>
</tr>

[ 本帖最后由 xmwpl 于 2005-12-19 18:43 编辑 ]

本帖子中包含更多资源

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

x
回复

使用道具 举报

ndren 发表于 2005-12-19 19:02:22 | 显示全部楼层
对于版块非常多来说这样的显示方式更好,呵。
回复

使用道具 举报

BT一族 发表于 2005-12-19 19:36:29 | 显示全部楼层
不稀饭
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-26 07:33 , Processed in 0.868332 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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