<div class="small-user-info">
	{if $user->isNotGuest()}
		<a href="{url action="profile" href=getModulePath($_cfg.core.auth_module) var1=$user->id}" title="{t}профиль{/t}">
			<img style="width:25px;" class="avatar img-rounded" src="{avatar user_id=$user->id type=$user->avatar}" alt="{$user->login|escape}"/>
			{$user->login|escape}
		</a>
	{else}
		<div>{$user->login|escape}</div>
	{/if}
</div>