Compare commits

..

8 Commits

Author SHA1 Message Date
4614cd330c Update README.md 2025-09-22 08:48:54 +00:00
7d8760febb Update htdocs/index.php 2025-09-11 08:39:05 +00:00
940426e45c Testo del copyright 2025-09-11 10:35:01 +02:00
78eb485ef7 Link al codice sorgente 2025-09-11 08:21:45 +00:00
060f05247a Altra piccola modifica 2025-09-11 07:58:53 +00:00
e5fb838445 piccola modifica 2025-09-11 07:31:02 +00:00
72ca358139 bruh 2025-09-11 07:18:25 +00:00
0a3de8a846 Merge pull request 'Push to stable' (#1) from dev into stable
Reviewed-on: #1
2025-09-11 07:17:41 +00:00
4 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,3 @@
## AVVISO IMPORTANTE
Questo è il ramo di SVILUPPO. È inteso per testare le ultime funzionalità e aiutarmi nello sviluppo. La stabilità e il funzionamento del codice non sono garantiti. Usare a proprio rischio e pericolo.
# Orario Scuola
Una piattaforma web per visualizzare gli orari scolastici delle classi, degli insegnanti e dei vari laboratori (se presenti)

View File

@@ -11,8 +11,8 @@ $hours = [
6 => "Sesta ora<br>12:50 - 13:50"
];
if ($teacher == "No Lezione" || $teacher == "sconosciuto") {
header("Location: index.php");
exit;
header("Location: index.php");
exit;
}
else if (!isset($_GET['teacher'])) {
header("Location: index.php");
@@ -23,6 +23,7 @@ $teacher = $conn->real_escape_string($_GET['teacher']);
$res = $conn->query("SELECT DISTINCT teacher FROM subjects WHERE teacher = '$teacher' LIMIT 1");
if ($res->num_rows === 0) {
// Insegnante non trovato
header("Location: index.php");
exit;
}

View File

@@ -66,6 +66,6 @@ while($row = $res->fetch_assoc()){
?>
</div>
<p style="text-align: center;">Copyright (C) 2025 EmmeV. - Released under <a href="https://git.vichingo455.freeddns.org/emmev-code/orario/src/branch/stable/LICENSE.txt" target="_blank">GNU AGPL 3.0 License</a>.</p>
<p style="text-align: center;">Copyright (C) 2025 EmmeV. - Released under GNU AGPL 3.0 License.</p>
</body>
</html>

View File

@@ -74,6 +74,6 @@ if ($res->num_rows === 0) {
}
?>
</table>
<p style="text-align: center;">Copyright (C) 2025 EmmeV. All rights reserved.</p>
<p style="text-align: center;">Copyright (C) 2025 EmmeV. - Released under <a href="https://git.vichingo455.freeddns.org/emmev-code/orario/src/branch/stable/LICENSE.txt" target="_blank">GNU AGPL 3.0 License</a>.</p>
</body>
</html>