From 54e3818ce673571a299f7cbdf2b29cc228831a29 Mon Sep 17 00:00:00 2001
From: Curry141 <135717077+Daniongithub@users.noreply.github.com>
Date: Thu, 30 Oct 2025 18:24:50 +0100
Subject: [PATCH] Fix ore da mobile
---
htdocs/docenti.php | 12 ++++++------
htdocs/laboratori.php | 12 ++++++------
htdocs/studenti.php | 12 ++++++------
3 files changed, 18 insertions(+), 18 deletions(-)
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