<?if(!$HIDE_CLEFTER$)?>
<aside id="sidebar">
<?if($USERS_ON$)?>
<div class="sidebox marked">
<div class="sidetitle"><span><!--<s5212>-->Приветствую Вас<!--</s>-->!</span></div>
<div class="inner">
<div class="user-box">
<?if($USER_AVATAR_URL$)?>
<img class="userAvSidebar" src="$USER_AVATAR_URL$" alt="">
<?else?>
<span class="no_avatar material-icons">person</span>
<?endif?>
<div class="user-ttl"><?if($USER_LOGGED_IN$)?>
<!--<s5212>-->Приветствую Вас<!--</s>-->, <a href="$PERSONAL_PAGE_LINK$"><b>$USERNAME$</b></a>!<?else?>
<!--<s5212>-->Приветствую Вас<!--</s>-->, <span>$USERNAME$</span>!<?endif?></div>
<div class="user-btns"><?if($USER_LOGGED_IN$)?><a title="Мой профиль"
href="$PERSONAL_PAGE_LINK$"><!--<s5214>-->Мой профиль<!--</s>--></a>
<span>|</span> <a title="Выход" href="$LOGOUT_LINK$"><!--<s5164>-->Выход<!--</s>--></a><?else?><a
title="Регистрация" href="$REGISTER_LINK$"><!--<s3089>-->Регистрация<!--</s>--></a> <span>|</span> <a
title="Вход" href="$LOGIN_LINK$"><!--<s3087>-->Вход<!--</s>--></a><?endif?></div>
</div>
</div>
</div>
<?endif?>
<?if($SEARCH_FORM$)?>
<div class="sidebox search-side">
<div class="sidetitle"><span>Поиск!</span></div>
<div class="inner">
<div class="sidebox-bd clr">$SEARCH_FORM$</div>
</div>
</div>
<?endif?>
$GLOBAL_CLEFTER$
</aside>
<?endif?>