<if condition="$foruminfo[forumid] == x">
<if condition="$foruminfo[forumid] == x OR $thread[forumid] == x">