X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/24a718f3612d0b9dc396970cfa85298d33655570..0e5e7aea287526fc2bb0da2abb571a9e5d0a0e74:/summary.php diff --git a/summary.php b/summary.php index d63c765..38c56f2 100644 --- a/summary.php +++ b/summary.php @@ -3,6 +3,7 @@ require 'include/db.inc'; require 'include/session.inc'; require 'include/common.inc'; + require 'include/exams.inc'; if(isset($_POST['submit']) && $_POST['mnumber']!="") { $mnumber = trim($_POST['mnumber']); @@ -55,13 +56,45 @@ } } print "
" . $exam['timestr'] . " | "; + print "{" . $scorestr . "}=" . $singlescore . "/" . $exam['totscore'] . " | "; + print "" . round(100*$singlescore/$exam['totscore']) . "% | "; + print "
"; + print " | " . round($examscore) . "% | "; + print "