Use IF statements to choose which ad to display based on the current forum.
<if condition="$thread[forumid] == 1">
--HTML for Banner 1 Code--
</if>
<if condition="$thread[forumid] == 2">
--HTML for Banner 2 Code--
</if>
<if condition="$thread[forumid] == 3">
--HTML for Banner 3 Code--
</if>
Change the number of the forumid to match the forumid's of the forums you want.
|