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']) ?> - - + + + - - - + + - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - -