82 lines
3.0 KiB
PHP
Executable File
82 lines
3.0 KiB
PHP
Executable File
<nav>
|
|
<div class="container">
|
|
<ul>
|
|
<a href="/about">
|
|
<li><?=_('about')?></li>
|
|
</a>
|
|
<a href="/contact">
|
|
<li><?=_('contact')?></li>
|
|
</a>
|
|
<a href="/explore">
|
|
<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>
|
|
<a href="/explore/users">
|
|
<li><?=_('users')?></li>
|
|
</a>
|
|
</ul>
|
|
</div>
|
|
</div></li>
|
|
</a>
|
|
<a href="/upload">
|
|
<li><?=_('upload')?></li>
|
|
</a>
|
|
<a href="/larynx">
|
|
<li><?=_('larynx')?></li>
|
|
</a>
|
|
<a href="/api">
|
|
<li>API</li>
|
|
</a>
|
|
<a href="/forum">
|
|
<li><?=_('forum')?></li>
|
|
</a>
|
|
<a href="/discussion" class="notification">
|
|
<li><?=_('messages')?></li>
|
|
<?php include("$root/discussion/notification.php")?>
|
|
</a>
|
|
<a href="/explore/mysteries">
|
|
<li><?=_('mysteries')?></li>
|
|
</a>
|
|
<a href="/articles">
|
|
<li><?=_('articles')?></li>
|
|
</a>
|
|
</ul>
|
|
<div class="container row">
|
|
<?=isset($_SESSION['username']) ? _('Welcome')." ".$_SESSION['username']. " !" : '<a href="/auth/login">sign in</a> <a href="/auth/register">sign up</a>'?>
|
|
<div class="language">
|
|
<button class="collapsible language"><img src="/media/icons/language.jpg" alt="language"></button>
|
|
<div class="content">
|
|
<form action="/lang/select.php" id="language" method="post">
|
|
<select name="language">
|
|
<option value="en_US">English</option>
|
|
<option value="fr_FR">French</option>
|
|
</select>
|
|
<input type="submit" value="Ok">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</nav>
|