echo '<td class="small-caption" colspan="' . 1 * $t_filter_cols . '">';
                if (isset($t_accessible_custom_fields_names[$t_base + $j])) {
                    echo string_display(lang_get_defaulted($t_accessible_custom_fields_names[$t_base + $j]));
                } else {
                    echo '&nbsp;';
                }
                echo '</td>';
            }
            ?>
			</tr>
			<tr class="row-2">
			<?php 
            for ($j = 0; $j < $t_per_row; $j++) {
                echo '<td colspan="' . 1 * $t_filter_cols . '">';
                if (isset($t_accessible_custom_fields_ids[$t_base + $j])) {
                    print_filter_custom_field($t_accessible_custom_fields_ids[$t_base + $j]);
                } else {
                    echo '&nbsp;';
                }
                echo '</td>';
            }
            ?>
			</tr>
			<?php 
            $t_base += $t_per_row;
        }
    }
}
if ('simple' == $f_view_type) {
    $t_project_cols = 0;
} else {
{
    if (!headers_sent()) {
        header('Content-Type: text/html; charset=utf-8');
    }
}
$f_filter_target = gpc_get_string('filter_target');
$t_function_name = 'print_filter_' . utf8_substr($f_filter_target, 0, -7);
if (function_exists($t_function_name)) {
    return_dynamic_filters_prepend_headers();
    call_user_func($t_function_name);
} else {
    if ('custom_field' == utf8_substr($f_filter_target, 0, 12)) {
        # custom function
        $t_custom_id = utf8_substr($f_filter_target, 13, -7);
        return_dynamic_filters_prepend_headers();
        print_filter_custom_field($t_custom_id);
    } else {
        $t_plugin_filters = filter_get_plugin_filters();
        $t_found = false;
        foreach ($t_plugin_filters as $t_field_name => $t_filter_object) {
            if ($t_field_name . '_filter' == $f_filter_target) {
                return_dynamic_filters_prepend_headers();
                print_filter_plugin_field($t_field_name, $t_filter_object);
                $t_found = true;
                break;
            }
        }
        if (!$t_found) {
            # error - no function to populate the target (e.g., print_filter_foo)
            error_parameters($f_filter_target);
            trigger_error(ERROR_FILTER_NOT_FOUND, ERROR);
function act()
{
    if (isset($_GET['filter_target'])) {
        if (!headers_sent()) {
            header('Content-Type: text/html; charset=' . lang_get('charset'));
        }
        $filter = $_GET['filter_target'];
        $t_functionName = 'print_filter_' . substr($filter, 0, -7);
        echo "<!-- {$filter} -->";
        if (function_exists($t_functionName)) {
            call_user_func($t_functionName);
        } elseif ('custom_field' == substr($filter, 0, 12)) {
            # custom function
            $t_custom_id = substr($filter, 13, -7);
            print_filter_custom_field($t_custom_id);
        } else {
            # error - no function to populate the target (e.g., print_filter_foo)
            ?>
				<span style="color:red;weight:bold;">
					unknown filter (<?php 
            echo $filter;
            ?>
)
				</span>
				<?php 
        }
    } else {
        # error - no filter given
        ?>
			<span style="color:red;weight:bold;">
				no filter selected
			</span>
			<?php 
    }
}