Html Problem Dringend!!!

SplazZ
Hi!

Ich bin kein großes HTML Genie und will bei meinem Forum den Header so:

LINKES ENDSTÜCK - REPEATSTÜCK - LOGO - RECHTS ENDSTÜCK

aber das geht mit meinem code nicht ganz, wäre dankbar wenn mir jemand weiterhelfen könnte:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
<table width="{tableoutwidth}" cellpadding=0 cellspacing=1 align="center" border=0 bgcolor="{tableoutbordercolor}">
 <tr>
  <td bgcolor="{mainbgcolor}" align="center">
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>

<img src="images/dma/logolinks.gif" align="left"> <td {imageback} width="100%" align="center">
<a href="index.php?sid=$session[hash]">{imagelogo}</a></td><img src="images/dma/logorechts.gif" align="right">
    </tr>
    <tr>
     <td width="100%" align="center" background="{imagefolder}/navback.gif" nowrap><img src="{imagefolder}/navend.gif" border="0"><smallfont>$usercp_or_register<a href="memberslist.php?sid=$session[hash]"><img src="{imagefolder}/top_members.gif" border=0 alt="Mitgliederliste"></a><a href="portal.php?sid=$session[hash]"><img src="{imagefolder}/top_portal.gif" border=0 alt="Portal"></a><a href="search.php?sid=$session[hash]"><img src="{imagefolder}/top_search.gif" border=0 alt="Suche"></a><a href="misc.php?action=faq&sid=$session[hash]"><img src="{imagefolder}/top_faq.gif" border=0 alt="H&auml;ufig gestellte Fragen"></a><a href="misc.php?action=impressum"><img src="{imagefolder}/top_impressum.gif" border=0 alt="Impressum"></a>$header_acp<a href="index.php?sid=$session[hash]"><img src="{imagefolder}/top_start.gif" border=0 alt="Zur Startseite"></a></font></td>
    </tr>
   </table><br>
   <table cellpadding=4 cellspacing=1 border=0 width="{tableinwidth}" bgcolor="{tableinbordercolor}">
fantasywwe
wens noch aktuell ist, schick mir mal ne pn!