I know this has been asked here before, but I still can't get it to work. :-[
I noticed that someone needed someone to re-write their code a little in order for it to work on their site. Will this code work or does it need to be fixed somehow?
<script language='JavaScript' type='text/javascript' src='http://www.mywebsiteurl.com/phpadsnew/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://www.mywebsiteurl.com/phpadsnew/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://www.mywebsiteurl.com/phpadsnew/adclick.php?n=a99bbdd9' target='_blank'><img src='http://www.mywebsiteurl.com/phpadsnew/adview.php?what=zone:1&n=a99bbdd9' border='0' alt=''></a></noscript>
As I understand it, I should put it somewhere around here:
// Show the menu here, according to the menu sub template.
template_menu();
echo '
</div>';
is that right? where exactly do I put it?
thank you for your patience. :-[
Should be fine if you replace all the ' with \' and place it within the echo statement.
I got it! ty so much ! :)