Files
cwsvJudo/homepage/participo/events.php
marko f28fa7b51b WIP: bring participo back - consistent use of bootstrap - formatting -
phpstan level 0 error free - fixes for kyu subpage - move mams into
participo framework - remove legacy `lib/db.php` usage - add attributer
admin function - add newsposter - fixing apiKey creation
2025-11-19 12:24:38 +01:00

48 lines
1.2 KiB
PHP

<?php require_once "events.inc.php"; ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- shared imports (common css, MaterializeCss) -->
<?php readfile("shared/imports.php"); ?>
<!-- inits for the materializeCss -->
<script src="events.js"></script>
<title><?php echo $meta["title"]; ?></title>
<meta name="description"
content="<?php echo $meta["description"]; ?>" />
<link rel="icon" href="/ressourcen/graphiken/icons/cwsv.ico" />
<link rel="apple-touch-icon" href="/ressourcen/graphiken/logos/favIcons/apple-touch-icon.png">
</head>
<body>
<header>
<!-- The sidenav -->
<?php require "./events.sidenav.inc.php"; ?>
</header>
<?php if ($_SESSION["login"]) { ?>
<main>
<h2 id="comingStarts">Eingeschriebene Starter</h2>
<?php Starter::htmlTableComingStarts(); ?>
<h2 id="eventList">Übersicht anstehender Events</h2>
<!-- Table with events-->
<?php echo eventPlaner::getHtmlEventTable(eventPlaner::getComingWkEvents()); ?>
<!-- <h2 id="detailedEventList">Detailansicht kommender Wettkämpfe</h2>
<?php foreach (eventPlaner::getComingWkEvents() as $event) {
echo $event->asHtmlCard();
} ?> -->
</main>
<?php } ?>
</body>
</html>