1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-06 00:14:25 +03:00
ifhub.club/templates/skin/new-jquery/header_top.tpl
Denis Shakhov cbbacabf40 New JQuery
2011-08-09 02:43:22 +00:00

47 lines
2 KiB
Smarty

<div id="header">
{if $oUserCurrent}
<div class="profile">
<a href="{$oUserCurrent->getUserWebPath()}"><img src="{$oUserCurrent->getProfileAvatarPath(48)}" alt="{$oUserCurrent->getLogin()}" class="avatar" /></a>
<ul>
<li>
<a href="{$oUserCurrent->getUserWebPath()}" class="username">{$oUserCurrent->getLogin()}</a>
(<a href="{router page='login'}exit/?security_ls_key={$LIVESTREET_SECURITY_KEY}" class="logout">{$aLang.exit}</a>)
</li>
<li>
{if $iUserCurrentCountTalkNew}
<a href="{router page='talk'}" class="message new" id="new_messages" title="{$aLang.user_privat_messages_new}">{$iUserCurrentCountTalkNew}</a>
{else}
<a href="{router page='talk'}" id="new_messages" class="message"></a>
{/if}
{$aLang.user_settings} <a href="{router page='settings'}profile/" class="author">{$aLang.user_settings_profile}</a> |
<a href="{router page='settings'}tuning/" class="author">{$aLang.user_settings_tuning}</a>
</li>
<li>{$aLang.user_rating} <strong>{$oUserCurrent->getRating()}</strong></li>
{hook run='userbar_item'}
</ul>
</div>
{else}
<div class="auth">
<a href="{router page='login'}" id="login_form_show" class="login-link">{$aLang.user_login_submit}</a> {$aLang.or}
<a href="{router page='registration'}">{$aLang.registration_submit}</a>
</div>
{/if}
<a href="{cfg name='path.root.web'}" class="logo">Live<span>Street</span></a></a>
<ul class="pages">
<li {if $sMenuHeadItemSelect=='blog'}class="active"{/if}><a href="{cfg name='path.root.web'}">{$aLang.posts}</a></li>
<li {if $sMenuHeadItemSelect=='blogs'}class="active"{/if}><a href="{router page='blogs'}">{$aLang.blogs}</a></li>
<li {if $sMenuHeadItemSelect=='people'}class="active"{/if}><a href="{router page='people'}">{$aLang.people}</a></li>
{if $oUserCurrent}
<li {if $sMenuItemSelect=='stream'}class="active"{/if}>
<a href="{router page='stream'}">{$aLang.stream_personal_title}</a>
</li>
{/if}
{hook run='main_menu'}
</ul>
</div>