Help with Hardwired Theme Help with Hardwired Theme
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Help with Hardwired Theme

Started by Kalim3ru, March 04, 2005, 03:43:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kalim3ru

Hi There!

My name is Nuno Cunha, and this is one of my first posts....

I need help, because I'm not an expert in coding, and my hosting company says that I have to have a small banner ad in every page of my website....

My question is if someone can help do this... I use the theme hardwired in my webpage http://www.djnunocunha.pt.vu under "photos".

I want to place the following ad code in the header of this theme...Is it possible?

Thanks in advance...

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

Nibbler

Sure, just copy paste it into your theme's template.html where you want it to appear.