fixed event
This commit is contained in:
parent
1691370db6
commit
a50b48592b
@ -374,4 +374,6 @@ a {
|
||||
.nav-links .links {
|
||||
margin: 0 12px;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,11 +1,10 @@
|
||||
<?php include dirname(__DIR__) . '/header.phtml'; ?>
|
||||
|
||||
<h2>Alle Ausstellungen</h2>
|
||||
|
||||
|
||||
<?php if (!empty($events)): ?>
|
||||
<div class="inhalt">
|
||||
<div class="event-container">
|
||||
<h1>Tickets</h1>
|
||||
<h2>Alle Ausstellungen</h2>
|
||||
<div class="event-container-inhalt">
|
||||
<table>
|
||||
<thead>
|
||||
@ -21,9 +20,9 @@
|
||||
<?php foreach ($events as $event): ?>
|
||||
<tr>
|
||||
<td><?php echo htmlspecialchars($event['name']); ?></td>
|
||||
<td><?php echo nl2br(htmlspecialchars($event['beschreibung'])); ?></td>
|
||||
<td><?php echo date('d.m.Y', strtotime($event['datum_von'])); ?></td>
|
||||
<td><?php echo date('d.m.Y', strtotime($event['datum_bis'])); ?></td>
|
||||
<td><?php echo nl2br(htmlspecialchars($event['description'])); ?></td>
|
||||
<td><?php echo date('d.m.Y', strtotime($event['start_date'])); ?></td>
|
||||
<td><?php echo date('d.m.Y', strtotime($event['end_date'])); ?></td>
|
||||
<td><?php echo (int) $event['max_tickets']; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
@ -35,5 +34,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include dirname(__DIR__) . '/footer.phtml'; ?>
|
Loading…
x
Reference in New Issue
Block a user