Autor Zpráva
george11
Profil
převedl jsem tento html:

<a href="http://www.toplist.cz/stat/753366"><script language="JavaScript" type="text/javascript">
<!--
document.write ('<img src="http://toplist.cz/count.asp?id=753366&logo=mc&http='+escape(top.d ocument.referrer)+'&wi='+escape(window.screen.width)+'&he='+escape(win dow.screen.height)+'&cd='+escape(window.screen.colorDepth)+'&t='+escap e(document.title)+'" width="88" height="60" border=0 alt="TOPlist" />');
//--></script><noscript><img src="http://toplist.cz/count.asp?id=753366&logo=mc" border="0"
alt="TOPlist" width="88" height="60" /></noscript></a>

do PHP:

echo "<a href=\"http://www.toplist.cz/stat/753366\"><script language=\"JavaScript\" type=\"text/javascript\">\n";
echo "<!--\n";
echo "document.write (\'<img src=\"http://toplist.cz/count.asp?id=753366&logo=mc&http=\'+escape(top .document.referrer)+\'&wi=\'+escape(window.screen.width)+\'&he=\'+esca pe(window.screen.height)+\'&cd=\'+escape(window.screen.colorDepth)+\'& t=\'+escape(document.title)+\'\" width=\"88\" height=\"60\" border=0 alt=\"TOPlist\" />\'); \n";
echo "//--></script><noscript><img src=\"http://toplist.cz/count.asp?id=753366&logo=mc\" border=\"0\"\n";
echo "alt=\"TOPlist\" width=\"88\" height=\"60\" /></noscript></a>\n";

ale když to dam do php fusion, přesněji: když si vytvořím novej panel a chci tam dát tenhle kod tak mi to nejde, nevím proč...
MYsthiC
Profil *
zkus to takhle:

echo '
<a href="http://www.toplist.cz/stat/753366"><script language="JavaScript" type="text/javascript">
<!--
document.write ('<img src="http://toplist.cz/count.asp?id=753366&logo=mc&http='+escape(top.d ocument.referrer)+'&wi='+escape(window.screen.width)+'&he='+escape(win dow.screen.height)+'&cd='+escape(window.screen.colorDepth)+'&t='+escap e(document.title)+'" width="88" height="60" border=0 alt="TOPlist" />');
//--></script><noscript><img src="http://toplist.cz/count.asp?id=753366&logo=mc" border="0"
alt="TOPlist" width="88" height="60" /></noscript></a> ';
george11
Profil
nejde vypisuje to tuhle chybu:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/free/ic.cz/b/bigtorrent/root/www/administration/panel_editor.php (111) : eval()'d code on line 5

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0