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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

PW,首页显示最后回复主题,子版,横版显示 主题美化 (适用 5.0,5.5 GBK) 4.10 修正更新

[复制链接]
 楼主| 奇跡の海 发表于 2007-3-25 22:36:43 | 显示全部楼层
原帖由 long0 于 2007-3-25 14:30 发表
我把文件提供出来!~~谁帮我修改啊!
我需要的是横排和普通的安装

横排是设置显示4个横排的那种
普通的是没设置横排,后面显示的回复!
还有子版里面横排显示的和普通显示的!



这个横版美化不适合4个的横排!子版和其他的也都是适合2个的横排,如果用这个变成4个的横排,除非你的屏幕足够宽!!

还有个在这里说明下,安装完如果显示都正常,只是分类版块之间未对齐,都是正常的,原因是你的版块有的有说明有的没说明,有的有图标有的没.全设置了就没问题了,还有这个修改是自动适应页面的,如果页面表格固定大小,他就会更美观些的!我的演示站就是最好的证明
回复

使用道具 举报

buhuien 发表于 2007-3-25 23:55:09 | 显示全部楼层
首页横版不能显示最后回复主题
回复

使用道具 举报

5da8 发表于 2007-3-26 00:00:17 | 显示全部楼层
好象是很不错的东西啊
回复

使用道具 举报

