Kategorie mit Themen, Beiträge in eine Zeile

=[sks_SacrEd92]=
Problembeschreibung:
Standardmäßig gibt es auf der Startseite des Forums zwei Leisten.
Erste Leiste: Foren, Beiträge, Themen, Letzter Beitrag
Zweite Leiste: Kategoriename


Fehlermeldung:
keine


Link zum Forum oder Screenshot:
Link nicht möglich, da es auf dem Localho(r)st ist.
Screenshot im Anhang


Ziel der Aktion:
Aus den beiden Leisten soll eine werden und darf sich nicht verschieben.
Der Rahmen für die Tabellen soll außerhalb schwarz sein, innerhalb gar keiner.
Weiße Überschriften.


index_catbit.tpl
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:
<if($depth == 1)>
 <then>

</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder" background="images/fp/cellpic.png">
<if($show_hide=="1")><then>
 <tr>
  <td class="forentitel"><span class="normalfont">&nbsp;&nbsp;&nbsp;&nbsp;<if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if>&nbsp;</span></td>
  <td class="forentitel" style="width:<if($hide_modcell==0)><then>80</then><else>100</else></if>%" 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></span></td>
  <td class="forentitel" align="center" style="width:60px;" width="60"><span class="smallfont"><b>{$lang->items['LANG_START_POSTS']}</b></span></td>
  <td class="forentitel" align="center" style="width:60px" width="60"><span class="smallfont"><b>{$lang->items['LANG_START_THREADS']}</b></span></td>
  <td class="forentitel" align="center" nowrap="nowrap" style="width:240px" width="240"><span class="smallfont"><b>{$lang->items['LANG_START_LASTPOST']}</b></span></td>
  <if($hide_modcell==0)><then><td class="tabletitle" style="width:20%" align="center"><span class="smallfont"><b>{$lang->items['LANG_START_MODERATORS']}</b></span></td></then></if>
 </tr>
</then></if>
 
 </then>
  <else>
  
  <if($depth == 2)>
   <then>
 
 <tr>
 <td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" border="0" /></td>
 <td class="tablecat" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left"><table cellpadding="0" cellspacing="0">
  <tr class="tablecat_fc">
   <td><span class="normalfont">&nbsp;<if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if>&nbsp;</span></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></span></td>
  </tr>
 </table></td>
</tr>
 
 </then>
  
  <else>
 
 <tr>
 <td class="tableb" align="center">&nbsp;</td>
 <td class="tablecat" colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" align="left">
  <table cellpadding="0" cellspacing="0">
   <tr class="tablecat_fc">
    <td><img src="{$style['imagefolder']}/$onoff.gif" border="0" alt="" title="" /></td>
    <td><span class="normalfont">&nbsp;<if($show_hide == 1)><then><a href="$current_url"><img src="{$style['imagefolder']}/minus.gif" border="0" alt="{$LANG_START_DEACTIVATE_CAT}" title="{$LANG_START_DEACTIVATE_CAT}" /></a></then><else><if($show_hide == 2)><then><a href="$current_url"><img src="{$style['imagefolder']}/plus.gif" border="0" alt="{$LANG_START_SHOWCAT}" title="{$LANG_START_SHOWCAT}" /></a></then></if></else></if>&nbsp;</span></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></span></td>
   </tr>
  </table>
 </td>
</tr>
 
 
 </else>
  </if>
  
  </else>
 </if>
mkkcs
ähm,

normalerweise solltest Du die width-Angaben auch im index_boardbit haben, damit Du die nachfolgenden getrennten Kategorien auf gleiche Breiten setzt !
=[sks_SacrEd92]=
Und was ist mit dem Rahmen?

Ich glaub ich bin dafür einfach zu Blond Versagt

edit//
hier meine orginale index_boardbit ... kann mir das bitte jmd machen?
hab lange dran gefummelt
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><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"><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><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>