if( $userdata['user_level'] == ADMIN ) { /* blah */ }