Profil aufrufen Fehler

SamSemillia
Dies ist eine vorgefertigte Schablone.
Bitte fülle soviel aus, wie dir nur Möglich ist, du kannst auch gerne noch mehr Angaben machen.


Problembeschreibung:
Wenn man ein Profil aufrufen will (also auf den Usernamen klickt) kommt eine, anscheinend MySQL, Fehlermeldung


Fehlermeldung:
Parse error: parse error, unexpected ':' in /homepages/41/d168839551/htdocs/wbb2/profile.php(227) : eval()'d code on line 264

Link zum Forum oder Screenshot:


Was wurde zuletzt geändert oder eingebaut?
Umstellung auf das wBB vom vB.
Letzter Einbau: Der Style und die Shoutbox (XundY)

Hoffe, es kann jemand helfen...
blackeagle1075
in der zeile 227 wird ein template aufgerufen, was in der zeile 264 ein fehler hat. poste das mal
SamSemillia
Das ist das Template:

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:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
<?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}", "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="0" cellspacing="4" border="0" style="width:{$style['tableinwidth']}" align="center">
<tr>
<td style="width:200px" valign="top">
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:200px" class="tableinborder">
 <tr>
  <td class="tabletitle" align="left"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
   <tr class="tabletitle_fc">
    <td style="width:200px" align="center" nowrap="nowrap"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CAPTION']}</b></span></td>
   </tr>
  </table></td>
 </tr>
<tr>
  <td class="tablea" style="width:200px" align="center">$useravatar<br />
<span class="normalfont">$user_text</span></td>
 </tr>
<tr>
  <td class="tableb" style="width:200px" align="center">
<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>
</td>
 </tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" style="width:100%">
<tr>
<td align="left" style="heigth: 16"><img src="images_hanf/untenlinks2.gif" alt="" title="" /></td>
<td style="width:100%" background="images_hanf/bgunten2.gif"></td>
<td align="right" style="heigth: 16"><img src="images_hanf/untenrechts2.gif" alt="" title="" /></td>
</tr>
</table>
<br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:200px" class="tableinborder">
 <tr>
  <td class="tabletitle" align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CONTACT']}</b></span></td>
 </tr>
 <tr>
  <td class="tablea" align="center"><span class="normalfont">    <if($user_info['showemail']==0 && $user_info['usercanemail']==1)>
     <then><a href="formmail.php?userid=$user_info[userid]&amp;sid=$session[hash]"><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]&amp;sid=$session[hash]"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$lang->items['LANG_MEMBERS_PM']}" title="{$lang->items['LANG_MEMBERS_PM']}" /></a></then></if>
<br /> ----------- <br />       
    <a href="search.php?action=user&amp;userid=$user_info[userid]&amp;sid=$session[hash]"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$lang->items['LANG_MEMBERS_SEARCH']}" title="{$lang->items['LANG_MEMBERS_SEARCH']}" /></a>
<br /> ----------- <br />  
    <a href="usercp.php?action=buddy&amp;add=$user_info[userid]&amp;sid=$session[hash]"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$lang->items['LANG_MEMBERS_BUDDY']}" title="{$lang->items['LANG_MEMBERS_BUDDY']}" /></a></td>
 </tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" style="width:100%">
<tr>
<td align="left" style="heigth: 16"><img src="images_hanf/untenlinks2.gif" alt="" title="" /></td>
<td style="width:100%" background="images_hanf/bgunten2.gif"></td>
<td align="right" style="heigth: 16"><img src="images_hanf/untenrechts2.gif" alt="" title="" /></td>
</tr>
</table>
<if(checkAdminPermissions("a_can_users_edit") || checkAdminPermissions("a_can_users_delete"))>
<then>
<br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:200px" class="tableinborder">
 <tr>
  <td class="tabletitle" align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ADMINOPTIONS']}</b></span></td>
 </tr>
 <if(checkAdminPermissions("a_can_users_edit"))><then>
 <tr>
  <td class="tablea" align="center"><span class="smallfont"><a href="acp/index.php?url=users.php%3Faction%3Dedit%26userid%3D$user_info[userid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USEREDIT']}</a></span>
