Log in

View Full Version : invocation code help with "if"conditional !!


adpar
02-08-2010, 10:33 PM
hello!
I put this code into the template ad location below navbar

but the banner will still show in the forum mentioned in the if
conditional...

can you see anything wrong with the code that might be the cause
of the conditional not working... ?

thank you.... !!

<center>

<if condition="$forum[forumid] != 62">

<!--/* OpenX Javascript Tag v2.8.2 */-->

<script type='text/javascript'><!--//<![CDATA[
document.MAX_ct0 ='INSERT_CLICKURL_HERE';

var m3_u = (location.protocol=='https:'?'https://ads.parents.gr/www/delivery/ajs.php':'http://ads.parents.gr/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?campaignid=87");
document.write ('&amp;cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
document.write ("&amp;loc=" + escape(window.location));
if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if ((typeof(document.MAX_ct0) != 'undefined') && (document.MAX_ct0.substring(0,4) == 'http')) {
document.write ("&amp;ct0=" + escape(document.MAX_ct0));
}
if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ads.parents.gr/www/delivery/ck.php?n=a2bd78e8&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.parents.gr/www/delivery/avw.php?campaignid=87&amp;cb=INSERT_RANDOM_NUMBER_HERE &amp;n=a2bd78e8&amp;ct0=INSERT_CLICKURL_HERE' border='0' alt='' /></a></noscript> </if> </center>


THANK YOU IN ADVANCE!!!:)

--------------- Added 1265728200 at 1265728200 ---------------

anybody....... please? what am I doing wrong?