This commit is contained in:
2025-12-29 02:10:04 +01:00
parent b99239ca66
commit 33482a0291
4 changed files with 228 additions and 2 deletions

View File

@@ -54,12 +54,12 @@ if ($q !== '' && $pdo) {
<span><?= htmlspecialchars($ev['starts_at'], ENT_QUOTES) ?></span>
<span>📍 <?= htmlspecialchars($ev['region'] ?: $ev['city'], ENT_QUOTES) ?></span>
<span><?= $ev['visibility'] === 'public' ? 'Öffentlich' : 'Mitglieder' ?></span>
<span class="badge"><?= ((int)$ev['allow_kids'] === 1) ? 'Mit Kindern' : 'Ohne Kinder' ?></span>
</div>
<h3><?= htmlspecialchars($ev['title'], ENT_QUOTES) ?></h3>
<p class="muted"><?= htmlspecialchars($ev['teaser_public'], ENT_QUOTES) ?></p>
<p><strong>Kinder:</strong> <?= ((int)$ev['allow_kids'] === 1) ? 'Mit Kindern' : 'Ohne Kinder' ?></p>
<?php if (!empty($ev['location_label'])): ?>
<p><strong>Ort:</strong> <?= htmlspecialchars($ev['location_label'], ENT_QUOTES) ?></p>
<p class="muted small"><strong>Ort:</strong> <?= htmlspecialchars($ev['location_label'], ENT_QUOTES) ?></p>
<?php endif; ?>
<details>
<summary style="cursor:pointer;">Details anzeigen</summary>