diff --git a/htdocs/docenti.php b/htdocs/docenti.php index 55c62df..5d0f392 100644 --- a/htdocs/docenti.php +++ b/htdocs/docenti.php @@ -2,12 +2,12 @@ include("lib/db.php"); $days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]; $hours = [ - 1 => "Prima ora
7:50 - 8:50", - 2 => "Seconda ora
8:50 - 9:45", - 3 => "Terza ora
9:55 - 10:50", - 4 => "Quarta ora
10:50 - 11:45", - 5 => "Quinta ora
11:55 - 12:50", - 6 => "Sesta ora
12:50 - 13:50" + 1 => "Prima ora
7:50 - 8:50", + 2 => "Seconda ora
8:50 - 9:45", + 3 => "Terza ora
9:55 - 10:50", + 4 => "Quarta ora
10:50 - 11:45", + 5 => "Quinta ora
11:55 - 12:50", + 6 => "Sesta ora
12:50 - 13:50" ]; if (!isset($_GET['teacher'])) { diff --git a/htdocs/laboratori.php b/htdocs/laboratori.php index 9596617..38d8d7e 100644 --- a/htdocs/laboratori.php +++ b/htdocs/laboratori.php @@ -2,12 +2,12 @@ include("lib/db.php"); $days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]; $hours = [ - 1 => "Prima ora
7:50 - 8:50", - 2 => "Seconda ora
8:50 - 9:45", - 3 => "Terza ora
9:55 - 10:50", - 4 => "Quarta ora
10:50 - 11:45", - 5 => "Quinta ora
11:55 - 12:50", - 6 => "Sesta ora
12:50 - 13:50" + 1 => "Prima ora
7:50 - 8:50", + 2 => "Seconda ora
8:50 - 9:45", + 3 => "Terza ora
9:55 - 10:50", + 4 => "Quarta ora
10:50 - 11:45", + 5 => "Quinta ora
11:55 - 12:50", + 6 => "Sesta ora
12:50 - 13:50" ]; if (!isset($_GET['room'])) { diff --git a/htdocs/studenti.php b/htdocs/studenti.php index 6ed50cf..b30cf14 100644 --- a/htdocs/studenti.php +++ b/htdocs/studenti.php @@ -4,12 +4,12 @@ $class_id = intval($_GET['class_id']); $class = $conn->query("SELECT * FROM classes WHERE id=$class_id")->fetch_assoc(); $days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]; $hours = [ - 1 => "Prima ora
7:50 - 8:50", - 2 => "Seconda ora
8:50 - 9:45", - 3 => "Terza ora
9:55 - 10:50", - 4 => "Quarta ora
10:50 - 11:45", - 5 => "Quinta ora
11:55 - 12:50", - 6 => "Sesta ora
12:50 - 13:50" + 1 => "Prima ora
7:50 - 8:50", + 2 => "Seconda ora
8:50 - 9:45", + 3 => "Terza ora
9:55 - 10:50", + 4 => "Quarta ora
10:50 - 11:45", + 5 => "Quinta ora
11:55 - 12:50", + 6 => "Sesta ora
12:50 - 13:50" ]; // FIX: Validazione classe prima di tutto