if (in_array($bbuserinfo['usergroupid'], array(1,3))) { echo "You are not logged in, or you have not confirmed your e-mail address."; }