$_CLASS[name]"; $content .= "

$_CLASS[desc]

"; $sp['output'] .= $tpl->load('card', [$content]); // Favorites $content = '

Deine Favoriten

'; $thead = 'SeglerRangliste'; $content .= $tpl->load('table', [$thead, 'html-id' => 'table-favorites', 'css-class' => 'mb-0 mt-3']); $content .= '

'; $content .= 'Du folgst keinen Seglern.
'; $content .= 'Um jemandem zu folgen, gehe zur Segler-Liste und wähle bis zu fünf Segler aus.'; $content .= '

'; $sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-favorites']); // Planning next $content = '

Deine nächsten Regatten

'; $thead = 'DatumRegattaInformationenRLFSegler'; $content .= $tpl->load('table', [$thead, 'html-id' => 'table-yournext', 'css-class' => 'mb-0 mt-3']); $content .= '

'; $content .= 'Du fährst in den nächsten vier Wochen auf keine Regatta!'; $content .= '

'; $sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-yournext']); // Not logged in $content = '

Nicht angemeldet

'; $content .= '

'; $content .= 'Um alle Funktionen dieser Seite nutzen zu können, logge Dich bitte ein.
'; $content .= 'Solltest Du noch kein Benutzerkonto haben, kannst Du Dich kostenlos registrieren.'; $content .= '

'; $sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-notloggedin']); // Next $content = '

Nächste Regatten

'; $thead = 'DatumRegattaInformationenRLF'; $content .= $tpl->load('table', [$thead, 'html-id' => 'table-next', 'css-class' => 'mb-0 mt-3']); $content .= '

'; $content .= 'Keine Regatten in den nächsten zwei Wochen!'; $content .= '

'; $sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-next']); // Last $content = '

Letzte Regatten

'; $thead = 'DatumRegattaErgebnisseRLF'; $content .= $tpl->load('table', [$thead, 'html-id' => 'table-last', 'css-class' => 'mb-0 mt-3']); $content .= '

'; $content .= 'Keine Regatten in den letzten zwei Wochen!'; $content .= '

'; $sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-last']); // Calendar $content = '

Regatta-Kalender

'; $content .= '

Du willst alle Regatta-Termine in deinem Kalender, aber nicht alles abtippen?
Kein Problem! Abonniere einfach unseren ics-Kalender.

'; $content .= '

Nur die Regatten, zu denen Du gehst?
Auch kein Problem! '; $content .= 'Erstelle einfach eine Saison-Planung und abonniere Deinen persönlichen Kalender.'; $content .= 'Registriere Dich einfach kostenlos, erstelle eine Saison-Planung und wir erstellen Dir einen persönlichen Kalender.'; $content .= '

'; $content .= $tpl->load('button', [' Regatta-Kalender', 'https://regatten.net/client/calendar/' . BOATCLASS . '/everything.ics', 'css-class' => 'mb-2']); $content .= $tpl->load('button', [' Kalender für ', 'https://regatten.net/client/calendar/' . BOATCLASS . '/user_%USERID%.ics', 'css-class' => 'show-loggedin replace-userid-href']); $sp['output'] .= $tpl->load('card', [$content]); $sp['scripts'] = $scripts->load('index'); ?>