top



How can i do the Logout and Login in Navigation ?
I had already work with the drop down menu, but i dont know how i can have the logout and login .
I dont know how to put those navigation that when someone logout, the login appears then when someone login, the logout appears .

Help please . Here's the code .

Code:
<ul class="topnav">
    <li><a href="http://pinoyforum-tambayan.forumotion.net/forum">Forum</a></li>
    <li>
          <a href="http://pinoyforum-tambayan.forumotion.net/portal">Home</a></li>
    <li>
        <a href="http://pinoyforum-tambayan.forumotion.net/profile?mode=editprofile&page_profil=informations">UCP</a>
        <ul class="subnav">
            <li><a href="http://pinoyforum-tambayan.forumotion.net/profile?mode=editprofile&page_profil=informations">Information</a></li>
            <li><a href="http://pinoyforum-tambayan.forumotion.net/profile?mode=editprofile&page_profil=preferences">Preferences</a></li>
            <li><a href="http://pinoyforum-tambayan.forumotion.net/profile?mode=editprofile&page_profil=signature">Signaturek</a></li>
            <li><a href="http://pinoyforum-tambayan.forumotion.net/profile?mode=editprofile&page_profil=avatars">Avatar</a></li>
            <li><a href="http://pinoyforum-tambayan.forumotion.net/profile?mode=editprofile&page_profil=friendsfoes">Friends and Foes</a></li>
        </ul>
    </li>
    <li><a href="#">Mailbox</a>
<ul class="subnav">
            <li><a href="http://pinoyforum-tambayan.forumotion.net/privmsg?folder=inbox">Inbox</a></li>
            <li><a href="http://pinoyforum-tambayan.forumotion.net/privmsg?folder=sentbox">Sentbox</a></li>
            <li><a href="http://pinoyforum-tambayan.forumotion.net/privmsg?folder=outbox">Outbox</a></li>
            <li><a href="http://pinoyforum-tambayan.forumotion.net/privmsg?folder=savebox">Savebox</a></li>
</ul>
    <li><a href="http://pinoyforum-tambayan.forumotion.net/faq">Faq</a></li>
    <li><a href="http://pinoyforum-tambayan.forumotion.net/login">Login</a></li>
    <li><a href="http://pinoyforum-tambayan.forumotion.net/login?logout">Logout</a></li>
</ul>

Thank you Smile .
EDIT : Can i ask something ? I put all the scripts at the overall_header then the CSS at CSS Stylesheet, when i go to anyother pages (except home), the drop down disappears, help please .
EDIT 2 : Oooooops, its ok now . This is now already solved ^^ .

[solved]