</td>
 </tr>
</then></if>
<if(checkAdminPermissions("a_can_users_delete"))><then>
<tr>
  <td class="tableb" align="center"><span class="smallfont"><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></span>
</td>
 </tr>
</then></if>
</table>
<table cellspacing="0" cellpadding="0" border="0" style="width:100%">
<tr>
<td align="left" style="heigth: 16"><img src="images_hanf/untenlinks2.gif" alt="" title="" /></td>
<td style="width:100%" background="images_hanf/bgunten2.gif"></td>
<td align="right" style="heigth: 16"><img src="images_hanf/untenrechts2.gif" alt="" title="" /></td>
</tr>
</table>
</then>
</if>
</td>
<td style="width:100%" valign="top">
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
 <tr>
  <td class="tabletitle" align="left"><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></span></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></span></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]</span></td>
   </tr>
   <tr align="left">
    <td valign="top"><span class="normalfont"><b>Rangzeichen:</b></span></td>
    <td><span class="normalfont">$rankimages</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_POSTS']}</b></span></td>
    <td><span class="normalfont">$user_info[userposts] ({$lang->items['LANG_MEMBERS_PROFILE_POSTSPERDAY']})</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_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>

   <tr>
    <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
   </tr>
   <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]&amp;sid=$session[hash]#post$lastpost[postid]">$lastpost[topic]</a></b></span><br />
      <span class="smallfont">{$lang->items['LANG_MEMBERS_PROFILE_POSTED_ON']} $lastpostdate <span class="time">$lastposttime</span><br />
      Forum: <b><a href="board.php?boardid=$lastpost[boardid]&amp;sid=$session[hash]">$lastpost[title]</a></b></span></td>
     </tr>
    </then>
   </if>
<if($gender!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <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></span></td>
    <td><span class="normalfont">$gender</span></td>
   </tr>
</then>
</if>
<if($birthday!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <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>
</then>
</if>
<if($user_info[icq]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'] || $user_info[aim]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'] || $user_info[yim]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'] || $user_info[msn]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'] || $useremail!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'] || $userhomepage!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
<then>
     <tr>
      <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
     </tr>
</then>
</if>
<if($user_info[icq]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <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>
    </then> 
   </if>
<if($user_info[aim]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <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>
    </then> 
   </if>
<if($user_info[yim]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <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>
    </then> 
   </if>
<if($user_info[msn]!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <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>
    </then> 
   </if>
<if($useremail!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <tr align="left">
    <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_EMAIL']}</b></span></td>
    <td><span class="normalfont">$useremail</span></td>
   </tr>
    </then> 
   </if>
<if($userhomepage!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
   <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>
    </then> 
   </if>
   <if($profilefields)>
    <then>
<if($profilefields!=$lang->items['LANG_MEMBERS_PROFILE_NODECLARATION'])> 
    <then> 
     <tr>
      <td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
     </tr>
    </then>
   </if>
    </then>
   </if>
   $profilefields
    </then>
   </if>					
  </table>
</td>
 </tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" style="width:100%">
<tr>
<td align="left" style="heigth: 16"><img src="images_hanf/untenlinks2.gif" alt="" title="" /></td>
<td style="width:100%" background="images_hanf/bgunten2.gif"></td>
<td align="right" style="heigth: 16"><img src="images_hanf/untenrechts2.gif" alt="" title="" /></td>
</tr>
</table>
</td>
</tr>
</table>
$footer
</body>
</html>
meeeeeeeep
Versuch mal bitte dieses Template:
SamSemillia
Zitat:
Original von meeeeeeeep
Versuch mal bitte dieses Template:


Als was? Als Template "profile"?
meeeeeeeep
Als Ersatz für das Template was du oben gepostet hast.

Und wenn ich das richtig sehe ist es das Profile template
SamSemillia
Klappt wunderbar, danke smile
meeeeeeeep
Bitte, es war ein </then></if> am Ende zuviel.