mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
55 lines
2.7 KiB
Smarty
55 lines
2.7 KiB
Smarty
{if !$oUserCurrent}
|
|
<div class="login-form">
|
|
<a href="#" class="close" onclick="hideLoginForm(); return false;"></a>
|
|
|
|
<form action="{router page='login'}" method="POST">
|
|
<h3>{$aLang.user_authorization}</h3>
|
|
|
|
<p><label for="login">{$aLang.user_login}:</label>
|
|
<input type="text" class="input-text" name="login" id="login-input"/></p>
|
|
|
|
<p><label for="password">{$aLang.user_password}:</label>
|
|
<input type="password" name="password" class="input-text" /></p>
|
|
|
|
<p><label for="remember" class="checkbox-label"><input type="checkbox" name="remember" class="checkbox" checked />{$aLang.user_login_remember}</label></p>
|
|
<input type="submit" name="submit_login" value="{$aLang.user_login_submit}" /><br /><br />
|
|
|
|
<a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_LOGIN}/reminder/">{$aLang.user_password_reminder}</a><br />
|
|
<a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_REGISTRATION}/">{$aLang.user_registration}</a>
|
|
</form>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
<div id="header">
|
|
<h1><a href="{cfg name='path.root.web'}">LiveStreet</a></h1>
|
|
|
|
|
|
<ul class="nav-main">
|
|
<li {if $sMenuHeadItemSelect=='blog'}class="active"{/if}><a href="{router page='blog'}">{$aLang.blogs}</a></li>
|
|
<li {if $sMenuHeadItemSelect=='people'}class="active"{/if}><a href="{router page='people'}">{$aLang.people}</a></li>
|
|
<li {if $sAction=='page' and $sEvent=='about'}class="active"{/if}><a href="{router page='page'}about/">{$aLang.page_about}</a></li>
|
|
</ul>
|
|
|
|
|
|
<ul class="profile">
|
|
{if $oUserCurrent}
|
|
<li><a href="{$oUserCurrent->getUserWebPath()}" class="avatar"><img src="{$oUserCurrent->getProfileAvatarPath(24)}" alt="{$oUserCurrent->getLogin()}" /></a></li>
|
|
<li><a href="{$oUserCurrent->getUserWebPath()}" class="author">{$oUserCurrent->getLogin()}</a> / </li>
|
|
<li>{$aLang.user_rating} <strong>{$oUserCurrent->getRating()}</strong> / </li>
|
|
<li><a href="{router page='topic'}add/" alt="{$aLang.topic_create}" title="{$aLang.topic_create}" class="submit-topic">{$aLang.topic_create}</a> / </li>
|
|
<li>
|
|
{if $iUserCurrentCountTalkNew}
|
|
<a href="{router page='talk'}" class="new-message" title="{$aLang.user_privat_messages_new}">{$aLang.user_privat_messages} ({$iUserCurrentCountTalkNew})</a> /
|
|
{else}
|
|
<a href="{router page='talk'}">{$aLang.user_privat_messages} (0)</a> /
|
|
{/if}
|
|
</li>
|
|
<li><a href="{router page='settings'}profile/">{$aLang.user_settings}</a> / </li>
|
|
<li><a href="{router page='login'}exit/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.exit}</a></li>
|
|
{else}
|
|
<li><a href="#" onclick="showLoginForm(); return false;">{$aLang.user_login_submit}</a> / </li>
|
|
<li><a href="{router page='registration'}" class="reg">{$aLang.registration_submit}</a></li>
|
|
{/if}
|
|
</ul>
|
|
</div> |