Ki irgendwas gefixxed
This commit is contained in:
parent
906ca76332
commit
baf57fec49
@ -8,12 +8,6 @@
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if (!isset($_SESSION['user_id'])): ?>
|
|
||||||
<div class="status-box" style="margin-bottom: 20px;">
|
|
||||||
<p>Bitte <a href="?controller=Auth&do=showLoginForm">melden Sie sich an</a>, um Tickets zu kaufen.</p>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="event-container-inhalt">
|
<div class="event-container-inhalt">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
@ -24,9 +18,7 @@
|
|||||||
<th>Bis</th>
|
<th>Bis</th>
|
||||||
<th>Preis</th>
|
<th>Preis</th>
|
||||||
<th>Tickets</th>
|
<th>Tickets</th>
|
||||||
<?php if (isset($_SESSION['user_id'])): ?>
|
<th>Aktionen</th>
|
||||||
<th>Aktionen</th>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if (isset($_SESSION['is_admin']) && $_SESSION['is_admin']): ?>
|
<?php if (isset($_SESSION['is_admin']) && $_SESSION['is_admin']): ?>
|
||||||
<th>Admin</th>
|
<th>Admin</th>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -41,11 +33,9 @@
|
|||||||
<td><?php echo date('d.m.Y', strtotime($event['end_date'])); ?></td>
|
<td><?php echo date('d.m.Y', strtotime($event['end_date'])); ?></td>
|
||||||
<td><?php echo number_format($event['ticket_price'], 2, ',', '.'); ?> €</td>
|
<td><?php echo number_format($event['ticket_price'], 2, ',', '.'); ?> €</td>
|
||||||
<td><?php echo (int) $event['max_tickets']; ?></td>
|
<td><?php echo (int) $event['max_tickets']; ?></td>
|
||||||
<?php if (isset($_SESSION['user_id'])): ?>
|
<td>
|
||||||
<td>
|
<a href="?controller=Ticket&do=showBuyTicketForm&event_id=<?php echo $event['event_id']; ?>" class="admin-btn">Ticket kaufen</a>
|
||||||
<a href="?controller=Ticket&do=showBuyTicketForm&event_id=<?php echo $event['event_id']; ?>" class="admin-btn">Ticket kaufen</a>
|
</td>
|
||||||
</td>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if (isset($_SESSION['is_admin']) && $_SESSION['is_admin']): ?>
|
<?php if (isset($_SESSION['is_admin']) && $_SESSION['is_admin']): ?>
|
||||||
<td>
|
<td>
|
||||||
<a href="?controller=Event&do=showUpdateEvent&event_id=<?php echo $event['event_id']; ?>" class="admin-btn">Bearbeiten</a>
|
<a href="?controller=Event&do=showUpdateEvent&event_id=<?php echo $event['event_id']; ?>" class="admin-btn">Bearbeiten</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user