TheJeffsta
New Member
- Messages
- 984
- Reaction score
- 0
- Points
- 0
Ok, im currently having trouble adding the ad code to my website. It is using PHP-Fusion. I have tried making a new Panel, but when I put the code
'<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:1&target=_blank");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a></noscript>'
into the panel content box, I click 'Preview Panel' and then where it previews the Panel it displays an error in the Panel instead of the ad.
Error: '
Parse error: syntax error, unexpected '<' in /home/jeffreyn/public_html/administration/panel_editor.php(110) : eval()'d code on line 1'
Can someone please help me place the ads?
Note: Preferably before I get suspended for not having the ads
'<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:1&target=_blank");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a></noscript>'
into the panel content box, I click 'Preview Panel' and then where it previews the Panel it displays an error in the Panel instead of the ad.
Error: '
Parse error: syntax error, unexpected '<' in /home/jeffreyn/public_html/administration/panel_editor.php(110) : eval()'d code on line 1'
Can someone please help me place the ads?
Note: Preferably before I get suspended for not having the ads
Last edited: