From b84c113e41b0182b7ddc961c6e090c7c5913e476 Mon Sep 17 00:00:00 2001 From: Christoph Tank Date: Tue, 15 Oct 2019 21:04:51 +0200 Subject: [PATCH] +Kreis Fahrzeuge --- include/ff.php | 16 ++++++++++++---- include/fms.php | 4 ++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/include/ff.php b/include/ff.php index 94f9703..51a60b9 100644 --- a/include/ff.php +++ b/include/ff.php @@ -18,7 +18,15 @@ $result = $conn->query("SELECT * FROM `feuerwehr_pi`"); if ($result->num_rows > 0) { // output data of each row while ($row = $result->fetch_assoc()) { - + if ($row['id'] == 1) { + echo("

Feuerwehrbereitschaft

"); + } + if ($row['id'] == 2) { + echo("

Technische Einsatzleitung

"); + } + if ($row['id'] == 3) { + echo("

ABC-Dienst/LZG

"); + } if ($row['id'] == 10) { echo("

Revier Pinneberg

"); } @@ -60,12 +68,12 @@ if ($result->num_rows > 0) { while ($frow = $fahrzeuge->fetch_assoc()) { ?> - + - + 0) { ?> - + diff --git a/include/fms.php b/include/fms.php index 1cc8b31..5bd54b2 100644 --- a/include/fms.php +++ b/include/fms.php @@ -12,8 +12,8 @@ if ($conn->connect_error) { // output data of each row ?> -
-
+
+

FMS-Status