Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Help with Hardwired Theme  (Read 2117 times)

0 Members and 1 Guest are viewing this topic.

Kalim3ru

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Help with Hardwired Theme
« 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 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...

Code: [Select]
<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>
Logged

Nibbler

  • Guest
Re: Help with Hardwired Theme
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 19 queries.