Ads in PHP-Fusion

Status
Not open for further replies.

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&amp;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 :p
 
Last edited:

TheJeffsta

New Member
Messages
984
Reaction score
0
Points
0
... Does anyone know what maybe wrong and possibly how to correct it?

Or should I just go straight to PHP-Fusion support forum?
 

TheJeffsta

New Member
Messages
984
Reaction score
0
Points
0
... I have now been suspended, <sarcastic> Thanks for the help guys </sarcastic>
 

swirly

Active Member
Messages
1,930
Reaction score
0
Points
36
chill out dude...look dont worry bout makin a new panel. but be careful with fusion i got my site hacked like twice, but just ad it into an existing panel, unless you have corp then just put it in under the header...
 
Status
Not open for further replies.
Top