46 lines
2.2 KiB
PHP
46 lines
2.2 KiB
PHP
<?php
|
|
|
|
$sp['title'] = 'Segler - Regatten.net ' . $_CLASS['name'];
|
|
$sp['backbutton'] = 'index';
|
|
$sp['activenav'] = 4;
|
|
|
|
// Title
|
|
$content = "<h1>Segler</h1>";
|
|
|
|
$sp['output'] .= $tpl->load('card', [$content]);
|
|
|
|
// Info Years
|
|
$content = '<h2>Jahrgänge</h2>';
|
|
$content .= '<p>';
|
|
$content .= 'Zu vielen Seglern fehlen uns leider noch die Jahrgänge. Diese benötigen wir jedoch, um die Ranglisten vernünftig zu erstellen.<br>';
|
|
$content .= 'Solltest Du jemanden kennen, dessen Jahrgang hier in der Liste noch nicht hinterlegt ist oder der womöglich falsch ist, <b>hilf uns bitte</b>, indem Du diesen einträgst!<br>';
|
|
$content .= 'Klicke dazu einfach auf den entsprechenden Segler und wähle Jahrgang bearbeiten aus.<br>';
|
|
$content .= 'Vielen Dank für Deine Unterstützung!';
|
|
$content .= '</p>';
|
|
|
|
$sp['output'] .= $tpl->load('card', [$content]);
|
|
|
|
// List
|
|
$content = '<p id="p-count" class="mb-0"></p>';
|
|
$content .= $tpl->load('input', ['html-id' => 'input-search', 'placeholder' => 'Suche', 'type' => 'text', 'css-class' => 'mt-2']);
|
|
$content .= '<div id="div-list" class="normal-list mb-0"></div>';
|
|
|
|
$sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-list']);
|
|
|
|
// Pagination
|
|
$sp['output'] .= $tpl->load('pagination', ['html-id' => 'pagination']);
|
|
|
|
// Menu
|
|
$items = $tpl->load('menu/item-icon', ['', '#', 'html-id' => 'menu-item-year', 'icon' => 'fa-edit']);
|
|
$items .= $tpl->load('menu/item-icon', ['Vereins-Website', '', 'html-id' => 'menu-item-clubwebsite', 'icon' => 'fa-globe', 'css-class' => 'border-0']);
|
|
$sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-sailor', 'title' => 'Segler-Details', 'height' => 200]);
|
|
|
|
$items = '<p class="mb-2 mt-1" style="line-height: 1.5em;">Bitte trage hier den Jahrgang ein:</p>';
|
|
$items .= $tpl->load('input', ['html-id' => 'input-edityear', 'placeholder' => 'Jahrgang', 'type' => 'number']);
|
|
$items .= $tpl->load('button', ['Speichern', '#', 'html-id' => 'button-edityear']);
|
|
$sp['menus'] .= $tpl->load('menu/bottom', [$items, 'html-id' => 'menu-edityear', 'height' => 240]);
|
|
|
|
$sp['scripts'] .= $scripts->load('pagination', ['pageChange', 'page', 'pageCount', 'pagination']);
|
|
$sp['scripts'] .= $scripts->load('sailors');
|
|
|
|
?>
|