buhuien 发表于 2007-3-26 07:31:28 | 显示全部楼层
这是我的首页模板,能不能帮我改一下首页横版横排最后回复主题
  1. {template header}

  2. <div style="width: {TABLEWIDTH}; clear: both; overflow: hidden;">

  3. <div class="left" style="line-height: 18px;">
  4. <span class="bold"><!--{if $gid || !$discuz_uid}-->
  5. <span class="left" style="line-height: 18px;"><a href="$supe[siteurl]" target="_blank">$supe['sitename']</a>&nbsp;-
  6. <!--{/if}-->
  7. <!--{if $gid || !$discuz_uid}-->
  8. <a href="$indexname">$bbname</a><!--{else}-->
  9. $discuz_user&nbsp;
  10. <!--{/if}-->
  11. <!--{if $discuz_uid}-->
  12. <!--{if $supe['status'] && $xspacestatus}-->
  13. - <a href="$supe[siteurl]?uid/$discuz_uid" target="_blank">{lang space}</a>
  14. <!--{elseif $spacestatus}-->
  15. - <a href="space.php?uid=$discuz_uid" target="_blank">{lang space}</a>
  16. <!--{/if}-->
  17. <!--{if $supe['status'] && !$xspacestatus}-->
  18. <!--{if $spacestatus}-->
  19. - <a href="$supe[siteurl]?uid/$discuz_uid" target="_blank">{lang space_upgrade_space}</a>
  20. <!--{else}-->
  21. - <a href="$supe[siteurl]?uid/$discuz_uid" target="_blank">{lang supe_signin_xspace}</a>
  22. <!--{/if}-->
  23. <!--{/if}-->
  24. <!--{/if}-->
  25. <br />
  26. {lang credits}: <span class="bold smalltxt">$credits</span>&nbsp;<span id="creditlist" onmouseover="showMenu(this.id)">{lang credits_detail}</span> / {lang index_status}:
  27. <!--{if $validdays}-->
  28. <a href="member.php?action=groupexpiry">$grouptitle($validdays)</a>
  29. <!--{else}-->
  30. $grouptitle
  31. <!--{/if}-->
  32. <!--{if $allowinvisible && $discuz_uid}-->
  33. {lang online_status}:
  34. <!--{if !empty($invisible)}-->
  35. <a href="member.php?action=switchstatus" title="{lang login_switch_normal_mode}" id="ajax_switchstatus" onclick="ajaxmenu(event, this.id, 2000, 'changestatus', 0)">{lang login_invisible_mode}</a>
  36. <!--{else}-->
  37. <a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" id="ajax_switchstatus" onclick="ajaxmenu(event, this.id, 2000, 'changestatus', 0)">{lang login_normal_mode}</a>
  38. <!--{/if}-->
  39. <!--{/if}-->
  40. <br />
  41. {lang your_lastvisit} <span class="smalltxt">$lastvisittime</span></span></span><br>
  42. </div>

  43. <div class="right" style="line-height: 18px;"><span class="right" style="line-height: 18px;"><a href="search.php?srchfrom=$newthreads&amp;searchsubmit=yes">{lang show_newthreads}</a> | <a href="digest.php">{lang digest}</a> | <a href="member.php?action=markread" id="ajax_markread" onclick="ajaxmenu(event, this.id)">{lang mark_read}</a>
  44.     <!--{if $rssstatus}-->
  45.     <a href="rss.php?auth=$rssauth" target="_blank"><img src="images/common/xml.gif" border="0" class="absmiddle" alt="{lang rss_subscribe_all}" /></a></span>
  46.   <!--{/if}-->
  47. <br>
  48. {lang total} <span class="smalltxt">$threads</span> {lang index_threads} / <span class="smalltxt">$posts</span> {lang index_posts} / {lang index_today} <span class="smalltxt">$todayposts</span> {lang index_posts}<br>
  49. {lang total} <span class="smalltxt">$totalmembers</span> {lang index_members} / {lang welcome_newmember} <a href="viewpro.php?username=$memberenc"><span class="bold">$lastmember</span></a>
  50. </div>

  51. </div><br>

  52. <!--{if empty($gid)}-->
  53.         <!--{if !empty($announcements)}-->
  54.                 <div id="announcement" style="clear: both; width: {TABLEWIDTH}">$announcements</div>
  55.                 <script type="text/javascript">announcement();</script>
  56.         <!--{/if}-->
  57.         <!--{if $qihoo_status && $searchboxstatus}-->
  58.                 <div class="subtable" style="clear: both; width: {TABLEWIDTH}">
  59.                 <div class="right">
  60.                 <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';">
  61.                 <input type="hidden" name="searchsubmit" value="yes">
  62.                 <input type="text" name="srchtxt" value="$qihoo_searchboxtxt" size="30" class="input" style="{BGCODE};" onmouseover="this.focus();this.value='';this.onmouseover=null;">
  63.                 <select name="stype"><option value="" selected>{lang qihoo_search_filltext}</option><option value="1">{lang qihoo_search_title}</option><option value="2">{lang qihoo_search_author}</option></select>
  64.                 <input name="searchsubmit" class="button" type="submit" value="{lang search}">
  65.                 </form>
  66.                 </div>
  67.                 <!--{if $qihoo_links['keywords']}-->
  68.                         <span class="bold">{lang qihoo_hot_searches}</span>&nbsp;
  69.                         <!--{loop $qihoo_links['keywords'] $link}-->
  70.                                 $link&nbsp;
  71.                         <!--{/loop}-->
  72.                 <!--{/if}-->
  73.                 </div>
  74.                 <div class="subtable" style="clear: both; width: {TABLEWIDTH}">
  75.                 <div class="right">
  76.                 <!--{if $customtopics}-->
  77.                         <span class="bold">{lang qihoo_custom_topics}</span>&nbsp;&nbsp;$customtopics [<a href="###" onclick="window.open('misc.php?action=customtopics', '', 'width=320,height=450,resizable=yes,scrollbars=yes');">{lang edit}</a>]
  78.                 <!--{/if}-->
  79.                 </div>
  80.                 <!--{if $qihoo_links['topics']}-->
  81.                         <span class="bold">{lang qihoo_topics}</span>&nbsp;
  82.                         <!--{loop $qihoo_links['topics'] $url}-->
  83.                                 {$url} &nbsp;
  84.                         <!--{/loop}-->
  85.                 <!--{/if}-->
  86.                 </div>
  87.         <!--{/if}-->
  88. <!--{/if}-->

  89. <!--{if !empty($newpmexists)}-->
  90.         <div style="clear: both; margin-top: 5px">
  91.         {template pmprompt}
  92.         </div>
  93. <!--{/if}-->

  94. <!--摘自百宝箱吧--[url]http://bbs.bbx8.com[/url] (不会显示在论坛)-->
  95. <!--首页四格开始-->
  96. <div class="spaceborder" style="width: {TABLEWIDTH}">
  97. <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center" >
  98.     <tr class="header">
  99.     <td class="header" width="25%" align="center"><b><img src={IMGDIR}/dot.gif BORDER=0>≡论坛图片≡</b></td>
  100.     <td class="header" width="25%" align="center"><b><img src={IMGDIR}/dot.gif BORDER=0>≡最新话题≡</b></td>
  101.     <td class="header" width="25%" align="center"><b><img src={IMGDIR}/dot.gif BORDER=0>≡最新回复≡</b></td>
  102.     <td class="header" width="25%" align="center"><b><img src={IMGDIR}/dot.gif BORDER=0>≡热门话题≡</b></td>
  103.   </tr>
  104.   <tr>
  105.     <td class="altbg1" align="center"><iframe name="I1" src="pic.php" width="270" height="210" frameborder=0 scrolling=no marginwidth="9" marginheight="2" align="right"></iframe>
  106.     </td>
  107.     <td><!--{loop $new_post_threadlist $nthread}-->
  108.         <table border="0" width='100%' cellspacing="2">
  109.           <tr>
  110.             <td height="12" width='100%'><FONT face=Wingdings>z</FONT>
  111.                 <!--{if $nthread[replies]}-->
  112.                 <a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题标题: $nthread[subject] {LF}主题作者: $nthread[author]{LF}发表时间: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}最后回复: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]" >$nthread[view_subject]</a>
  113.                 <!--{else}-->
  114.                 <a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题标题: $nthread[subject] {LF}主题作者: $nthread[author]{LF}发表时间{lang time}: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}{lang replies}: 暂时没有回复" >$nthread[view_subject]</a>
  115.               <!--{/if}-->
  116.             </td>
  117.           </tr>
  118.         </table>
  119.       <!--{/loop}--></td>
  120.     <td><!--{loop $new_reply_threadlist $rthread}-->
  121.         <table border="0" width='100%' cellspacing="2">
  122.           <tr>
  123.             <td height="12" width='100%'><FONT face=Wingdings>z</FONT>  </font><a href="viewthread.php?tid=$rthread[tid]" $rthread['highlight'] title="最新回复 {LF}所在论坛: $rthread[forumname]{LF}主题标题: $rthread[subject]{LF}主题作者: $rthread[author]{LF}发表时间: $rthread[date]{LF}浏览次数: $rthread[views] 次{LF}回复次数: $rthread[replies] 次{LF}最后回复: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]">$rthread[view_subject]</a></td>
  124.           </tr>
  125.         </table>
  126.       <!--{/loop}--></td>
  127. <td>
  128. <!--{loop $new_hot_threadlist $mthread}-->
  129.         <table border="0" width='100%' cellspacing="2">
  130.           <tr>
  131.             <td height="12" width='100%'><FONT face=Wingdings>z</FONT>  </font><a href="viewthread.php?tid=$mthread[tid]" $mthread['highlight'] title="热门话题 {LF}所在论坛: $mthread[forumname]{LF}主题标题: $mthread[subject]{LF}主题作者: $mthread[author]{LF}发表时间: $mthread[date]{LF}浏览次数: $mthread[views] 次{LF}回复次数: $mthread[replies] 次{LF}最后回复: $mthread[lastreplytime]{LF}{lang lastpost}: $mthread[lastposter]">$mthread[view_subject]</a></td>         
  132.           </tr>
  133.         </table>
  134.       <!--{/loop}--></td>
  135.   </tr>
  136. </table></div>
  137. <!--首页四格结束-->

  138. <!--{if !empty($advlist['text'])}-->
  139.         <div style="clear: both; margin-top: 5px;">
  140.         <div class="spaceborder" style="width: {TABLEWIDTH}">
  141.         <table cellspacing="1" border="0" cellpadding="{TABLESPACE}" width="100%" style="background: {BGBORDER}">$advlist[text]</table>
  142.         </div><br></div>
  143. <!--{/if}-->

  144. <!--{loop $catlist $key $cat}-->
  145.         <!--{if $cat['forumscount']}-->
  146.                 <div>
  147.                 <div class="spaceborder spacebottom" style="width: {TABLEWIDTH}; clear: both; margin-top: 5px;"><table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center">
  148.                 <tr><td colspan="7" class="header" style="padding-left:20px">
  149.                 <div class="subtable" style="padding: 0px"><div class="right">
  150.                 <!--{if $cat['moderators']}--><font color="{HEADERTEXT}">{lang forum_category_modedby}: $cat[moderators]</font> <!--{/if}-->
  151.                 <a href="###" onclick="toggle_collapse('category_$cat[fid]');"><img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" border="0" alt="" /></a>&nbsp;
  152.                 </div><a href="$indexname?gid=$cat[fid]">$cat[name]</a></div>
  153.                 </td></tr>
  154.                 <!--{if !$cat['forumcolumns']}-->
  155.                 <TBODY id=category_$cat[fid]>
  156. <TR class=category align=middle>
  157. <TD width="5%"> </TD>
  158. <TD align=left width="56%">{lang forum_name}</TD>
  159. <TD width="35%" colSpan=3>{lang forum_lastpost}</TD></TR><!--{loop $cat[forums] $forumid}-->
  160.                 <!--{eval $forum=$forumlist[$forumid];}-->
  161.                 <tr class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
  162. <TD align=middle>$forum[folder]</TD>
  163. <TD class=subject align=left>$forum[icon]<A href="forumdisplay.php?fid=$forum[fid]"><SPAN class=bold>$forum[name]</SPAN></A> <BR><IMG height=5 src="{IMGDIR}/forumlin.gif"><BR><SPAN class=smalltxt>$forum[description] <!--{if $forum['subforums']}--><BR><SPAN class=bold>{lang forum_subforums}:</SPAN> $forum['subforums'] <!--{/if}--></SPAN></TD><!--{if $forum['permission'] == 1}-->
  164. <TD align=right width=12><IMG alt="{lang private_forum}" src="{IMGDIR}/topicnew.gif" border=0><BR><IMG alt="{lang private_forum}" src="{IMGDIR}/vote.gif" border=0><BR><IMG alt="{lang private_forum}" src="{IMGDIR}/tsale.gif" border=0> </TD>
  165. <TD width=4><IMG src="{IMGDIR}/last.gif"></TD>
  166. <TD noWrap align=left><IMG src="{IMGDIR}/ttopic.jpg"> = <SPAN class=smalltxt>{lang private_forum}</SPAN> <BR><IMG height=5 src="{IMGDIR}/forumlin2.gif"><BR><IMG src="{IMGDIR}/wirter.jpg"> = <SPAN class=smalltxt>{lang private_forum}</SPAN> <BR><IMG height=5 src="{IMGDIR}/forumlin2.gif"><BR></TD><!--{else}--><!--{if is_array($forum['lastpost'])}-->
  167. <TD align=right width=12><A href="post.php?action=newthread&fid=$forum[fid]&extra=page%3D1"><IMG alt=在本版发表新帖 src="{IMGDIR}/topicnew.gif" border=0></A><BR><A href="post.php?action=newthread&fid=$forum[fid]&extra=page%3D1&poll=yes"><IMG alt=在本版发起投票 src="{IMGDIR}/vote.gif" border=0></A><BR><A href="forumdisplay.php?fid=$forum[fid]&filter=digest"><IMG alt=查看本版的精华帖 src="{IMGDIR}/tsale.gif" border=0></A> </TD>
  168. <TD width=4><IMG src="{IMGDIR}/last.gif"></TD>
  169. <TD title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" noWrap align=left><IMG src="{IMGDIR}/ttopic.jpg"> = <SPAN class=smalltxt><A title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost">$forum[lastpost][subject1]</A></SPAN> <BR><IMG height=5 src="{IMGDIR}/forumlin2.gif"><BR><IMG src="{IMGDIR}/wirter.jpg"> =<!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}-->  <A href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><FONT color=#88b500>($forum[lastpost][dateline])</FONT></A> <BR><IMG height=5 src="{IMGDIR}/forumlin2.gif"><BR></TD>
  170. <!--{else}-->
  171. <TD align=middle><SPAN class=smalltxt>{lang never}</SPAN></TD><!--{/if}--><!--{/if}--></TR>
  172. <TR class=row>
  173. <TD bgColor=#f3f3f3 height=10></TD>
  174. <TD bgColor=#f3f3f3 height=10><IMG src="{IMGDIR}/moderator.gif"> $forum[moderators]</TD>
  175. <TD bgColor=#f3f3f3 colSpan=3 height=10><IMG alt=主题总数 src="{IMGDIR}/i_topic.gif"> <FONT color=#9933cc>$forum[threads]</FONT> <IMG alt=帖子总数 src="{IMGDIR}/i_post.gif"> <FONT color=#0099ff>$forum[posts]</FONT> <IMG alt=今日帖数 src="{IMGDIR}/i_today.gif"> <FONT color=#ff3399>$forum[todayposts]</FONT></TD></TR><!--{/loop}-->
  176.                 <!--{else}-->
  177.                         <tbody id="category_$cat[fid]" style="$collapse['category_'.$cat[fid]]"><tr class="altbg2">
  178.                         <!--{loop $cat['forums'] $forumid}-->
  179.                                 <!--{eval $forum=$forumlist[$forumid];}-->
  180.                                 <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
  181.                                         </tr>
  182.                                         <!--{if $forum['orderid'] < $cat['forumscount']}-->
  183.                                                 <tr class="altbg2">
  184.                                         <!--{/if}-->
  185.                                 <!--{/if}-->
  186.                                 <td width="$cat[forumcolwidth]" class="altbg2" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">
  187.                                 <a href="forumdisplay.php?fid=$forum[fid]"><span class="bold">$forum[name]</span></a><br>
  188.                                 <span class="smalltxt"><div style="float:left;width: 33%; padding-top: 6px;">{lang forum_threads}: $forum[threads]</div><div style="float:left;width: 33%; padding-top: 6px;">{lang forum_posts}: $forum[posts]</div><div style="float:left;width: 33%; padding-top: 6px;">{lang forum_todayposts}: $forum[todayposts]</div></span>
  189.                                 </td>
  190.                         <!--{/loop}-->
  191.                         $cat['endrows']
  192.                 <!--{/if}-->
  193.                 </tbody></table></div><br></div>
  194.         <!--{/if}-->
  195. <!--{/loop}-->
  196. <div>
  197. {template show_poststar}
  198. <!--{if empty($gid) && ($_DCACHE['forumlinks'] || $whosonlinestatus || $bdaystatus == 1 || $bdaystatus == 3)}-->
  199.         <div class="spaceborder" style="width: {TABLEWIDTH}"><table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center">
  200.         <!--{if $_DCACHE['forumlinks']}-->
  201.                 <tbody><tr><td colspan="3" class="header"><a href="###" onclick="toggle_collapse('forumlinks');"><img id="forumlinks_img" src="{IMGDIR}/$collapseimg[forumlinks]" border="0" align="right" alt="" /></a>
  202.                 <span class="bold">{lang board_links}</span></td></tr></tbody>
  203.                 <tbody id="forumlinks" style="$collapse[forumlinks]">
  204.                 <!--{loop $_DCACHE['forumlinks'] $flink}-->
  205.                         <!--{if $flink['type'] == 1}-->
  206.                                 <tr class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
  207.                                 <td width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif" alt="" /></td>
  208.                                 <td width="77%" valign="middle">$flink[content]</td>
  209.                                 <td width="18%" align="center" valign="middle"><img src="$flink[logo]" border="0" alt="" /></td>
  210.                                 </tr>
  211.                         <!--{elseif $flink['type'] == 2}-->
  212.                                 <tr class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
  213.                                 <td width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif" alt="" /></td>
  214.                                 <td width="95%" colspan="2" valign="middle" style="word-break: keep-all">$flink[content]</td>
  215.                                 </tr>
  216.                         <!--{else}-->
  217.                                 <tr class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
  218.                                 <td width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif" alt="" /></td>
  219.                                 <td width="95%" colspan="2" valign="middle" style="word-break: keep-all">$flink[content]</td>
  220.                                 </tr>
  221.                         <!--{/if}-->
  222.                 <!--{/loop}-->
  223.                 </tbody>
  224.         <!--{/if}-->

  225.         <!--{if $maxbdays}-->
  226.                 <tbody><tr><td colspan="3" class="header"><a href="###" onclick="toggle_collapse('birthdays');"><img id="birthdays_img" src="{IMGDIR}/$collapseimg[birthdays]" align="right" border="0" alt="" /></a>
  227.                 <a href="member.php?action=list&amp;type=birthdays"><span class="bold">{lang todays_birthdays}</span></a></td></tr></tbody>
  228.                 <tbody id="birthdays" style="$collapse[birthdays]">
  229.                 <tr class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
  230.                 <td width="5%" align="center" valign="middle"><img src="{IMGDIR}/birthday.gif" alt="" /></td>
  231.                 <td width="95%" colspan="2" valign="middle" style="word-break: keep-all">
  232.                 <!--{if $_DCACHE['birthdays_index']['todaysbdays']}-->$_DCACHE[birthdays_index][todaysbdays]<!--{else}-->{lang todays_birthdays_none}<!--{/if}-->
  233.                 </td></tr>
  234.                 </tbody>
  235.         <!--{/if}-->

  236.         <!--{if $supe_status && $supe_maxupdateusers && $_DCACHE['supe_updateusers']}-->
  237.                 <tbody><tr><td colspan="3" class="header"><a href="###" onclick="toggle_collapse('supe_maxupdateusers');"><img id="supe_maxupdateusers_img" src="{IMGDIR}/collapsed_no.gif" align="right" border="0" alt="" /></a>
  238.                 <a href="$supe_siteurl" target="_blank"><span class="bold">{lang supe_updateusers}</span></a></td></tr></tbody>
  239.                 <tbody id="supe_maxupdateusers">
  240.                 <tr class="row" onMouseOver="this.className='row1'" onMouseOut="this.className='row'">
  241.                 <td width="5%" align="center" valign="middle"><img src="{IMGDIR}/supe_updateusers.gif" alt="" /></td>
  242.                 <td width="95%" colspan="2" valign="middle" style="word-break: keep-all">
  243.                 <!--{loop $_DCACHE['supe_updateusers'] $supe_updateuser}-->
  244.                         <a href="$supe_siteurl/?uid/{$supe_updateuser[uid]}" target="_blank">{$supe_updateuser[username]}</a>
  245.                 <!--{/loop}-->
  246.                 </td></tr>
  247.                 </tbody>
  248.         <!--{/if}-->

  249.         <!--{if $whosonlinestatus}-->
  250.                 <!--{if $detailstatus}-->
  251.                         <tbody><tr class="header"><td colspan="3" class="smalltxt" style="font-weight: normal; color: {HEADERTEXT}">
  252.                         <a name="online"></a><a href="$indexname?showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif" align="right" border="0" alt="" /></a>
  253.                         <span class="bold"><a href="member.php?action=online">{lang index_activeusers}</a></span> -
  254.                         &nbsp;<span class="bold">$onlinenum</span> {lang onlines} - <span class="bold">$membercount</span> {lang index_members}(<span class="bold">$invisiblecount</span> {lang index_invisibles}),
  255.                         <span class="bold">$guestcount</span> {lang index_guests} | {lang index_mostonlines} <span class="bold">$onlineinfo[0]</span> {lang on} <span class="bold">$onlineinfo[1]</span>.
  256.                         </td></tr></tbody>
  257.                 <!--{else}-->
  258.                         <tbody><tr class="header"><td colspan="3" class="smalltxt" style="font-weight: normal; color: {HEADERTEXT}">
  259.                         <a name="online"></a><a href="$indexname?showoldetails=yes#online"><img src="{IMGDIR}/collapsed_yes.gif" align="right" border="0" alt="" /></a>
  260.                         <span class="bold"><a href="member.php?action=online">{lang index_activeusers}</a></span> -
  261.                         &nbsp;{lang total} <span class="bold">$onlinenum</span> {lang onlines} | {lang index_mostonlines} <span class="bold">$onlineinfo[0]</span> {lang on} <span class="bold">$onlineinfo[1]</span>.
  262.                         </td></tr></tbody>
  263.                 <!--{/if}-->
  264.                 <tbody>
  265.                 <tr class="altbg2">
  266.                 <td width="5%" align="center"><img src="{IMGDIR}/online.gif" alt="" /></td>
  267.                 <td colspan="2">
  268.                 <table cellspacing="0" cellpadding="0" border="0" width="98%" align="center">
  269.                 <tr><td colspan="7" valign="middle">$_DCACHE[onlinelist][legend]</td></tr>
  270.                 <!--{if $detailstatus}-->
  271.                         <tbody><tr><td colspan="7"><hr class="line" size="0"></td></tr><tr><td nowrap>
  272.                         <!--{if $whosonline}-->
  273.                                 <!--{loop $whosonline $key $online}-->
  274.                                         <!--{if $key % 7 == 0}--></td></tr><tr><td width="15%" nowrap><!--{else}--></td><td width="15%" nowrap><!--{/if}-->
  275.                                         <img src="images/common/$online[icon]"  alt="" />
  276.                                         <!--{if $online['uid']}-->
  277.                                                 <a href="viewpro.php?uid=$online[uid]"
  278.                                                 <!--{else}-->
  279.                                                 <a href="###"
  280.                                         <!--{/if}-->title="{lang time}: $online[lastactivity]{LF}
  281.                                         {lang action}: $online[action]
  282.                                         <!--{if $online['fid']}-->{LF}{lang forum}: $online[fid]<!--{/if}-->
  283.                                         ">$online[username]</a>
  284.                                 <!--{/loop}-->
  285.                         <!--{else}-->
  286.                                 &nbsp; &nbsp; {lang online_only_guests}
  287.                         <!--{/if}-->
  288.                 <!--{/if}-->
  289.                 </td></tr></tbody></table></td></tr>
  290.         <!--{/if}-->
  291.         </table></div><br><br></div>
  292. <!--{/if}-->

  293. <div class="tableborder" style="width: 300px; padding: 9px; background-color: {ALTBG1}"><span class="smalltxt">
  294. <img src="{IMGDIR}/red_forum.gif" class="absmiddle" alt="" />&nbsp; {lang forum_newposts}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  295. <img src="{IMGDIR}/forum.gif" class="absmiddle" alt="" />&nbsp; {lang forum_nonewpost}</span></div>

  296. <div class="popupmenu_popup" id="creditlist_menu" style="display: none">
  297. <table cellpadding="4" cellspacing="0" border="0">
  298. <tr><td title='nohighlight' class="popupmenu_option">
  299. {lang credits}: $credits<br>
  300. <!--{loop $extcredits $id $credit}-->
  301. $credit[title]: $GLOBALS[extcredits.$id] $credit[unit]<br>
  302. <!--{/loop}-->
  303. </td></tr></table></div>

  304. {template footer}
