if (!in_array($bbuserinfo['usergroupid'], array(5,6,7))) {
if ($bbuserinfo['usergroupid'] != 5 AND $bbuserinfo['usergroupid'] != 6 AND $bbuserinfo['usergroupid'] != 7) {