Code
// logo and banner
echo '<table width="100%" border="0" cellspacing="0" cellpadding="4"><tr>'
.'<td><a href="'.$siteurl.'" target="_top">'
.'<span class="logo">'
.'<img src="themes/'.$GLOBALS['thename'].'/images/logo.gif" width="450" height="85" alt="'.$sitename.'">'
.'</span>'
.'</a></td><td align="right" width="468">'
.'<span class="banner">';
if ((!empty($banners)) && (!pnSecAuthAction(0, '::', '::', ACCESS_EDIT))) {
pnBannerDisplay('1');
} else {
// for testing theme only, comment out or delete the next line in the production environment
echo '<img src="themes/'.$GLOBALS['thename'].'/images/samplebanner.gif" alt="a sample banner, for testing only...">';
}
echo '</span>'
.'</td></tr></table>';
// end logo and banner
echo '<table width="100%" border="0" cellspacing="0" cellpadding="4"><tr>'
.'<td><a href="'.$siteurl.'" target="_top">'
.'<span class="logo">'
.'<img src="themes/'.$GLOBALS['thename'].'/images/logo.gif" width="450" height="85" alt="'.$sitename.'">'
.'</span>'
.'</a></td><td align="right" width="468">'
.'<span class="banner">';
if ((!empty($banners)) && (!pnSecAuthAction(0, '::', '::', ACCESS_EDIT))) {
pnBannerDisplay('1');
} else {
// for testing theme only, comment out or delete the next line in the production environment
echo '<img src="themes/'.$GLOBALS['thename'].'/images/samplebanner.gif" alt="a sample banner, for testing only...">';
}
echo '</span>'
.'</td></tr></table>';
// end logo and banner
I am trying to get banners from Trade Doubler on my site. I have quoted out the line mentioned above and instead of replacing the testing banner it just leaves it blank.
The image URL's I am using are in the format: http://impgb.tradedoubler.com/imp/img/21959/451517
Can anyone tell me how to get these to show up properly.
To see the site itself go to http://www.xboxaddic…o.uk/html/index.php