ThePhantom
New Member
- Messages
- 26
- Reaction score
- 0
- Points
- 0
The ads aren't working. I tried to put it up and no images showed. It just shows part of the code.
?>
<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>
<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>
<?
echo "
<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>
<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>";
darkuranium said:Here's the solution... I'll zip it and upload it to my site, ok?
It works (tested - check my site) with e107, but may even work with other php websites, with some changes, of course. Here's the link:
http://www.darkuranium.ath.cx/files/downloads/e107_ads.zip
It would be nice if you, tech team added this to ads download.