Individualisations
This commit is contained in:
@@ -1,24 +1,13 @@
|
||||
<?php
|
||||
|
||||
$sp['output'] = '<div class="card bg-transparent" data-card-height="cover">
|
||||
<div class="card-center text-center">
|
||||
<i class="fa fa-exclamation-triangle fa-8x color-red2-dark"></i>
|
||||
<h1 class="fa-6x mt-5 font-900">404</h1>
|
||||
<h4 class="mb-5 mt-3">Seite nicht gefunden</h4>
|
||||
<p>
|
||||
Die gesuchte Seite wurde nicht gefunden.<br>
|
||||
Wie wäre es mit der Homepage?
|
||||
</p>
|
||||
|
||||
<div class="row ml-5 mr-5 mt-5 mb-0">
|
||||
<div class="col-6">
|
||||
<a href="' . LINK_PRE . 'index" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Zur Startseite</a>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<a href="' . LINK_PRE . 'contact" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Kontakt</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>';
|
||||
$content = $tpl->load('error', ['404', 'Seite nicht gefunden']);
|
||||
$content .= '<p>';
|
||||
$content .= 'Die gesuchte Seite wurde nicht gefunden.<br>';
|
||||
$content .= 'Wie wä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']);
|
||||
|
||||
?>
|
||||
@@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
$sp['output'] = '<div class="card bg-transparent" data-card-height="cover">
|
||||
<div class="card-center text-center">
|
||||
<i class="fa fa-exclamation-triangle fa-8x color-red2-dark"></i>
|
||||
<h4 class="mb-5 mt-3">Startseite</h4>
|
||||
<p>
|
||||
Diese Seite befindet sich noch in der Entwicklung.
|
||||
</p>
|
||||
|
||||
<div class="row ml-5 mr-5 mt-5 mb-0">
|
||||
<div class="col-6">
|
||||
<a href="' . LINK_PRE . 'index" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Zur Startseite</a>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<a href="' . LINK_PRE . 'contact" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Kontakt</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>';
|
||||
$content = "<h1>$_CLASS[name]</h1>";
|
||||
$content .= "<p>$_CLASS[desc]</p>";
|
||||
|
||||
$sp['output'] .= $tpl->load('card', [$content]);
|
||||
|
||||
$content = "<h2>Deine Favoriten</h2>";
|
||||
$thead = "<tr><th>Segler</th><th>Rangliste 2020</th></tr>";
|
||||
$content .= $tpl->load('table', [$thead, 'html-id' => 'table-favorites', 'css-class' => 'mb-0 mt-3']);
|
||||
|
||||
$sp['output'] .= $tpl->load('card', [$content]);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user