Fehlermeldung Parse Error

Flashstar
Hi

ihc habe eine Fehlermeldung und habe die profile.php und die dazugehörige tpl geschaut aber nix gefunden! Und weiß nich weiter! Die Fehlermeldung wenn man auf ein Profil klickt!

"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /is/htdocs/52729/www.opel-online.de/profile.php(232) : eval()'d code on line 25"

hoffe man kann mir helfen!
eichi
poste doch bitte mal dein Template Profile

danke
Flashstar
na klar ups das fehlte! Versagt

<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</title>
$headinclude

<script type="text/javascript">
<!--
function rating(userid) {
window.open("misc.php?action=userrating&userid="+userid+"{$SID_ARG_2ND_UN}"
, "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
//-->
</script>
</head>

<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tablea_fc">
<td align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a> &raquo; {$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left" colspan="2"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td style="width:100%" align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</b></spa
n></td>
<td style="width:200px" align="center" nowrap="nowrap"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CAPTION']}</b></s
pan></td>
</tr>
</table></td>
</tr>
<tr>
<td class="tablea" style="width:100%"><table style="width:100%" class="tablea_fc">
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_REGDATE']}</b></s
pan></td>
<td><span class="normalfont">$regdate</span></td>
</tr>
<tr align="left">
<td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_RANK']}</b></span
></td>
<td><span class="normalfont">$user_info[ranktitle] $rankimages</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_POSTS']}</b></spa
n></td>
<td><span class="normalfont">$user_info[userposts] ({$lang->items['LANG_MEMBERS_PROFILE_POSTSPERDAY']})</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTACTIVITY']}</
b></span></td>
<td><span class="normalfont">$la_date <span class="{time}">$la_time</span></span></td>
</tr>

<if($userlocation!="")>
<then>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></
span></td>
<td><span class="normalfont">$userlocation</span></td>
</tr>
</then>
</if>

<if($showlastpost==1)>
<then>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTPOST']}</b></
span></td>
<td><span class="normalfont"><b>&raquo; <a href="thread.php?postid=$lastpost[postid]{$SID_ARG_2ND}#post$lastpost[posti
d]">$lastpost[topic]</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_MEMBERS_PROFILE_POSTED_ON']} $lastpostdate <span class="time">$lastposttime</span><br />
{$lang->items['LANG_MEMBERS_PROFILE_FORUM']} <b><a href="board.php?boardid=$lastpost[boardid]{$SID_ARG_2ND}">$lastpost[title]<
/a></b></span></td>
</tr>
</then>
</if>
<if($userp['userid'])><then>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<if($userp['maxpicuploadzahl'] > 0)><then>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GAL']} </b></span></td>
<td><span class="normalfont">$userp[maxpicuploadzahl]&nbsp;&raquo;&nbsp;<a href="./userpage_show.php?action=showpage&type=showgalerie&userid=$user_inf
o[userid]{$SID_ARG_2ND}">{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GALER
IELINK']} $user_info[username]</a></span></td>
</tr>
</then></if>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GB']} </b></span></td>
<td><span class="normalfont">$userp[gbeintrag]&nbsp;&raquo;&nbsp;<a href="./userpage_show.php?action=showpage&amp;type=showgb&amp;userid=$user_
info[userid]{$SID_ARG_2ND}">{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GB
LINK']} $user_info[username]</a></span></td>
<tr>
</then></if>

<if($userp['userid'])><then>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GAL']}&n
bsp;</b></span></td>
<td><span class="normalfont">$userp[maxpicuploadzahl]</span></td>
</tr>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GB']}&nb
sp;</b></span></td>
<td><span class="normalfont">$userp[gbeintrag]</span></td>
<tr>
</then></if>
<if($userp['userid'])>
<then>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GAL']} </b></span></td>
<td><span class="normalfont">$userp[maxpicuploadzahl]</span></td>
</tr>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_USERPAGE_GB']} </b></span></td>
<td><span class="normalfont">$userp[gbeintrag]</span></td>
<tr>
</then></if>

<if($showlanguageinprofile==1)>
<then>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LANGUAGE']}</b></
span></td>
<td><span class="normalfont">$languagepackname</span></td>
</tr>
</then>
</if>

<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ICQ']}</b></span>
</td>
<td><span class="normalfont">$user_info[icq]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_AIM']}</b></span>
</td>
<td><span class="normalfont">$user_info[aim]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_YIM']}</b></span>
</td>
<td><span class="normalfont">$user_info[yim]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_MSN']}</b></span>
</td>
<td><span class="normalfont">$user_info[msn]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_EMAIL']}</b></spa
n></td>
<td><span class="normalfont">$useremail</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_HOMEPAGE']}</b></
span></td>
<td><span class="normalfont">$userhomepage</span></td>
</tr>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_GENDER']}</b></sp
an></td>
<td><span class="normalfont">$gender</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_BIRTHDAY']}</b></
span></td>
<td><span class="normalfont">$birthday</span></td>
</tr>
<if($profilefields)>
<then>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
</then>
</if>
$profilefields
</table></td>
<td class="tableb" style="width:200px" align="center">$useravatar<br /><span class="normalfont">$user_text</span>$userrating<br />$userlevel<p>$kennzbit<br /><if($user_online==1)>
<then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USERONLINE']}" title="{$lang->items['LANG_MEMBERS_USERONLINE']}" /></then>
<else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" title="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" /></else>
</if></p><img src="{$style['imagefolder']}/spacer.gif" width="159" height="1" border="0" alt="" title="" /></td>
</tr>
<tr>
<td class="tabletitle" colspan="2"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CONTACT']}</b></s
pan></td>
<td align="right">

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

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

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

<a href="usercp.php?action=buddy&amp;add=$user_info[userid]{$SID_ARG_2ND}"><im
g src="{$style['imagefolder']}/homie.gif" border="0" alt="{$lang->items['LANG_MEMBERS_BUDDY']}" title="{$lang->items['LANG_MEMBERS_BUDDY']}" /></a></td>
</tr>
</table></td>
</tr>
</table>
<if(checkAdminPermissions("a_can_users_edit") || checkAdminPermissions("a_can_users_delete"))>
<then>
<p align="center"><span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ADMINOPTIONS']}</b
>
<if(checkAdminPermissions("a_can_users_edit"))><then><a href="acp/index.php?url=users.php%3Faction%3Dedit%26userid%3D$user_info[use
rid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USEREDIT']}</a></then><
/if>
<if(checkAdminPermissions("a_can_users_edit") && checkAdminPermissions("a_can_users_delete"))><then> | </then></if>
<if(checkAdminPermissions("a_can_users_delete"))><then><a href="acp/index.php?url=users.php%3Faction%3Ddelete%26userid%5B%5D%3D$user_
info[userid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USERDEL']}</a></then></
if></span></p>
</then>
</if>
$footer
</body>
</html>
?>
KleenMicha
Hast du die datei local bearbeitet und dann hochgeladen?
Es sieht so aus als wären nicht alle tags geschlossen gewesen.
Und: "?>" gehört nicht ins Template.
Im Anhang gibts mal en korrigierte Fassung.

Übrigens hab ichs mal ins richtige Forum verschoben.
Flashstar
wow Micha es funktioniert! Dank dir! nun gibt es aber noch ein Problem und zwar wenn jemand kein Avatar hat und ich auf dessen Profil gehe sehe ich mein eigenes! weißt du/ihr woran es liegt!?
KleenMicha
Ach dass is doch putzig großes Grinsen .

Spaß bei seite, hast du irgendwas an der: ./profile.php verändert?
Flashstar
ja habe wegen de rUserpage was rumgefummelt ud diese scheint Probleme zu machen! habe sie mal angehangen.... vielleicht kannst ja mal ei Blick drauf werfen?!
KleenMicha
Sieht aber soweit korrekt alles aus.

Sonstige Änderungen an Datein, bzw Templates die was mit dem Profil zutun haben hast du nicht gemacht?
Flashstar
habe nur die von MErides und Stepreis die Userpage die momentan nicht wirklich funktioniert eingebaut und da musste auch was in der profile.tpl geändert werden!

Edit: es muss ja was mit den Avataren zu tu haben! ich weiß nicht warum das WBB meins anzeigt, wenn der User keins hat! ansonsten wenn der User eins hat ist seins auch drin!

Edit2:

habe es jetzt anders gelöst und zwar wird jetzt für jeden der kein avatar drin hat eine kleines NoAvatar angezeigt und damit ist gut! Dank dir trotzdem für die Hilfe! großes Grinsen