Show sourcecode
The following files exists in this folder. Click to view.
config.php
connect_db.php
db_manager.php
footer.php
head.php
header.php
login_check.php
header.php
14 lines ASCII Windows (CRLF)
<header>
<a id="logo" href="index.php"><h1>Quizzeria</h1></a>
<nav>
<?php if (isset($id)): ?>
<a href="profile.php">Profil</a>
<?php if ($user['admin']): ?>
<a href="dashboard.php">Admin panel</a>
<?php endif; ?>
<a href="logout.php">Logga ut</a>
<?php else: ?>
<a href="login.php">Logga in</a>
<?php endif; ?>
</nav>
</header>