$_CLASS[name]";
$content .= "
$_CLASS[desc]
";
$sp['output'] .= $tpl->load('card', [$content]);
// Favorites
$content = "Deine Favoriten
";
$thead = "| Segler | Rangliste 2020 |
";
$content .= $tpl->load('table', [$thead, 'html-id' => 'table-favorites', 'css-class' => 'mb-0 mt-3']);
$sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-favorites']);
// Planning next
$content = "Deine nächsten Regatten
";
$thead = "| Datum | Regatta | Informationen | RLF | Segler |
";
$content .= $tpl->load('table', [$thead, 'html-id' => 'table-yournext', 'css-class' => 'mb-0 mt-3']);
$sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-yournext']);
// Next
$content = "Nächste Regatten
";
$thead = "| Datum | Regatta | Informationen | RLF |
";
$content .= $tpl->load('table', [$thead, 'html-id' => 'table-next', 'css-class' => 'mb-0 mt-3']);
$sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-next']);
// Last
$content = "Letzte Regatten
";
$thead = "| Datum | Regatta | Ergebnisse | RLF |
";
$content .= $tpl->load('table', [$thead, 'html-id' => 'table-last', 'css-class' => 'mb-0 mt-3']);
$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'] = '
';
?>