Fehler in der Global.php

lycoos
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:
Meistens wenn ich in der NAvigation einen Link einbauen möchte kommt diese Fehlermdeldung

Fehlermeldung:
Parse error: parse error, unexpected T_STRING, expecting ']' in /home/www/web380/html/Forum/global.php(209) : eval()'d code on line 59


Link zum Forum oder Screenshot:
web380.rionic.net


Was wurde zuletzt geändert oder eingebaut?
Ich habe einen Link eingebau



schonmal danke für die hilfe

mfg

feger
Radiation
Du hast einen Fehler im Template gemacht (also da wo du den Link eingebaut hast). Wenn du uns den Code für den Link zeigst können wir ihnn korrigieren.
lycoos
man will sich ja helfen lassen

php:
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:
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>
<td class="mainpage" align="center" colspan="2">
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr> 
     <td align="left" style="background-image: url({$style['imagefolder']}/top_bg.gif); height:31px;"></td>
    </tr>
<tr>

    <td style="background-image:url('{$style['logoimage']}'); background-repeat:no-repeat; background-position:center;height:120px" align="center"> </td>
    </tr>
<tr> 
     <td align="left" style="background-image: url({$style['imagefolder']}/top_bg.gif); height:31px;"></td>
    </tr>
</table>
</td>
</tr>

<tr>
<td class="navi_bg" valign="top"><br />
<table cellpadding="0" cellspacing="0" border="0">
<tr>

<td style="background-image: url({$style['imagefolder']}/content_shadow.gif); background-repeat: repeat-x; height:16px;"> </td>
</tr>


<tr>
<td><img src="{$style['imagefolder']}/menu_navigation.gif" border="0" width="155" height="16" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/menu_shadow.gif); background-repeat: repeat-x;">
<span class="smallfont"><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="index.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_TOINDEX']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="search.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_SEARCH']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="misc.php?action=faq{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_FAQ']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="team.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_TEAM']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="memberslist.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_MEMBERSLIST']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="calendar.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_CALENDAR']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="wiw.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_SHOWUSERONLINE']}</a><br /><br /></span>



</td>
</tr>
<tr>
<td>
<img src="{$style['imagefolder']}/menu_<if($wbbuserdata[userid])><then>userbox</then><else>gaestebox</else></if>.gif" border="0" width="155" height="16" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="left" style="background-image: url({$style['imagefolder']}/menu_shadow.gif); background-repeat: repeat-x;">
<span class="smallfont">
<if($wbbuserdata[userid])><then><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="usercp.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_USERCP']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="logout.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_LOGOUT']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="guthaben.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_GUTH]}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="lottozahlen.php{$SID_ARG_21ST}">{$lang->items['LANG_GLOBAL_LOTTO']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_PMS']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="usercp.php?action=favorites{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_FAVORITES']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="profile.php?userid={$wbbuserdata['userid']}{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_MYPROFILE']}</a><br /></then>
<else><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="register.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_REGISTER']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="login.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_LOGIN']}</a><br />
</else></if>

<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1) || ($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then>
<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then>&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="acp/index.php{$SID_ARG_1ST}" target="_blank">
<span class="prefix">{$lang->items['LANG_GLOBAL_ACP']}</span></a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then>&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="acp/index.php{$SID_ARG_1ST}" target="_blank"><span class="prefix">{$lang->items['LANG_GLOBAL_MODCP']}</span></a></then></if><br/>
</then></if>
<br /></span>
</td>
</tr>

<tr>
<td>
<img src="{$style['imagefolder']}/menu_partner.gif" border="0" width="155" height="16" align="middle" alt="" title="" />
</td>
</tr>
<tr>
<td align="center" style="background-image: url({$style['imagefolder']}/menu_shadow.gif); background-repeat: repeat-x;">
<span class="smallfont"><br /><br />
<a href="http://www.planet-wbb.de" target="_blank"><img src="http://www.planet-wbb.de/banner/miniplanet_2.gif" border="0" alt="Planet wBB" title="Planet wBB" /></a></span>
<a href="todolist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_todolist.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TODOLIST']}" title="{$lang->items['LANG_GLOBAL_TODOLIST']}" /></a>
</td>
</tr>
</table>
</td>

<td class="mainpage" align="center" valign="top" style="width:100%" > 
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td style="background-image: url({$style['imagefolder]}/content_shadow.gif); background-repeatrepeat-xheight:16px;"> </td></tr></table>
<br />
    <table style="width100%;" border="0" cellpadding="0" cellspacing="0">
       <tr>
         <td align="left" style="width15px"></td>
         <td align="center">


das ist das gesamt .tpl

und das hier sind die links die ich eingebaut habe

php:
1:
2:
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="guthaben.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_GUTH]}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="lottozahlen.php{$SID_ARG_21ST}">{$lang->items['LANG_GLOBAL_LOTTO]}</a><br />


mfg

feger
chrime
php:
1:
2:
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none;" href="guthaben.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_GUTH']}</a><br />
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none;" href="lottozahlen.php{$SID_ARG_21ST}">{$lang->items['LANG_GLOBAL_LOTTO']}</a><br />
lycoos
kannst du mir bitte auch sagen woran es gelegen hat
chrime
klar, also bei dir war die 1st zeile so:
php:
1:
&nbsp;&nbsp;<b>&raquo;</b> <a style="text-decoration: none" href="guthaben.php{$SID_ARG_1ST}">{$lang->items[LANG_GLOBAL_GUTH]}</a><br />

Dort habe ich dann erstma bei
php:
1:
text-decorationnone"
ein ; nach none gemacht, aber das entscheidene lag hier:
php:
1:
{$lang->items[LANG_GLOBAL_GUTH]}
Es fehlte ein ' nach GUTH
lycoos
danke für die schnellen tollen antworten