<if condition="!in_array($foruminfo[forumid], array(12,13))"> stuff in all forums except 12 and 13 </if>