redirecting login
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
<?php
|
||||
$meta = array(
|
||||
'title' => "Event Planer",
|
||||
'description' => "Planung von (Nich-)Teilnahmen an Wettkämpfen und anderen Veranstaltungen"
|
||||
);
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . "./lib/");
|
||||
|
||||
include_once("events.inc.php");
|
||||
|
||||
@@ -28,7 +25,7 @@ include_once("events.inc.php");
|
||||
|
||||
|
||||
<title><?php echo($meta['title']);?></title>
|
||||
<meta name="description" content=<?php echo($meta['description']);?>])>
|
||||
<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">
|
||||
@@ -37,12 +34,46 @@ include_once("events.inc.php");
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<?php readfile("./shared/sidenav.inc.php");?>
|
||||
<!-- cwsvJudoApps SideNav -->
|
||||
<div>
|
||||
<nav class="indigo darken-4">
|
||||
<div class="nav-wrapper">
|
||||
<div class="col s12">
|
||||
<a href="http://cwsvjudo.bplaced.net/" class="breadcrumb">cwsvJudo-Apps</a>
|
||||
<a href="http://cwsvjudo.bplaced.net/participo/events" class="breadcrumb"><?php echo($meta['title']);?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a class="right top-nav sidenav-trigger waves-effect waves-light hide-on-large-only" href="#" data-target="nav-mobile">
|
||||
<i class="material-icons">menu</i>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<ul class="sidenav sidenav-fixed sidenav-close" id="nav-mobile">
|
||||
<li class="logo">
|
||||
<a style="height:auto;" class="brand-logo" id="logo-container" href="/participo/">
|
||||
<img alt="cwsvJudoApps" style="max-width:100%;height:12vh;" class="responsive-img" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png" />
|
||||
</a>
|
||||
</li>
|
||||
<?php require_once("sidenav/loginStatus.php");?><!-- brings its own li -->
|
||||
<li class="bold">
|
||||
<a class="waves-effect waves-teal right-align" href="#eventList">Liste anstehender Events<i class="material-icons">format_list_bulleted</i></a>
|
||||
</li>
|
||||
<li class="bold">
|
||||
<a class="waves-effect waves-teal right-align" href="#detailedEventList">Details anstehender Events<i class="material-icons">view_list</i></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<?php if($_SESSION['login']){ ?>
|
||||
<main>
|
||||
<h1 id="eventList">Übersicht anstehender Events</h1>
|
||||
<?php echo( eventPlaner::getHtmlEventTable(eventPlaner::getCommingWkEvents()) );?>
|
||||
|
||||
<h1 id="detailedEventList">Detailansicht kommender Wettkämpfe</h1>
|
||||
<?php foreach( eventPlaner::getCommingWkEvents() as $event ) echo($event->asHtmlCard());?>
|
||||
</main>
|
||||
<?php } ?>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user