Problem bei Bonuspunkte Mod
Verfasst: 06.07.2009 13:24
Ich habe seit längeren einen selbstprogrammierten Bonuspunkte Mod und wollte diesen jetzt vollkommen einbauen. Dazu habe ich eine Datei Names bp_view.html gemacht und in den Templates Ordner gesteckt, ich habe auch überprüft ob die "Begriffe" an die Template gesendet wird. Aber es geht immer noch nicht:
Wenn ihr weitere Codes benötigt einfach sagen. Die Fehlermeldung:
Code: Alles auswählen
<div id="inhalt">
<h2>Bonuspunkte - {S_TITLE}</h2><br />
{S_TITLE} hat zurzeit <span style="background-color: <!-- IF S_USERPNTS >= 1 -->#CAFFA0<!-- ENDIF --><!-- IF S_USERPNTS <= -1 -->#FFAFA0<!-- ENDIF --><!-- IF S_USERPNTS == 0 -->#EEEEEE<!-- ENDIF -->; padding: 5px; border: 1px solid #000000;">{S_USERPNTS}</span>
<br /><br />
<table class="table" cellspacing="1" cellpadding="4">
<tr class="tb_head">
<td>Bonuspunkte</td>
<td>Bewerter</td>
<td>Kommentar</td>
<!-- BEGIN bpentry -->
<tr class="tb_d1">
<td colspan="3"><!-- IF bpentry.BP_NONE -->{S_TITLE} hat noch keine Bonuspunkte erhalten!</td>
<!-- ELSE -->
<table class="table" cellspacing="1" cellpadding="4">
<tr class="tb_head">
<td>Bonuspunkte</td>
<td>Bewerter</td>
<td>Kommentar</td>
<tr class="tb_d1">
<!-- IF bpentry.BP_DELETED -->
<td colspan="3" style="background-color:#ffffcc;">Bewertung ({bpentry.BP_NUMBER} von {bpentry.BP_AUTHOR}) wurde von einen Moderator gelöscht.</td>
<!-- ELSE -->
<td style="background-color: <!-- IF bpentry.BP_NUMBER >= 1 -->#CAFFA0<!-- ENDIF --><!-- IF bpentry.BP_NUMBER <= -1 -->#FFAFA0<!-- ENDIF --><!-- IF bpentry.BP_NUMBER == 0 -->#EEEEEE<!-- ENDIF -->; padding: 5px; border: 1px solid #000000;">{bpentry.BP_NUMBER}</td>
<td>{bpentry.BP_AUTHOR}</td>
<td>{bpentry.BP_REASON}</td>
<!-- ENDIF -->
</tr>
</table>
<!-- END bpentry -->
<!-- IF BP_RATE --><a href="{BP_RATE_LINK}">Bewerten</a><!-- ENDIF -->
</div>
Code: Alles auswählen
arse error: syntax error, unexpected $end in /srv/www/httpd/phost/p/de/pytalhost/pokeplatz/web/forum/includes/template.php(187) : eval()'d code on line 31