chiro-canto/public/menu.php

69 lines
2.3 KiB
PHP
Raw Normal View History

2021-03-28 20:40:17 +02:00
<nav>
2021-03-30 07:31:22 +02:00
<div class="container">
2021-03-28 20:40:17 +02:00
<ul>
<a href="/about">
<li>about</li>
</a>
2021-03-31 16:24:01 +02:00
<a href="/contact">
<li>contact</li>
</a>
2021-03-28 20:40:17 +02:00
<a href="/explore">
2021-04-15 12:29:53 +02:00
<li>
<div class="dropdown">
<span>explore</span>
<div class="dropdown-content">
<ul>
<a href="/explore/list">
<li>list</li>
</a><a href="/explore/map">
<li>map</li>
</a><a href="/explore/mysteries">
<li>mysteries</li>
</a>
<a href="/explore/random">
<li>random</li>
</a><a href="/explore/search">
<li>search</li>
</a><a href="/explore/spectrograms">
<li>spectrograms</li>
</a>
<a href="/explore/taxa">
<li>taxa</li>
</a><a href="/explore/guano">
<li>guano</li>
</a>
2021-04-16 13:41:22 +02:00
<a href="/explore/users">
<li>users</li>
</a>
2021-04-15 12:29:53 +02:00
</ul>
</div>
</div></li>
2021-03-28 20:40:17 +02:00
</a>
<a href="/upload">
<li>upload</li>
</a>
<a href="/larynx">
<li>larynx</li>
</a>
2021-04-18 16:59:01 +02:00
<a href="/api">
<li>API</li>
</a>
2021-03-28 20:40:17 +02:00
<a href="/forum">
<li>forum</li>
</a>
2021-04-18 16:59:01 +02:00
<a href="/discussion" class="notification">
<li>messages</li>
<?php include("$root/discussion/notification.php")?>
</a>
<a href="/explore/mysteries">
2021-03-28 20:40:17 +02:00
<li>mysteries</li>
</a>
<a href="/articles">
<li>articles</li>
</a>
</ul>
2021-03-30 07:31:22 +02:00
<div>
2021-04-01 08:57:34 +02:00
<?=isset($_SESSION['username']) ? "Welcome ".$_SESSION['username']. " !" : '<a href="/auth/login">sign in</a> <a href="/auth/register">sign up</a>'?>
2021-03-30 07:31:22 +02:00
</div>
</div>
2021-03-28 20:40:17 +02:00
</nav>