Guck mal bitte auf
http://niezsite.com/board
Ich habe dein Hack ausprobiert, aber irgentwie hab ich was falsch gemacht, also ich hab alles gemacht!
Bloß bei der index_boardbit.tpl, als ich da was verändert habe, ist alles verutscht, kannst du mal gucken,
ich hab die aktuelle mit umänderung mal mit bei gepackt:
Hier die index_boardbit.tpl :
Code
- <tr>
- <switch($depth)>
- <case(1)>
- <td align="left" class="tablea" style="width:<if($hide_modcell==0 && (!isset($favorites) || !$favorites))><then>80</then><else>100</else></if>%" colspan="2"><table cellpadding="0" cellspacing="0">
- <tr class="tablea_fc">
- <td align="center"><img src="{$style['imagefolder']}/$boards[boardid]_icon.gif" alt="" title="" /></td>
- <td><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /> </td>
- <td align="left"><span class="normalfont"><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><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>
- </case>
- <case(2)>
- <td class="tableb" align="center"><img src="{$style['imagefolder']}/$boards[boardid]_icon.gif" alt="" title="" /></td><td class="tableb" align="center"><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /></td>
- <td align="left" class="tablea" style="width:<if($hide_modcell==0 && (!isset($favorites) || !$favorites))><then>80</then><else>100</else></if>%"><span class="normalfont"><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><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=$session[hash]">{$lang->items['LANG_START_NEWTHREAD']}</a> <a href="usercp.php?action=removesubscription&boardid=$boards[boardid]&sid=$session[hash]">{$lang->items['LANG_START_UNSUBSCRIBE']}</a></b></then>
- </if>
- </span></td>
- </case>
- <default>
- <td class="tableb" align="center"> </td>
- <td class="tablea" style="width:<if($hide_modcell==0 && (!isset($favorites) || !$favorites))><then>80</then><else>100</else></if>%" align="left"><table cellpadding="0" cellspacing="0">
- <tr class="tablea_fc">
- <td align="center"><img src="{$style['imagefolder']}/$boards[boardid]_icon.gif" alt="" title="" /></td><td><img src="{$style['imagefolder']}/$onoff.gif" alt="" title="" /> </td>
- <td><span class="normalfont"><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><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>
- </default>
- </switch>
- <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> $ViewPosticon </td>
- <td nowrap="nowrap"><span class="smallfont"><if($boards['threadprefix']!="" && $permissioncache[$boards['boardid']]['can_view_board'] && $boards['password']=="")><then><span class="prefix">$boards[threadprefix]</span> </then></if> <if($permissioncache[$boards['boardid']]['can_view_board'] && $boards['password']=="")><then><b><a href="thread.php?goto=lastpost&threadid=$boards[lastthreadid]&sid=$session[hash]" title="$boards[topic]">$topic</a></b></then><else><b>{$lang->items['LANG_START_UNKNOWN']}</b></else></if><br />$lastpostdate <span class="time">$lastposttime</span> {$lang->items['LANG_START_FROM']} <if($boards['lastposterid'])><then><b><a href="profile.php?userid=$boards[lastposterid]&sid=$session[hash]">$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=$session[hash]">$boards[lastposter]</a></b></then><else>$boards[lastposter]</else></if></span></td>
- <td><a href="thread.php?goto=lastpost&threadid=$boards[lastthreadid]&sid=$session[hash]"><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" style="width:20%" align="center"><span class="smallfont"><if($moderatorbit!="")><then>$moderatorbit</then><else> </else></if></span></td></then></if>
- </tr>
Die Tabellen sind alle Veruscht!
Aber das andere Funktioniert, also ein Bild kann man auch schon reinstellen!
MfG Niez