复制代码
回复

使用道具 举报

 楼主| 奇跡の海 发表于 2007-3-26 11:03:05 | 显示全部楼层
此改法只适合横排2个的情况!(对于include/forum.func.php的修改必须做,才能调用)
将其中的:

  1.                                         <!--{if $forum['orderid'] < $cat['forumscount']}-->
  2.                                                 <tr class="altbg2">
  3.                                         <!--{/if}-->
  4.                                 <!--{/if}-->
  5.                                 <td width="$cat[forumcolwidth]" class="altbg2" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">
  6.                                 <a href="forumdisplay.php?fid=$forum[fid]"><span class="bold">$forum[name]</span></a><br>
  7.                                 <span class="smalltxt"><div style="float:left;width: 33%; padding-top: 6px;">{lang forum_threads}: $forum[threads]</div><div style="float:left;width: 33%; padding-top: 6px;">{lang forum_posts}: $forum[posts]</div><div style="float:left;width: 33%; padding-top: 6px;">{lang forum_todayposts}: $forum[todayposts]</div></span>
  8.                                 </td>
复制代码


替换为:

  1. <!--{if $forum['orderid'] < $cat['forumscount']}-->
  2.                                                 <tr class="altbg2">
  3.                                         <!--{/if}-->
  4.                                 <!--{/if}-->
  5.                                 <td width="$cat[forumcolwidth]" valign="top" class="altbg2" onMouseOver="this.style.backgroundColor='{ALTBG1}'"

  6. onMouseOut="this.style.backgroundColor='{ALTBG2}'">
  7.                                 <table cellspacing="0" cellpadding="0" width="100%">
  8.                                 <tr><td rowspan="3" align="center" width="15%">$forum[folder]</td><td colspan="3" class="bold subject"><a

  9. href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></td></tr>
  10.                                
  11.                                 <!--{if is_array($forum['lastpost'])}-->
  12.                                         <!--首页横版显示最后发表标题--BY seaomc.com.cn>
  13. <TD align=left width=1>$forum[icon]
  14. <A href="post.php?action=newthread&fid=$forum[fid]&extra=page%3D1"><IMG alt=在本版发表新帖 src="{IMGDIR}/topicnew.gif" border=0></A><BR><A href="post.php?

  15. action=newthread&fid=$forum[fid]&extra=page%3D1&poll=yes"><IMG alt=在本版发起投票 src="{IMGDIR}/vote.gif" border=0></A><BR><A href="forumdisplay.php?

  16. fid=$forum[fid]&filter=digest"><IMG alt=查看本版的精华帖 src="{IMGDIR}/tsale.gif" border=0></A>&nbsp;&nbsp;</td>
  17. <TD title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" noWrap align=left><IMG src="{IMGDIR}/ttopic.jpg"> = <SPAN

  18. class=smalltxt><A title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" href="redirect.php?tid=$forum[lastpost][tid]

  19. &goto=lastpost#lastpost">$forum[lastpost][subject1]</A></SPAN> <BR><IMG height=5 src="{IMGDIR}/forumlin2.gif"><BR><IMG src="{IMGDIR}/wirter.jpg"> =<!--{if

  20. $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}-->  <A href="redirect.php?tid=$forum[lastpost][tid]

  21. &goto=lastpost#lastpost"><FONT color=#88b500>($forum[lastpost][dateline])</FONT></A> <BR></TD>
  22. <!--首页横版显示最后发表标题--BY seaomc.com.cn>
  23.                                 <!--{else}-->
  24.                                         {lang never}
  25.                                 <!--{/if}-->
  26.                                 </td></tr><tr class="smalltxt"><td>{lang forum_threads}: $forum[threads]</td><td>{lang forum_posts}: $forum[posts]</td><td>

  27. {lang forum_todayposts}: $forum[todayposts]</td></tr></table>
  28.                                 </td>
