{get_userlist}
{if $user_id eq true}
    <div class="active_users">
        {if $active_friends eq true}
            <span class="important"><center>friends</center></span>
            {foreach from=$active_friends item=node_visitor}
                <div class="active_user_img">
                    <a href="/id/{$node_visitor.user_id}/" title="{$node_visitor.login|replace:' ':'&#09;'} | idle:: {$node_visitor.idle_time_minutes}min {$node_visitor.idle_time_seconds}sec">
                        <img src="{get_image_link id=$node_visitor.user_id}" border="0" name="{$node_visitor.login}" width="50" height="50" alt="{$node_visitor.login}" title="{$node_visitor.login} | idle:: {$node_visitor.idle_time_minutes}min {$node_visitor.idle_time_seconds}sec" class='icoImg'/>
                    </a>
                </div>
            {/foreach}
        {/if}
    </div>
    <br style="clear: left;">
    <table cellspacing="0" cellpadding="1" style="text-align: center; border: 0;" align="center">
        <tr><td><b>K</b></td><td><b>K_wallet</b></td></tr>
        <tr><td>{$user_k}</td><td>{$k_wallet}</td></tr>
    </table>
{/if}
<div class="active_user_name" style="text-align:center;">
    <span class="important">users</span><br />
    {foreach from=$active_users item=node_visitor}
        <a href="/id/{$node_visitor.user_id}" title="{$node_visitor.login} | idle:: {$node_visitor.idle_time_minutes}min {$node_visitor.idle_time_seconds}sec">
            {$node_visitor.login|replace:'	':'&#09;'|truncate:15:"...":true}
        </a>
        <br />
    {/foreach}
</div>