Einbau von Affilinet-Code funktioniert nicht

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Angelcurse
Mitglied
Beiträge: 35
Registriert: 20.08.2005 21:05
Wohnort: Wolfshagen
Kontaktdaten:

Einbau von Affilinet-Code funktioniert nicht

Beitrag von Angelcurse »

Hallo,

ich habe bereits einen Code für das buecher.de-Partnerprogramm in meinem Board. Er läuft über Affilinet.

Nun wollte ich auch einen Rotationsbanner zu audible.de einbauen und habe den Code ebenfalls in die overall_header.tpl eingebaut.

Fazit ist folgende Fehlermeldung:

Parse error: syntax error, unexpected T_STRING in /www/htdocs/inylo/wanderbuch/includes/template.php(127) : eval()'d code on line 85


Komischerweise wurde an der template.php nichts verändert.
Hier der Code meiner overall_header.tpl:

Code: Alles auswählen

<?xml version="1.0" encoding="{S_CONTENT_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="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/fisubice/{T_HEAD_STYLESHEET}" type="text/css" />

<!-- BEGIN switch_enable_pm_popup -->
<script type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->

</head>

<body>

<table align="center" width="900px"><tr><td>
<a name="top" id="top"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr> 
<td><a href="{U_PORTAL}"><img src="{I_LOGO}" border="0" alt="{L_INDEX}" vspace="1" class="imgspace" title="{L_INDEX}" width="240" height="110" /></a></td>
<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}</span><br />&nbsp;</td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td align="center" class="topnav">
&nbsp;<a href="{U_PORTAL}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_HOME}" hspace="3" />{L_HOME}</a>&nbsp; 
&nbsp;<a href="{U_FAQ}"><img src="templates/fisubice/images/icon_mini_faq.gif" border="0" alt="{L_FAQ}" width="12" height="13" class="imgspace" title="{L_FAQ}" hspace="3" />{L_FAQ}</a>
&nbsp; • &nbsp;<a href="{U_SEARCH}"><img src="templates/fisubice/images/icon_mini_search.gif" border="0" alt="{L_SEARCH}" width="12" height="13" class="imgspace" title="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>
&nbsp; • &nbsp;<a href="{U_MEMBERLIST}"><img src="templates/fisubice/images/icon_mini_members.gif" border="0" alt="{L_MEMBERLIST}" width="12" height="13" class="imgspace" title="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>
&nbsp; • &nbsp;<a href="{U_GROUP_CP}"><img src="templates/fisubice/images/icon_mini_groups.gif" border="0" alt="{L_USERGROUPS}" width="12" height="13" class="imgspace" title="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>

<!-- BEGIN topic_calendar -->&nbsp; • &nbsp;<a href="{U_CALENDAR}"><img src="{I_CALENDAR}" border="0" alt="{L_CALENDAR}" title="{L_CALENDAR}" hspace="3" />{L_CALENDAR}</a>&nbsp; <!-- END topic_calendar -->
</td>
</tr>
<tr>
<td align="center" class="topnav">
<!-- BEGIN switch_user_logged_out -->

&nbsp;<a href="{U_REGISTER}"><img src="templates/fisubice/images/icon_mini_register.gif" border="0" alt="{L_REGISTER}" width="12" height="13" class="imgspace" title="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>
<!-- END switch_user_logged_out -->

&nbsp; • &nbsp;<a href="{U_PROFILE}"><img src="templates/fisubice/images/icon_mini_profile.gif" border="0" alt="{L_PROFILE}" width="12" height="13" class="imgspace" title="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>
&nbsp; • &nbsp;<a href="{U_PREFERENCES}"><img src="templates/fisubice/images/icon_mini_preferences.gif" border="0" alt="{L_PREFERENCES}" width="12" height="13" class="imgspace" title="{L_PREFERENCES}" hspace="3" />{L_PREFERENCES}</a>
&nbsp; • &nbsp;<a href="{U_PRIVATEMSGS}"><img src="templates/fisubice/images/icon_mini_message.gif" border="0" alt="{PRIVATE_MESSAGE_INFO}" width="12" height="13" class="imgspace" title="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>
&nbsp; • &nbsp;<a href="{U_LOGIN_LOGOUT}"><img src="templates/fisubice/images/icon_mini_login.gif" border="0" alt="{L_LOGIN_LOGOUT}" width="12" height="13" class="imgspace" title="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp; 
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>
{CALENDAR_BOX}

<div align="center">
<!-- START PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK -->
<a href="http://partners.webmasterplan.com/click.asp?ref=274977&site=3780&type=b6&bnb=6"  target="_blank">
<img src="http://banners.webmasterplan.com/view.asp?ref=274977&site=3780&b=6" border="0" alt="buecher.de - Bücher - Online - Portofrei" width="468" height="60"/></a><br>
<!-- ENDE PARTNER PROGRAM -->

<!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK -->
<a href="http://partners.webmasterplan.com/click.asp?ref=274977&site=3582&type=b8&bnb=8"  target="_blank">
<img src="http://banners.webmasterplan.com/view.asp?ref=274977&site=3582&b=8" border="0" alt="Audible - Hörbücher und Audiomagazine zum Download." width="728" height="90"/></a><br>
<!-- END PARTNER PROGRAM -->
</div>
</body>
Kann mir bitte jemand helfen?
Danke vorab :)

LG
Katharina
Benutzeravatar
punkface
Mitglied
Beiträge: 3579
Registriert: 12.08.2004 23:37

Beitrag von punkface »

Hallo

Entfern mal

Code: Alles auswählen

<!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK --> 

Code: Alles auswählen

<!-- END PARTNER PROGRAM --> 
Und nebenbei auch noch

Code: Alles auswählen

</body>
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“