From 6eca88e9411eac3424234183baf6d6052b3fdced Mon Sep 17 00:00:00 2001 From: patrickzerhusen Date: Fri, 17 Apr 2026 20:33:56 +0200 Subject: [PATCH] rebuild index.php with header, map, sidebar, footer and modals --- public/index.php | 1893 ++++++++-------------------------------------- 1 file changed, 307 insertions(+), 1586 deletions(-) diff --git a/public/index.php b/public/index.php index 75463be..a5bc9fa 100644 --- a/public/index.php +++ b/public/index.php @@ -1,1631 +1,352 @@ - - +prepare("SELECT * FROM municipalities WHERE slug = :slug"); +$stmt->execute([':slug' => 'lohne']); +$municipality = $stmt->fetch(); + +if (!$municipality) { + die("Municipality not found."); +} +?> - + - Leaflet Training - - - - - + Bürgerbeteiligung <?= htmlspecialchars($municipality['name']) ?> - - + + + - - - + + - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - -