<if condition="in_array($foruminfo['forumid'], array(1,2,3,4,5,6))"> an image <else /> <if condition="in_array($foruminfo['forumid'], array(11,12,13,14,15,16))"> another image <else /> image for all other forums </if> </if>