HTML Ad Code.

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Oh no..

This page isn't working..
http://x10hosting.com/ads.php

I just made a new IPB skin and can't use PHP in it.. Could someone supply me with the HTML Ad codes?

Thanks in advance :)
 
Last edited:

J-Factor

New Member
Messages
18
Reaction score
0
Points
0
Look at the source of the pages the PHP Ad code includes:

http://staff.x10hosting.com/adCode.php?ad=corporate
http://staff.x10hosting.com/adCode.php?ad=advanced

Corporate
HTML:
<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>

Advanced
HTML:
<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:3&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=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&n=a915c788' border='0' alt='' /></a></noscript>

Although I don't know too much about PHP or the Ad system (I'm new and don't have free hosting yet), I assume this is correct.
 

James

Banned
Messages
1,062
Reaction score
0
Points
0
Yes you are quite correct, that is posted somewhere else, but thats anyway for the update.
If your using php scripts etc or forums just insert the code into the correct place and thats it.
If your using html, its the same deal, put theres just a bit more code.
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Yeah, haha.. I know that.. I was saying that the HTML template has to be a HTML code. I can't change the extension.

Can any of the staff help me out here?

Please have a place where ALL the correct Ad codes are. Thanks.
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
J-Factor said:
Look at the source of the pages the PHP Ad code includes:

http://staff.x10hosting.com/adCode.php?ad=corporate
http://staff.x10hosting.com/adCode.php?ad=advanced

Corporate
HTML:
<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>
Advanced
HTML:
<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:3&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=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&n=a915c788' border='0' alt='' /></a></noscript>
Although I don't know too much about PHP or the Ad system (I'm new and don't have free hosting yet), I assume this is correct.

Ahh, didn't see that. Smart. Thanks for that :)
 

moose

New Member
Messages
1,056
Reaction score
0
Points
0
Yes, I read exactly the same thing in J-Factor's post 5 posts above, or even in quotes 2 posts above. That was kinda.. spam?

It's ok though, if you didn't see it. Don't worry.
 
Top