menu.php
609 Bytes
<div class="well well-sm" role="complementary">
<ul class="nav">
<li>
<a href="#news" onClick="loadNewDoc('news.php');">News</a>
</li>
<li>
<a href="#" onClick="loadNewDoc('agenda.php');">Agenda</a>
</li>
<li>
<a href="#" onClick="loadNewDoc('orga.php');">Organisation</a>
</li>
<?php
if (!(isset($_SESSION["connected"]) && $_SESSION["connected"]))
{
?>
<li>
<a href="#identifiant" onClick="loadNewDoc('connect.php');">Connexion</a>
</li>
<?php
}
else
{
?>
<li>
<a href="#" onClick="loadNewDoc('???????.php;)">Profil</a>
</li>
<?php
}
?>
</ul>
</div>