Hello list,
i would like to know how to integrate an openX banner with template? I have
the following code for banner.
<?php
/* <!-- OpenX XML-RPC Tag v2.6.3 -->
//ini_set('include_path', '.:/usr/local/lib');
require 'openads-xmlrpc.inc.php';
if (!isset($OA_context)) $OA_context = array();
$oaXmlRpc = new OA_XmlRpc('ads.brainfruit.info',
'/www/delivery/axmlrpc.php', 80, false, 15);
//view($what='', $campaignid=0, $target='', $source='', $withText=false,
$context=array(), $charset='')
$adArray = $oaXmlRpc->view('zone:11', 0, '_top', '', 0, $OA_context,
'UTF-8');
$OA_context[] = array('!=' => 'bannerid:'.$adArray['bannerid']);
$OA_context[] = array('!=' => 'campaignid:'.$adArray['campaignid']);
echo $adArray['html'];
?>
Thanks.
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english