<vb:if condition="in_array($forum['forumid'], array(X,Y,Z))"> <img src="images/forum_pics/{vb:raw forum.forumid}.gif" align="left" style="margin-right: 9px" alt="" border="0" /> </vb:if>