fixed redirect error and added button to events.
This commit is contained in:
@@ -6,12 +6,7 @@ include dirname(__DIR__).'/header.phtml';
|
||||
<div class="form-container">
|
||||
<h1>Ticket kaufen</h1>
|
||||
|
||||
<?php if (isset($error)): ?>
|
||||
<div class="error-box"><?= htmlspecialchars($error) ?></div>
|
||||
<div style="text-align:center; margin-top: 1.5em;">
|
||||
<a href="?controller=Event&do=showEvents">Zurück zu den Events</a>
|
||||
</div>
|
||||
<?php elseif (isset($event)): ?>
|
||||
<?php if (isset($event)): ?>
|
||||
<div class="event-details">
|
||||
<h2><?= htmlspecialchars($event['name']) ?></h2>
|
||||
<p><strong>Beschreibung:</strong> <?= nl2br(htmlspecialchars($event['description'])) ?></p>
|
||||
|
Reference in New Issue
Block a user