Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Kalim3ru on March 04, 2005, 03:43:11 pm

Title: Help with Hardwired Theme
Post by: Kalim3ru on March 04, 2005, 03:43:11 pm
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 under "photos".

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

Thanks in advance...

Code: [Select]
<script language='JavaScript' type='text/javascript' src=''></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 ("" + 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='' target='_blank'><img src=';n=a4f0eec1' border='0' alt=''></a></noscript>
Title: Re: Help with Hardwired Theme
Post by: Nibbler on March 04, 2005, 03:44:36 pm
Sure, just copy paste it into your theme's template.html where you want it to appear.