Problem with ads

Status
Not open for further replies.

Timhortons

New Member
Messages
74
Reaction score
0
Points
0
Geoff has given me TONS of assistance on my forum. Thanks for that.
But now I have a new problem.
I put the Advanced ad in the HTML code to appear at the bottom of the index after the copyright thing. It won't appear. I have an 2 index's one for the layout and one for the page, its hard to explain.


http://hwe.x10hosting.com
cpanel name: tylerm

I can't get the ads to appear.
Can I have some assistance?
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
i don't know what the problem is, but i suggest you put the ads at the top of the page, as i've got ragged for putting that at the bottom "where no one can see them" so i suggest you might try putting them in the header or something
 

randomize

New Member
Messages
674
Reaction score
0
Points
0
I have looked at your source code, and it appears that your ads open with a php opening tag!

Have a look:

Code:
<HTML>
<HEAD>
<LINK REL=stylesheet HREF="css.css" TYPE="text/css">
</HEAD>
<BODY>
<CENTER>
<IFRAME SRC="index2.html" HEIGHT="550" WIDTH="575" FRAMEBORDER="0" SCROLLING="no" NORESIZE></IFRAME>
</CENTER>
[COLOR=red][B]<?php[/B][/COLOR] BEGIN__VBULLETIN__CODE__SNIPPET <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 ("[URL="http://x10hosting.com/advert/adjs.php?n"]http://x10hosting.com/advert/adjs.php?n[/URL]=" + 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> 
</BODY>
</HTML>

Note the tag is highlighted in red. PHP code will not run in a HTML Page
 

tikloos

New Member
Messages
570
Reaction score
0
Points
0
Here is the HTML code for you:
Corporate:
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>

Advanced:
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:3&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=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&amp;n=a915c788' border='0' alt=''></a></noscript>
 
Status
Not open for further replies.
Top