27 lines
656 B
PHP
27 lines
656 B
PHP
<nav>
|
|
<div class="container">
|
|
<ul>
|
|
<a href="/about">
|
|
<li>about</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="/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>
|