View Single Post
  #1  
Old 23 Jan 2007, 23:30
shunx91 shunx91 is offline
 
Join Date: Dec 2005
Having trouble with PHPAdsnew (Help wanted!)

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'];
}
Reply With Quote