Hello, I want to put code in postbit so that I am able to have in some specific forums banners but when I don't have them (too many) than one common banner or message. Thanx in advance.
So here is the code and explanation inside that code:
Code:
OPTION I
<if condition="!in_array($forumid, array(FORUMID1))">
<td class="alt1" align="center">
<div>
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="banner_path.jpg" border="0" alt="$vboptions[bbtitle]" /></a></td>
<if />
OPTION II
<if condition="!in_array($forumid, array(FORUMID2))">
<td class="alt1" align="center">
<div>
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="banner_path.jpg" border="0" alt="$vboptions[bbtitle]" /></a></td>
<if />
IF NOT OPTION I AND OPTION II, THAN GENERAL OPTION
<if condition="!in_array($forumid, array(ANY OTHER FORUM ID))">
<td class="alt1" align="center">
<div>
MARKETING
</div>
</td>
<if />