}
        $active_project->getDiagsCompare($compare_user, $compare_user_2);
    } else {
        if ($kind == "user") {
            if (isset($_REQUEST['display_user_id'])) {
                $ratings_user = new User();
                $ratings_user->populateFromId($_REQUEST['display_user_id']);
            }
            $active_project->getDiagsUser($ratings_user);
        } else {
            $active_project->getDiags();
        }
    }
}
$evidence = array();
$evidence = $active_project->sortByFields($sort_field_1, $sort_field_1_dir, $sort_field_2, $sort_field_2_dir);
?>



<table cellspacing="0" cellpadding="0" border="0" class="groupMatrix" id="groupMatrix"><thead><tr><th onclick="sortGroupTable('name');" class="hypothesis cursorHand <?php 
echo $active_project->getSortArrow("name");
?>
"></th>

	<td onclick="sortGroupTable('created');" class="dclDateAdded" style="<?php 
if ($dccDateAdded == 0) {
    ?>
display: none;<?php 
}
?>