Examples Submitted"; print ""; $tot_done = 0; foreach ($SESSIONS as $session) { if ($session['id'] == $SESSIONS_next) { break; } $exdone = $db->query("SELECT thisdone, manydone FROM workdone WHERE mnumber=" . $mnumber . " AND session=" . $session['id'])->fetch(PDO::FETCH_NUM); if ( $exdone[1] == "" ) { $exdone[1] = "0"; } $tot_done = $tot_done + $exdone[1]; print ""; print ""; print ""; print ""; print ""; } print ""; print ""; print ""; print "
" . $session['timestr'] . "  " . $session['examples'] . "(" . $session['nexamples'] . ")" . "  " . $exdone[1] . "/" . $session['nexamples'] . "(" . $exdone[0] . ")" . "  
" . $tot_done . "/" . $SESSIONS_totex . "
"; print "
"; print "Blackboard"; $blackdone = $db->query("SELECT blackboard FROM students WHERE mnumber=" . $mnumber)->fetch(PDO::FETCH_NUM)[0]; print "
"; for( $ib=0; $ib<$blackdone; $ib++ ) { echo " * "; } exit; } ?>
Last submission
Mat.nummer:
Password: