Parse error: syntax error, unexpected ':'

Jojonas
Hi,
ich hatte etwas an einem selbstgebauten Template gebastelt, die Templates danach exportiert und erhielt folgende Meldung:

Fehlermeldung:
Parse error: syntax error, unexpected ':' in /mnt/web8/51/00/569400/htdocs/lsf/thread.php(305) : eval()'d code on line 37

Link zum Forum oder Screenshot:
http://www.learn-seafight.com/thread.php?postid=238#post238

Was wurde zuletzt geändert oder eingebaut?
Zuletzt eingebaut hab ich einiges, W00tsSweetProfile, den Signatur Hack, den permalink hack usw.
An der thread.php kanns nicht liegen, denn selbst mit der originalen gehts nicht.

Jonas
Bräke
In Zeile 305 wird ein Template in der tread.php aufgerufen, dieses hat in Zeile 37 einen Fehler.
So wirds vieleicht sein.
Jojonas
<br />

<table cellspacing="0" cellpadding="0" border="0"><tr>
<if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if>
<td align="left"><img src="{$style['imagefolder']}/oben_links.gif" alt="" title="" /></td>
<td style="width:100%" class="obengrafik" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/oben_rechts.gif" alt="" title="" /></td>
</tr></table>

<table cellpadding="0" cellspacing="0" border="0" style="width:100%"><tr><if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if><td width="100%"><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
<tr align="center">
<td class="$tdclass" valign="top"><a name="post$posts[postid]" id="post$posts[postid]"></a>
<table style="width:100%" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%" class="smallfont" align="center"><if($posts['userid'])><then><span class="normalfont"><b><a href="<if($wbbuserdata['userid'])><then>profile.php?userid=$posts[userid]{$
SID_ARG_2ND}</then><else>mitglied$posts[userid].html</else></if>">$posts[us
ername]</a>
</b></span> <if($posts['gender'] == 1)><then><img src="{$style['imagefolder']}/male.gif" border="0" alt="{$LANG_THREAD_MALE}" title="{$LANG_THREAD_MALE}" /></then></if>
<if($posts['gender'] == 2)><then><img src="{$style['imagefolder']}/female.gif" border="0" alt="{$LANG_THREAD_FEMALE}" title="{$LANG_THREAD_FEMALE}" /></then></if><br />
<if($useravatar!="")><then><br /><br />$useravatar</then><else>

<br /><br />

<table cellpadding="0" cellspacing="2" border="0" width="150px">
<if($rankimages!="")><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="center"><span class="smallfont">$rankimages</span></td></tr></table></td></tr></then></if
>
<tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="left"><span class="smallfont"><b>Rang:</b> $posts[ranktitle]</span></td></tr></table></td></tr>
<if($showuserpostsinthread==1)><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="left"><span class="smallfont"><b>Posts:</b> $posts[userposts]</span></td></tr></table></td></tr></then></if>
<if($showregdateinthread==1)><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="left"><span class="smallfont"><b>Dabei seit:</b> $posts[regdate]</span></td></tr></table></td></tr></then></if>
$userfields

<if($userrating!="")><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="center">$userrating</td></tr></table></td></tr></then></if>
<if($userlevel)><then><tr><td align="center"><table cellpadding="2" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:80%" class="tableinborder"><tr><td class="tablea" align="center">$userlevel</td></tr></table></td></tr></then></if>

</table>

<if($threadstarter==1)><then><br />{$lang->items['LANG_THREAD_THREADSTARTER']} <img src="{$style['imagefolder']}/threadstarter.gif" border="0" alt="{$LANG_THREAD_THREADSTARTER_ALT}" title="{$LANG_THREAD_THREADSTARTER_ALT}" /></then></if>
$verwarnungen
</then>
<else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}</span></else>
</if>


