PDA

View Full Version : How to make index.php as an own zone in phpadsnew


fino
08-10-2003, 11:28 AM
Hello,

Im just installed phpadsnew on vB 2.3 and it works like a charm !

But i'd like a static banner on the front page, index.php. Any ideas on how to do that ?

The code i use in the header is on the bottom of this message :

Thanks for helping out !

Fino,
Northern Norway.


<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://www.xx.no/xx/phpadsnew/adjs.php?n=" + phpAds_random);
document.write ("&amp;what=zone:4");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&amp;referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.xx.no/xx/phpadsnew/adclick.php?n=a4433a8d' target='_blank'><img src='http://www.xx.no/x/phpadsnew/adview.php?what=zone:4&amp;n=a4433a8d' border='0' alt=''></a></noscript>

fino
08-10-2003, 03:39 PM
Anyone, hints ?

fino
08-11-2003, 04:46 AM
Nevermind !
Found it in forumhome... removed $header..