Quote:
Originally Posted by squidsk
Use the ad manager in admincp and choose the location you want to have the ad code appear and then put it the code that went where you have "the ad code goes here" in that location.
|
This
But, in your code, the if needs to be vb:if
Code:
<vb:if condition="THIS_SCRIPT == 'index'">
<!-- / ADS BEGIN -->
<table class="tborder" cellpadding="{vb:stylevar cellpadding}"
cellspacing="{vb:stylevar cellspacing}" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="100%">INTERCOT Sponsors</td>
</tr>
<tr>
<td class="alt1" width="100%">
THE AD CODE GOES HERE
</td>
</tr>
</table>
<!-- / ADS END -->
</vb:if>
of course cellpadding & cellspacing are not valid Stylevars, so you will need to adjust these to the actual Stylevars you are wanting to use.