复制代码
回复

使用道具 举报

520yuqi99 发表于 2007-3-26 11:09:15 | 显示全部楼层
样子不错 改的太多
回复

使用道具 举报

龙逆天 发表于 2007-3-26 11:40:03 | 显示全部楼层
无用...............
回复

使用道具 举报

阿冰啊 发表于 2007-3-26 16:26:44 | 显示全部楼层
:cool: :cool: :cool:
———————————落伍签名im286.com
签名位招租30元一月签名位招租30元一月
站长如何加入GOOGLE联盟月赚一万
回复

使用道具 举报

buhuien 发表于 2007-3-26 16:46:09 | 显示全部楼层
谢谢,成功了,但是缺少 last.gif 图片,绝对上传了,就是没显出来,就横版没有,其他的有

给你地址帮我看看

http://bbs.qizhou.net.cn
回复

使用道具 举报

 楼主| 奇跡の海 发表于 2007-3-26 17:24:17 | 显示全部楼层
仔细看看你覆盖的代码!因为子版改的代码非常多!!你的原码我看不到!但是的确少了!

                  <TD width=4><div style="float:left;text-align:left;"><a href="redirect.php?tid=$sub[lastpost][tid]&goto=lastpost#lastpost"><img src="{IMGDIR}/last.gif" border="0"></a></div></TD>

看看这句有无
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-2 07:20 , Processed in 0.320916 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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