<br /><img src="{$style['imagefolder']}/spacer.gif" width="159" height="1" border="0" alt="" title="" /></td>
</tr>
</table>
</td>
<td class="$tdclass" valign="top" style="width:100%">
<table style="width:100%" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%" class="normalfont" align="left">
<table style="width:100%" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td><span class="smallfont">$posticon <b>$posts[posttopic]</b></span></td>
<td align="right" nowrap="nowrap"><a href="addreply.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/replypost.gif" border="0" alt="{$lang->items['LANG_THREAD_REPLYPOST']}" title="{$lang->items['LANG_THREAD_REPLYPOST']}" /></a> <a href="addreply.php?action=quote&amp;postid=$posts[postid]{$SID_ARG_2ND}"><i
mg src="{$style['imagefolder']}/quote.gif" border="0" alt="{$lang->items['LANG_THREAD_QUOTE']}" title="{$lang->items['LANG_THREAD_QUOTE']}" /></a> <a href="editpost.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/editpost.gif" border="0" alt="{$lang->items['LANG_THREAD_EDITPOST']}" title="{$lang->items['LANG_THREAD_EDITPOST']}" /></a> <a href="report.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/report.gif" border="0" alt="{$lang->items['LANG_THREAD_REPORT']}" title="{$lang->items['LANG_THREAD_REPORT']}" /></a>$verwarnung &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<if($wbbuserdata['a_can_view_ipaddress'
]==1)><then><a href="misc.php?action=viewip&amp;postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/ip.gif" border="0" alt="{$lang->items['LANG_THREAD_VIEWIP']}" title="{$lang->items['LANG_THREAD_VIEWIP']}" /></a> </then></if><a href="java script:self.scrollTo(0,0);"><img src="{$style['imagefolder']}/goup.gif" border="0" alt="{$lang->items['LANG_THREAD_GOUP']}" title="{$lang->items['LANG_THREAD_GOUP']}" /></a></td>
</tr>
</table><hr size="{$style['tableincellspacing']}" class="threadline" />
$posts[message]
$attachments
$signature
<if($posts['editorid'])><then><p><span class="smallfont">{$LANG_THREAD_EDITOR}</span></p></then></if>
<if($invisible==1)><then><p align="right"><span class="normalfont">{$lang->items['LANG_THREAD_INVISIBLE']}</span></p></then
></if>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="$tdclass" align="center" nowrap="nowrap"><span class="smallfont">
<if($newpost==1)>
<then><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticonnew.gif" border="0" alt="{$lang->items['LANG_THREAD_NEWPOST']}" title="{$lang->items['LANG_THREAD_NEWPOST']}" /></a></then>
<else><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticon.gif" border="0" alt="" title="" /></a></else>
</if>
$postdate <span class="time">$posttime</span></span></td>
<td class="$tdclass" align="left" style="width:100%" valign="middle"><span class="smallfont">
<if($posts['userid'])>
<then>
<if($showonlineinthread==1)>
<then>
<if($user_online==1)>
<then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></then>
<else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></else>
</if>
</then>
</if>

<if($posts['showemail']==1)>
<then><a href="mailto:$posts[email]"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
<else>
<if($posts['usercanemail']==1)>
<then><a href="formmail.php?userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
</if>
</else>
</if>

<if($posts['homepage'])>
<then><a href="$posts[homepage]" target="_blank"><img src="{$style['imagefolder']}/www.gif" border="0" alt="{$LANG_MEMBERS_HOMEPAGE}" title="{$LANG_MEMBERS_HOMEPAGE}" /></a></then>
</if>

<a href="search.php?action=user&amp;userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$LANG_MEMBERS_SEARCH}" title="{$LANG_MEMBERS_SEARCH}" /></a>

<a href="usercp.php?action=buddy&amp;add=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$LANG_MEMBERS_BUDDY}" title="{$LANG_MEMBERS_BUDDY}" /></a>

<if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&amp;userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$LANG_MEMBERS_PM}" title="{$LANG_MEMBERS_PM}" /></a></then></if>

<if($posts['icq'])><then><a href="http://web.icq.com/whitepages/add_me/1,,,00.icq?uin=$posts[icq]&amp;a
ction=add"><img src="http://web.icq.com/whitepages/online?icq=$posts[icq]&amp;img=5" width="18" height="18" border="0" alt="{$LANG_MEMBERS_ICQ}" title="{$LANG_MEMBERS_ICQ}" /></a></then></if>

<if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&amp;message=Hi.+Are+you+there?"><img src="{$style['imagefolder']}/aim.gif" border="0" alt="{$LANG_MEMBERS_AIM}" title="{$LANG_MEMBERS_AIM}" /></a></then></if>

<if($posts['yim'])><then><a href="http://edit.yahoo.com/config/send_webmesg?.target=$posts[yim]&amp;.sr
c=pg"><img src="{$style['imagefolder']}/yim.gif" border="0" alt="{$LANG_MEMBERS_YIM}" title="{$LANG_MEMBERS_YIM}" /></a></then></if>

<if($posts['msn'])><then><a href="http://members.msn.com/?mem=$posts[msn]"><img src="{$style['imagefolder']}/msn.gif" border="0" alt="{$LANG_MEMBERS_MSN}" title="{$LANG_MEMBERS_MSN}" /></a></then></if>

</then>
</if>
</span></td>
</tr>
</table></td></tr></table>

<table cellspacing="0" cellpadding="0" border="0"><tr>
<if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if>
<td align="left"><img src="{$style['imagefolder']}/unten_links.gif" alt="" title="" /></td>
<td style="width:100%" class="untenmitte" align="center"></td>
<td align="right"><img src="{$style['imagefolder']}/unten_rechts.gif" alt="" title="" /></td>
</tr></table>

Das ist die Threadpostbit, aber ich seh den Fehler nich.
Zeile 37.
Bräke
Ja, da sieht man mal garnüscht. Augenzwinkern So findet man auch keine Zeilen und durchwuseln tu ich mich da jetzt nicht.

Poste das Template bitte im BB-Code "Code" (Button mit der Raute) oder hänge es an.
code:
1:
<table cellspacing="0" cellpadding="0" border="0"><tr>