Nieuw lid |
|
Giant schreef: wat is de code van je menu?
de menu is goed, want als ik de functies eruit haal werkt alles weer prima maar dit is de code
<?php
if($_SESSION['login'] == true AND $_SESSION['status'] == 1)
{
echo "<table>";
echo "<tr>";
echo "<td><b>". $_SESSION['naam'] . "</b>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php'>index</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=berichten/verzend.php'>bericht verzenden</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=berichten/outbox.php'>outbox (". berichten_verzender() . ")</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=berichten/inbox.php'>inbox (". berichten_ontvanger() . ")</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>ledenlijst</</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>onlinelijst ()</</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=members/loguit.php'>uitloggen</a></li></ul></td>";
echo "</tr>";
echo"</table>";
}
elseif(isset($_SESSION['login']))
{
echo "<table>";
echo "<tr>";
echo "<td><b>". $_SESSION['naam'] . "</b>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php'>index</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=berichten/verzend.php'>bericht verzenden</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=berichten/outbox.php'>outbox ( ". berichten_verzender() . " )</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=berichten/inbox.php'>inbox ( ". berichten_ontvanger() . " )</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>ledenlijst</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>onlinelijst ()</</a></li></ul></td>";
echo "</tr><tr>";
echo "<td><ul><li><a href='index.php?pagina=members/loguit.php'>uitloggen</a></li></ul></td>";
echo "</tr>";
echo"</table>";
}
else
{
echo "<ul><li><a href='index.php?pagina=members/register.php'>registreren</a></li></ul>";
echo "<ul><li><a href='index.php?pagina=members/login.php'>inloggen</a></li></ul>";
echo "<ul><li><a href='index.php?pagina=members/opvragen.php'>wachtwoord vergeten</a></li></ul>";
}
?>
<?php if($_SESSION['login'] == true AND $_SESSION['status'] == 1) { echo "<td><b>". $_SESSION['naam'] . "</b>"; echo "<td><ul><li><a href='index.php'>index</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=berichten/verzend.php'>bericht verzenden</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=berichten/outbox.php'>outbox (". berichten_verzender () . ")</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=berichten/inbox.php'>inbox (". berichten_ontvanger () . ")</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>ledenlijst</</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>onlinelijst ()</</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=members/loguit.php'>uitloggen</a></li></ul></td>"; } elseif(isset($_SESSION['login'])) { echo "<td><b>". $_SESSION['naam'] . "</b>"; echo "<td><ul><li><a href='index.php'>index</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=berichten/verzend.php'>bericht verzenden</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=berichten/outbox.php'>outbox ( ". berichten_verzender () . " )</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=berichten/inbox.php'>inbox ( ". berichten_ontvanger () . " )</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>ledenlijst</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=members/ledenlijst.php'>onlinelijst ()</</a></li></ul></td>"; echo "<td><ul><li><a href='index.php?pagina=members/loguit.php'>uitloggen</a></li></ul></td>"; } else { echo "<ul><li><a href='index.php?pagina=members/register.php'>registreren</a></li></ul>"; echo "<ul><li><a href='index.php?pagina=members/login.php'>inloggen</a></li></ul>"; echo "<ul><li><a href='index.php?pagina=members/opvragen.php'>wachtwoord vergeten</a></li></ul>"; } ?>
|