shunx91
01-23-2007, 09:30 PM
Hi guys,
The test page that I have set up for this is working fine and ads are displaying perfectly. I'm not sure if I'm posting the code in the right places but I've treid to post this code as a phrase o a new template and then calling it out in the SHOWTHREADS template but nothing happens. Can someone please help me out? This is starting to drive me nuts!
<?php
if
(@include(getenv('DOCUMENT_ROOT').'/phpAdsNew/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '_blank', '', '0',
$phpAds_context);
echo $phpAds_raw['html'];
}
The test page that I have set up for this is working fine and ads are displaying perfectly. I'm not sure if I'm posting the code in the right places but I've treid to post this code as a phrase o a new template and then calling it out in the SHOWTHREADS template but nothing happens. Can someone please help me out? This is starting to drive me nuts!
<?php
if
(@include(getenv('DOCUMENT_ROOT').'/phpAdsNew/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '_blank', '', '0',
$phpAds_context);
echo $phpAds_raw['html'];
}