Perhaps....
PHP Code:
$getforum = $db->query_read("SELECT forumid, title_clean FROM " . TABLE_PREFIX . "forum WHERE (options & 2)
Code:
<group name="forumoptions">
<bitfield name="active">1</bitfield>
<bitfield name="allowposting">2</bitfield>
<bitfield name="cancontainthreads">4</bitfield>
<bitfield name="moderatenewpost">8</bitfield>
<bitfield name="moderatenewthread">16</bitfield>
<bitfield name="moderateattach">32</bitfield>
.....