require 'include/session.inc';
require 'include/common.inc';
+ if (! isset($SESSIONS_actual)) {
+ block("red", "no next session");
+ exit;
+ }
+
block("black", "summary for session " . $SESSIONS[$SESSIONS_actual]['timestr'] . " (" . $SESSIONS[$SESSIONS_actual]['examples'] . ")");
$result = $db->query("SELECT firstname, lastname, mnumber, blackboard FROM students ORDER BY lastname");