]> git.treefish.org Git - banana.git/commitdiff
...
authorAlexander Schmidt <alex@treefish.org>
Tue, 25 Sep 2012 16:08:20 +0000 (18:08 +0200)
committerAlexander Schmidt <alex@treefish.org>
Tue, 25 Sep 2012 16:08:20 +0000 (18:08 +0200)
lastsubmit.php

index 19abb2bad413530b6256560925cd1b97ca1d95de..c2577b917d1b1e8ffaa6d62ac6a20ac3937acfbc 100644 (file)
         break;
       }
       else {
         break;
       }
       else {
+        print "<table bgcolor=\"lightgreen\">";
+          print "<tr><th><b><font color=\"white\">Last submit of $mnumber for " . end($sessions)[0] . "</font></b></th><tr>";
+        print "</table>";
         print $result;
       }
     }
     else {
       $result = $db->query("SELECT students.firstname, students.lastname, students.mnumber, workdone.manydone, workdone.thisdone FROM workdone, students WHERE workdone.session = $sessionid AND workdone.mnumber = students.mnumber");
         print $result;
       }
     }
     else {
       $result = $db->query("SELECT students.firstname, students.lastname, students.mnumber, workdone.manydone, workdone.thisdone FROM workdone, students WHERE workdone.session = $sessionid AND workdone.mnumber = students.mnumber");
-      //print $result[0];
+
+      print "<table bgcolor=\"lightgreen\">";
+        print "<tr><th><b><font color=\"white\">Last submits for " . end($sessions)[0] . "</font></b></th><tr>";
+      print "</table>";
 
       print "<table>";
 
 
       print "<table>";