lang['CONDITION_COMPARE']['EQUALS'], '=='), array($user->lang['CONDITION_COMPARE']['LESS_THAN'], '<'), array($user->lang['CONDITION_COMPARE']['LESS_EQUAL'], '<='), array($user->lang['CONDITION_COMPARE']['GREATER_THAN'], '>'), array($user->lang['CONDITION_COMPARE']['GREATER_EQUAL'], '>=')); } return $operators; } /** * Check whether the condition is met */ function evc_int_check(&$options, &$int, &$info) { $operator = $options[0]; $operators = &evc_int_operators(); eval('$matches = ($int' . $operators[$operator][1] . $options[1] . ');'); return $matches; } ?>