eventsection with at least a list of events

This commit is contained in:
marko
2022-05-26 07:37:26 +02:00
parent 195a8bdd54
commit 706b722b12
5 changed files with 260 additions and 29 deletions

View File

@@ -0,0 +1,49 @@
<?php
$meta = array(
'title' => "Event Planer",
'description' => "Planung von (Nich-)Teilnahmen an Wettkämpfen und anderen Veranstaltungen"
);
include_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>
document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.sidenav');
var instances = M.Sidenav.init(elems, {
// specify options here
});
});
</script>
<title><?php echo($meta['title']);?></title>
<meta name="description" content=<?php echo($meta['description']);?>])>
<link rel="icon" href="<?echo($config['ressourceUrl']);?>/graphiken/icons/cwsv.ico" />
<link rel="apple-touch-icon" href="<?echo($config['baseUrl']);?>/apple-touch-icon.png">
</head>
<body>
<header>
<?php readfile("./shared/sidenav.inc.php");?>
</header>
<?php if($_SESSION['login']){ ?>
<main>
<?php echo( eventPlaner::getHtmlEventTable(eventPlaner::getCommingWkEvents()) );?>
</main>
<?php } ?>
</body>
</html>