11
tatane
Re: Hello username, you have X new private messages
  • 2011/3/28 7:00

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Html :

<div id="barnav-haut">
    <
ul>
    <{if !
$xoops_isuser}>
                    <
li><a href="<{xoAppUrl user.php}>">Se connecter</a> | <a href="<{xoAppUrl register.php}>">S'enregistrer</a></li>
                        <{else}>

        <!-- menu in recorded mode -->
                
    Bienvenue&nbsp;<a href="<{xoAppUrl /user.php}>" title="<{$smarty.const.THEME_PROFILE}>"><{$xoops_uname}>&nbsp;:</a>


      <!-- for my message box  -->
        <{xoInboxCount assign=pmcount}>
        <a href="<{xoAppUrl viewpmsg.php}>">
        <{if $pmcount}>
            <!-- if I have messages -->
            <a href="<{xoAppUrl viewpmsg.php}>">Messages (<{$pmcount}>)</a> |
        <{else}>
            <!-- if I do not have a message -->
            <a href="<{xoAppUrl viewpmsg.php}>">Vous avez 0 message</a> |
        <{/if}>
        </a>
        <!-- end my message box-->
        <a href="<{xoAppUrl /user.php}>">Mon compte</a> | 
        <!-- additional link if I have rights of administration of module -->
        <{if $xoops_isadmin}>
            <a href="<{xoAppUrl /admin.php}>">Admin</a> |
        <{/if}>
        <!-- end additional link-->

        <a href="<{xoAppUrl /user.php op=logout}>">Déconnexion</a>    <{/if}></li>

    </ul>
</div>


css :

#barnav-haut {
    
background#515153;
    
height32px;
    
width100%;
}

#barnav-haut ul{
    
color#FFFFFF;
    
margin-leftauto;
    
margin-rightauto;
    
text-alignright;
    
width900px;
    
padding8px;
}

#barnav-haut li{
    
displayinline;
    
color#fff;
}

#barnav-haut li a{
    
color#fff;
}

#barnav-haut a{
    
color#fff;
}

Login

Who's Online

174 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits