if (isset($_GET['recache']) and $_GET['recache'] == '1') { $report->compile_report(true); // Force a re-cache } else { $report->compile_report(false); } $user_results = $report->get_user_results(); $paper_buffer = $report->get_paper_buffer(); $cohort_size = $report->get_cohort_size(); $stats = $report->get_stats(); $ss_pass = $report->get_ss_pass(); $ss_hon = $report->get_ss_hon(); $question_no = $report->get_question_no(); $log_late = $report->get_log_late(); $user_no = $report->get_user_no(); if ($paper_type == '2' and $propertyObj->unmarked_enhancedcalc() and !$propertyObj->is_active() or $paper_type == '1' and $report->unmarked_enhancedcalc()) { // Only mark calculation questions when the exam is not active. ?> <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="content-type" content="text/html;charset=<?php echo $configObject->get('cfg_page_charset'); ?> " /> <title><?php echo $string['classtotals'] . ' ' . $configObject->get('cfg_install_type'); ?> </title>