Fix ore da mobile

This commit is contained in:
2025-10-30 18:24:50 +01:00
parent 56503f618d
commit 54e3818ce6
3 changed files with 18 additions and 18 deletions

View File

@@ -2,12 +2,12 @@
include("lib/db.php"); include("lib/db.php");
$days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]; $days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"];
$hours = [ $hours = [
1 => "Prima ora<br>7:50 - 8:50", 1 => "Prima ora<br> 7:50 - 8:50",
2 => "Seconda ora<br>8:50 - 9:45", 2 => "Seconda ora<br> 8:50 - 9:45",
3 => "Terza ora<br>9:55 - 10:50", 3 => "Terza ora<br> 9:55 - 10:50",
4 => "Quarta ora<br>10:50 - 11:45", 4 => "Quarta ora<br> 10:50 - 11:45",
5 => "Quinta ora<br>11:55 - 12:50", 5 => "Quinta ora<br> 11:55 - 12:50",
6 => "Sesta ora<br>12:50 - 13:50" 6 => "Sesta ora<br> 12:50 - 13:50"
]; ];
if (!isset($_GET['teacher'])) { if (!isset($_GET['teacher'])) {

View File

@@ -2,12 +2,12 @@
include("lib/db.php"); include("lib/db.php");
$days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]; $days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"];
$hours = [ $hours = [
1 => "Prima ora<br>7:50 - 8:50", 1 => "Prima ora<br> 7:50 - 8:50",
2 => "Seconda ora<br>8:50 - 9:45", 2 => "Seconda ora<br> 8:50 - 9:45",
3 => "Terza ora<br>9:55 - 10:50", 3 => "Terza ora<br> 9:55 - 10:50",
4 => "Quarta ora<br>10:50 - 11:45", 4 => "Quarta ora<br> 10:50 - 11:45",
5 => "Quinta ora<br>11:55 - 12:50", 5 => "Quinta ora<br> 11:55 - 12:50",
6 => "Sesta ora<br>12:50 - 13:50" 6 => "Sesta ora<br> 12:50 - 13:50"
]; ];
if (!isset($_GET['room'])) { if (!isset($_GET['room'])) {

View File

@@ -4,12 +4,12 @@ $class_id = intval($_GET['class_id']);
$class = $conn->query("SELECT * FROM classes WHERE id=$class_id")->fetch_assoc(); $class = $conn->query("SELECT * FROM classes WHERE id=$class_id")->fetch_assoc();
$days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]; $days = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"];
$hours = [ $hours = [
1 => "Prima ora<br>7:50 - 8:50", 1 => "Prima ora<br> 7:50 - 8:50",
2 => "Seconda ora<br>8:50 - 9:45", 2 => "Seconda ora<br> 8:50 - 9:45",
3 => "Terza ora<br>9:55 - 10:50", 3 => "Terza ora<br> 9:55 - 10:50",
4 => "Quarta ora<br>10:50 - 11:45", 4 => "Quarta ora<br> 10:50 - 11:45",
5 => "Quinta ora<br>11:55 - 12:50", 5 => "Quinta ora<br> 11:55 - 12:50",
6 => "Sesta ora<br>12:50 - 13:50" 6 => "Sesta ora<br> 12:50 - 13:50"
]; ];
// FIX: Validazione classe prima di tutto // FIX: Validazione classe prima di tutto