query("INSERT INTO sessions (id,examples,nexamples) VALUES (" . strtotime(trim($_POST['stime'])) . ",'" . $_POST['examples'] . "','" . count(explode(',',$_POST['examples'])) . "')"); block("lightgreen", "added session"); } if($_GET['delete']!="") { $db->query("DELETE FROM sessions WHERE id=" . $_GET['delete']); block("red", "deleted session"); } require 'include/session.inc'; block("black", "add session"); ?>
"; foreach ($SESSIONS as $session) { print "