eventsection with at least a list of events
This commit is contained in:
49
homepage/participo/events.php
Normal file
49
homepage/participo/events.php
Normal 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>
|
||||
Reference in New Issue
Block a user