Bildmodul mit Popup Link
Verfasst: Di 25. Mai 2004, 15:14
Habe folgendes Modul zurecht gefummelt:
Die Darstellung funzt nur kann ich die Artikel jetzt nicht mehr edtieren... )o:
Errorlog spuckt das aus:
Jemand eine Ahnung was falsch ist?
Code: Alles auswählen
<?php
if ("CMS_IMG[2]" != "") {
$img = '<img src="CMS_IMG[2]" border="0">';
if ("CMS_LINK[2]" != "http://") {
echo "<a href=\"#\" onClick=\"openWindow('CMS_LINK[2]','detail','scrollbars=yes,resizable=yes,width=700,height=500')\">";
echo $img;
echo "</a>";
} else {
echo $img;
}
}
echo "<br>";
echo "<b>CMS_IMGDESCR[2]</b>";
echo "<br>";
echo "CMS_LINKDESCR[2]";
echo "<br>";
?>
Errorlog spuckt das aus:
Code: Alles auswählen
[25-Mai-2004 16:07:03] PHP Parse error: parse error, unexpected $ in /opt/web34/html/contenido/includes/functions.mod.php(155) : eval()'d code on line 31
[25-Mai-2004 16:07:08] PHP Parse error: parse error, unexpected $ in /opt/web34/html/contenido/includes/functions.mod.php(155) : eval()'d code on line 31
[25-Mai-2004 16:07:17] PHP Parse error: parse error, unexpected $ in /opt/web34/html/contenido/includes/functions.mod.php(155) : eval()'d code on line 31
[25-Mai-2004 16:07:31] PHP Parse error: parse error, unexpected $ in /opt/web34/html/contenido/includes/functions.mod.php(155) : eval()'d code on line 31
[25-May-2004 16:13:19] PHP Parse error: parse error, unexpected '<' in /opt/web34/html/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 275