Colin, I'll help him, also he has coporate
I am about to download the file and tell you what to edit to get it working
ok, here is what i have so far
Start Mod
=========================
Add Ads to CubeCart Version .5
Files to edit: 1 per skin
File Name index.tpl
=========================
Open: skins/SKIN_NAME_HERE/styleTemplates/global
Find This:
Code:
<div id="pageSurround">
<div id="topHeader">
<div>{SEARCH_FORM}</div>
<div>{SESSION}</div>
</div>
Replace with:
Code:
<div id="pageSurround">
<div id="topHeader">
<div>{SEARCH_FORM}</div>
<div>{SESSION}</div>
</div>
<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>
Save file and upload.
=========================
Repeat as nessary for each skin
note: the reason the mod is in version .5 is because i didn't test it. Please test it and tell me if it works or not.
If you don't want to put the ad there, just make sure where ever you place it, it is above the browser cut off line