Hab Mist gemacht, Tabellen um on/off Grafiken verschoben

Shackles
Ich habe mal wieder zu viel rumgebastelt.

Habe von rellek den Hack Spaltenfarbe, Zeilenfarbe eingebaut.
Dann habe ich alles rückgängig gemacht indem ich ein Backup eingespielt und die PHP Dateien ausgetauscht habe und nun hab ich trotzdem einen Fehler drin.

Habe an der acp/lib/functions.php und an der index_boardbit.tpl rumgebastelt, nun habe ich das Problem, dass die Tabellen um die on/off Grafiken vor den Foren teilweise verschoben sind.

Hier der Link zum anschauen: http://www.borderline-forum.net/index.php

Kann jemand helfen?
Biggi
Poste mal bitte das Template index_boardbit.
Da fehlt offenbar eine Breitenangabe für die Spalte mit den onoff.gifs.
Shackles
Ok, mache ich doch mal.
Biggi
Probier's mal bitte damit:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
<tr>
 <if($depth == 1)>
  <then>
  
   <td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>6</then><else>5</else></if>"</then><else> colspan="2"</else></if>><table cellpadding="0" cellspacing="0">
    <tr class="tablea_fc">
     <td style="width:20px;"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" />&nbsp;&nbsp;</td>
     <td align="left"><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
      <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
    </tr>
   </table></td>
  
  </then>
  
  <else>
  
  
  <if($depth == 2)>
   <then>
  
   <td class="tableb" align="center" style="width:20px;"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /></td>
   <td align="left" class="tablea"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
    <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if>
    
    <if(isset($favorites) && $favorites)>
     <then><br /><b><a href="newthread.php?boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_NEWTHREAD']}</a> <a href="usercp.php?action=removesubscription&amp;boardid=$boards[boardid]{$SID_ARG_2ND}">{$lang->items['LANG_START_UNSUBSCRIBE']}</a></b></then>
    </if>
    
    </span></td>
 
  </then>
  
  <else>
  
   <td class="tableb" align="center">&nbsp;</td>
   <td class="tablea" align="left"<if($boards['externalurl'] != '')><then> colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>"</then></if>><table cellpadding="0" cellspacing="0">
    <tr class="tablea_fc">
     <td style="width:20px;"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" />&nbsp;&nbsp;</td>
     <td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]{$SID_ARG_2ND}"><b>$boards[title]</b></a></span><span class="smallfont">
      <if($boards['description']!="")><then><br />$boards[description]</then></if><if($subboardbit!="")><then><br />{$lang->items['LANG_START_INCLUSIVE']} $subboardbit</then></if><if(isset($boards['useronline']) && $boards['useronline'])><then><br />($boards[useronline])</then></if></span></td>
    </tr>
   </table></td>
  
  </else>
  </if>
  
  </else>
 </if>
 
 <if($boards['externalurl'] == '')><then>
 
 <td class="tableb" align="center" nowrap="nowrap"><span class="normalfont">$boards[postcount]</span></td>
 <td class="tablea" align="center" nowrap="nowrap"><span class="normalfont">$boards[threadcount]</span></td>
 <td class="tableb" nowrap="nowrap" align="left"><if($boards['threadcount']!=0)>
  
  <then>
   <if($showlastposttitle==1)>
    <then>
    
     <table border="0" cellspacing="0" cellpadding="0">
      <tr align="left" class="tableb_fc">
       <td nowrap="nowrap">&nbsp;&nbsp;$ViewPosticon&nbsp;</td>
       <td nowrap="nowrap"><span class="smallfont"><if($boards['threadprefix']!="" && $permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><span class="prefix">$boards[threadprefix]</span><br /></then></if> <if($permissioncache[$boards['boardid']]['can_enter_board'] && $boards['password']=="")><then><b><a href="thread.php?goto=lastpost&amp;threadid=$boards[lastthreadid]{$SID_ARG_2ND}" title="$boards[topic]">$topic</a></b></then><else><b>{$lang->items['LANG_START_UNKNOWN']}</b></else></if><br />$lastpostdate <span class="time">$lastposttime</span>&nbsp;{$lang->items['LANG_START_FROM']}&nbsp;<if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
      </tr>
     </table>
    
    </then>
    <else>
    
     <table style="width:100%">
      <tr class="tableb_fc">
       <td nowrap="nowrap" align="right" style="width:100%"><span class="smallfont">$lastpostdate <span class="time">$lastposttime</span><br />{$lang->items['LANG_START_FROM']} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]{$SID_ARG_2ND}">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
       <td><a href="thread.php?goto=lastpost&amp;threadid=$boards[lastthreadid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/lastpost.gif" border="0" alt="{$lang->items['LANG_START_GOTO_LASTPOST']}" title="{$lang->items['LANG_START_GOTO_LASTPOST']}" /></a></td>
      </tr>
     </table>
    
    </else>
   </if>
  </then>
  
  <else>
   <div align="center"><span class="smallfont">{$lang->items['LANG_START_NOPOSTS']}</span></div>
  </else>
  
 </if></td>
 <if($hide_modcell==0 && (!isset($favorites) || !$favorites))><then><td class="tablea" align="center"><span class="smallfont"><if($moderatorbit!="")><then>$moderatorbit</then><else>&nbsp;</else></if></span></td></then></if>
 
 </then></if>
</tr>
Shackles
Ja,funzt bestens! smile

[IMG]http://i105.photobucket.com/albums/m223/pusteblume80/danke/danke.jpg[/
IMG]
Biggi
Immer gerne. smile