.... Beginning of Code here, but due to length of post had to be removed!
Code:
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}[/COLOR]
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onLoad="MM_preloadImages('templates/zeroSpace/images/main2.gif','templates/zeroSpace/images/faq2.gif','templates/zeroSpace/images/search2.gif','templates/zeroSpace/images/members2.gif',
'templates/zeroSpace/images/groups2.gif','templates/zeroSpace/images/profile2.gif','templates/zeroSpace/images/PM2.gif','templates/zeroSpace/images/register2.gif','templates/zeroSpace/images/login2.gif')">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="98%" align="center" valign="top" background="templates/zeroSpace/images/head_r1_c2.gif"><table width="100%" height="76" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><a href="{U_INDEX}"><img src="templates/zeroSpace/images/logo.gif" alt="Project D.o.G @ RP" width="296" height="68" border="0"></a></td>
<td align="right" class="jargon1">
<!-- Ads -->
<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&n=a7fb3e9d' border='0' alt=''></a></noscript>
<!-- End of ads -->
[COLOR=black] </td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="middle" background="templates/zeroSpace/images/head_r2_c2.gif"><TABLE width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="47%" height="20"><TABLE width="100%" cellspacing="0" cellpadding="0">
<tr align="center">
<td width="14%" height="18" valign="middle"><a href="{U_INDEX}" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('main','','templates/zeroSpace/images/main2.gif',1)">
<IMG src="templates/zeroSpace/images/main1.gif" alt="Main" name="main" width="30" height="12" border="0"></a></td>
<TD width="14%"><A href="{U_FAQ}" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('FAQ','','
templates/zeroSpace/images/faq2.gif',1)"><IMG src="templates/zeroSpace/images/faq1.gif" alt="FAQ" name="FAQ" width="22" height="12" border="0"></A></TD>
<TD width="14%"><A href="{U_SEARCH}" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Search','','templates/zeroSpace/images/search2.gif',1)"><IMG src="templates/zeroSpace/images/search1.gif" alt="Search" name="Search" width="37" height="12" border="0"></A></TD>
...... End of Code here, but again due to length of post, had to be removed
The code is taken from the overall header! Just copy and paste the ad code used in the example above! (marked in bold!!)
http://sapiencreations.x10hosting.com/forums --> The Forums the code was taken from!
--
Please use the code tags from now on to wrap the code. it makes the forums look much nicer.
Chris S