New regattas list on index

This commit is contained in:
Timon Ostertun
2020-09-25 18:48:42 +02:00
parent 04a3348db7
commit 9f16806179
11 changed files with 365 additions and 313 deletions

16
server/content/404.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
$sp['title'] = 'Fehler 404 - Regatten.net Pirat';
$sp['backbutton'] = true;
$content = $tpl->load('error', ['404', 'Seite nicht gefunden']);
$content .= '<p>';
$content .= 'Die gesuchte Seite wurde nicht gefunden.<br>';
$content .= 'Wie w&auml;re es mit der Homepage?';
$content .= '</p>';
$content .= $tpl->load('button', ['Zur Startseite', LINK_PRE . 'index', 'css-class' => 'mb-3']);
$content .= $tpl->load('button', ['Kontakt', LINK_PRE . 'contact']);
$sp['output'] = $tpl->load('card', [$content, 'css-class' => 'text-center pt-3']);
?>