30 lines
734 B
PHP
30 lines
734 B
PHP
<nav>
|
|
<div class="container">
|
|
<ul>
|
|
<a href="/about">
|
|
<li>about</li>
|
|
</a>
|
|
<a href="/contact">
|
|
<li>contact</li>
|
|
</a>
|
|
<a href="/explore">
|
|
<li>explore</li>
|
|
</a>
|
|
<a href="/upload">
|
|
<li>upload</li>
|
|
</a>
|
|
<a href="/forum">
|
|
<li>forum</li>
|
|
</a>
|
|
<a href="/explore/mysteries">
|
|
<li>mysteries</li>
|
|
</a>
|
|
<a href="/articles">
|
|
<li>articles</li>
|
|
</a>
|
|
</ul>
|
|
<div>
|
|
<?=isset($_SESSION['username']) ? "Welcome ".$_SESSION['username']. " !" : '<a href="/auth/login">sign in</a> <a href=/auth/register">sign up</a>'?>
|
|
</div>
|
|
</div>
|
|
</nav>
|