Alles auf Englisch umbenannt: exhibition → event, Variablen und Tabellen angepasst, Views auf neue Felder umgestellt, Controller/Model/SQL konsistent gemacht. Alte Variablennamen raus, jetzt ist alles einheitlich. Fehler aus dem Frontend gefixt.

This commit is contained in:
2025-07-01 09:59:25 +02:00
parent d24d914c8c
commit 8a59ddde8e
25 changed files with 493 additions and 529 deletions

View File

@@ -6,7 +6,7 @@ include dirname(__DIR__).'/header.phtml';
<table>
<thead>
<tr>
<th>Name</th>
<th>Titel</th>
<th>Beschreibung</th>
<th>Datum</th>
</tr>
@@ -15,8 +15,8 @@ include dirname(__DIR__).'/header.phtml';
<?php foreach ($news as $item): ?>
<tr>
<td><?php echo htmlspecialchars($item['name']); ?></td>
<td><?php echo nl2br(htmlspecialchars($item['beschreibung'])); ?></td>
<td><?php echo date('d.m.Y', strtotime($item['datum'])); ?></td>
<td><?php echo nl2br(htmlspecialchars($item['description'])); ?></td>
<td><?php echo date('d.m.Y', strtotime($item['date'])); ?></td>
</tr>
<?php endforeach; ?>
</tbody>