
{if checkactive('useronline')}
{$useronline}
	{$lang.user_online_text}{$num_user}
	<br />
	<small>
	{foreach from=$loggeduser item=lu name=lu}
	<a href="index.php?area={$area}&amp;p=user&amp;id={$lu->uid}">{$lu->uname}</a>
	{if !$smarty.foreach.lu.last}, {/if}
	{/foreach}
	</small>
	{if permission('canview_invisible')}
	<br />
    {$lang.user_online_text_gosts} {$num_gosts} <br />
	  <small>
	  {foreach from=$gosts item=gost name=gost}
	  <a href="index.php?area={$area}&amp;p=user&amp;id={$gost->uid}">{$gost->uname}</a>
	  {if !$smarty.foreach.gost.last}, {/if}
	  {/foreach}
	  </small>
	  {/if}
	   <br />
	   {$lang.user_online_text_guests} {$num_guests}

{/if}
