} $nc_parent_field_path = null; $nc_field_path = null; } else { if ($cc_env["Settings"]) { eval($cc_env["Settings"]); } } // cache eval section if (nc_module_check_by_keyword("cache") && $current_cc['Cache_Access_ID'] == 1 && is_object($nc_cache_full) && $cached_eval && $cached_result != -1) { eval("echo \"" . $cached_data . "\";"); break; } $component = new nc_Component($classID, $cc_env['System_Table_ID']); $component->make_query(); $field_vars = $component->get_fields_vars(); $date_field = $component->get_date_field(); $cond_date = false; if (!$ignore_user) { $cond_user = "******" . (int) $AUTH_USER_ID . "'"; } if (!$admin_mode && !$ignore_check) { $cond_mod = " AND a.`Checked` = 1"; } if ($date) { $cond_date = " AND a.`" . $date_field . "` LIKE '" . $db->escape($date) . "%'"; } // ignore section if (!$ignore_sub && !$user_table_mode) { $cond_where .= " AND a.`Subdivision_ID` = '" . (int) $sub . "'"; }