?> login/index">Login</a> </li> <?php } ?> </ul> <ul class="navigation right"> <?php if (Session::userIsLoggedIn()) { ?> <li <?php if (View::checkForActiveController($filename, "login")) { echo ' class="active" '; } ?> > <a href="<?php echo Config::get('URL'); ?> login/logout">Logout</a> </li> <?php } ?> </ul> <?php
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug <script src="<?php echo Config::get('URL'); ?> js/ie10-viewport-bug-workaround.js"></script>--> <!--Import jQuery before materialize.js--> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script type="text/javascript" src="<?php echo Config::get('URL'); ?> js/customMaterialize.min.js"></script> <script src="http://maps.googleapis.com/maps/api/js"></script> <?php if (View::checkForActiveController($filename, "index") || View::checkForActiveController($filename, "local")) { ?> <script type="text/javascript" src="<?php echo Config::get('URL'); ?> js/maps.js"></script> <?php } ?> <!-- define the project's URL (to make AJAX calls possible, even when using this in sub-folders etc) --> <script> var url = "<?php echo Config::get('URL'); ?>
} ?> > <a href="<?php echo Config::get('URL'); ?> instructor/">instructors</a> </li> <?php } ?> <?php if (Session::get("user_account_type") == 5) { ?> <li <?php if (View::checkForActiveController($filename, "student")) { echo ' class="active" '; } ?> > <a href="<?php echo Config::get('URL'); ?> student/">students</a> </li> <?php } ?> <?php } ?>
> <a href="<?php echo Config::get('URL'); ?> student/index">Student Home</a> </li> <?php } ?> <!-- Greeters --> <?php if (Session::get("user_account_type") == 3) { ?> <li <?php if (View::checkForActiveController($filename, "greeter")) { echo ' class="active" '; } ?> > <a href="<?php echo Config::get('URL'); ?> greeter/index">Greeter Home</a> </li> <?php } ?> <!-- Students --> <!-- Should not have header shown as students stay on one page and do not need to log in or out -->
} ?> > <a href="<?php echo Config::get('URL'); ?> event">Evenementen</a></li> <li <?php if (View::checkForActiveController($filename, "media")) { echo ' class="active" '; } ?> > <a href="<?php echo Config::get('URL'); ?> media">Media</a></li> <li <?php if (View::checkForActiveController($filename, "verenigingen")) { echo ' class="active" '; } ?> > <a href="<?php echo Config::get('URL'); ?> ">Omgeving</a></li> </ul> </div><!--/.nav-collapse --> </div> </nav>