Hello.

How to make this filter criteria in Views 3.x (+ Views PHP module):

// The first group of filters
Content: Published (Yes) AND
Content Type (= Article)

(Operator) IF

// The second group of filters
(Views PHP) user profile field_checkbox = 1

(Operator) THEN

// The third group of filters
Content: Does the term taxonomy (New)

(Operator) ELSE IF

// The fourth group of filters
(Views PHP) user profile field_checkbox = 0

(Operator) THEN

// The fifth group of filters
Content: Does the term taxonomy (New, Archive, Old, ...)

(Operator) ELSE

// Show view by first group of filters

In Views PHP field code:

global $user;
$account = user_load($user->uid);

$field_get = field_get_items('user', $account, 'field_checkbox');
$field = field_view_value('user', $account, 'field_checkbox', $field_get[0]);

if ($field['#markup'] == 1) { // or 0 in fourth group of filters
  return false; // to show view, 'cause if return true — this row is hide
}

Please help me!