$report_title = $string['classtotals']; if (isset($_GET['repmodule']) and $_GET['repmodule'] != '') { $report_title .= ' <span style="font-weight: normal">(' . module_utils::get_moduleid_from_id($_GET['repmodule'], $mysqli) . ' ' . $string['studentsonly'] . ')</span>'; } elseif (isset($_GET['percent']) and $_GET['percent'] < 100) { if ($ordering == 'desc') { $report_title .= ' <span style="font-weight: normal">(' . $string['top'] . ' ' . $_GET['percent'] . '%)</span>'; } else { $report_title .= ' <span style="font-weight: normal">(' . $string['bottom'] . ' ' . $_GET['percent'] . '%)</span>'; } } echo "<div class=\"page_title\">{$report_title}</div>"; echo "</div>\n"; // Warning display banners $report->check_late_submission_warnings(); $report->check_unmarked_textbox_warnings(); $report->check_unmarked_enhancedcalc_warnings(); $report->check_temp_account_warnings(); // Output table header echo "<table id=\"maindata\" class=\"header tablesorter\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"font-size:110%; width:100%\">\n"; echo "<thead>\n"; if (isset($user_results[0])) { echo "<tr>\n"; foreach ($table_order as $col_title) { echo "<th class=\"vert_div\">{$col_title}</th>\n"; } echo "</tr>\n"; } echo "</thead>\n"; if ($sortby == 'classification') { $sortby = 'mark'; }