This is how you check for a group.
Make sure cookies are set sitewide, and near the top have this:
$user = $userob -> authenticate('U_Groups');
then put this at the begining of the restricted part of the page. Probably after the menu is sent, at the start of the main body of the page.
if (strpos($user['U_Groups'],'-5-') !== false) {
*******BODY*********
} else {
echo 'You are not authorized or not logged in.';
}
Have your body in the { } of the if statement. Change the 5 to the group number you are checking for. This is a real quick answer, but it works
