30 lines
1.5 KiB
PHTML
30 lines
1.5 KiB
PHTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<title>Bib Arts</title>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="/bibarts/CSS/style.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<nav id="navigation">
|
|
<div class="link-container">
|
|
<div id="logo" ><a class="link-logo" href="#"></a></div>
|
|
<a id="link-ausstellungen" class="links" href="?controller=Event&do=showEvents">Ausstellungen</a>
|
|
<a id="link-tickets" class="links" href="#">Tickets</a>
|
|
<a id="link-news" class="links" href="/bibarts/?controller=News&do=showNews">News</a>
|
|
<a id="link-profil" class="links" href="?controller=Contact&do=showContactForm">Profil</a>
|
|
<div id="profile-picture"></div>
|
|
<?php if (isset($_SESSION['user'])): ?>
|
|
<form method="post" action="/bibarts/index.php" style="display:inline;">
|
|
<input type="hidden" name="controller" value="Auth">
|
|
<input type="hidden" name="do" value="logout">
|
|
<button type="submit" class="links" style="background:none;border:none;cursor:pointer;">Logout</button>
|
|
</form>
|
|
<?php else: ?>
|
|
<a class="links" href="?controller=Auth&do=showLoginForm">Login</a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</nav>
|
|
</div>
|