URGENT : Ad Code Not working

Status
Not open for further replies.

prasys

New Member
Messages
330
Reaction score
0
Points
0
Hello,

I tried to use this ad code :-
HTML:
<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 ("&amp;what=zone:1&amp;target=_blank"); document.write ("&amp;exclude=" + document.phpAds_used); if (document.referrer) document.write ("&amp;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>

But Sadly it does not show up in the Site...I tried adding in the <body> section and its still unable to show up. May I know if the ad system is working or not
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
It does not work if it is put on to one line for some strange reason this should work.
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 ("&amp;what=zone:1&amp;target=_blank");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer) document.write ("&amp;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>
 

Conor

New Member
Messages
3,570
Reaction score
0
Points
0
We are having trouble with people and ad codes. We will try to simplify things ASAP
 

Jim

New Member
Messages
170
Reaction score
0
Points
0
They should turn everything into php includes
Code:
<?php include("http://www.x10hosting.com/adcode1.php"); ?>
 

prasys

New Member
Messages
330
Reaction score
0
Points
0
Nah , I do not know whats wrong..It still not working correctly

P.S - I'm not coding the Page in PHP for certain reasons..Anyone knowns why.....
 

Chris

New Member
Messages
1,538
Reaction score
0
Points
0
Last edited:
Status
Not open for further replies.
Top