<div class='active_users'>
  {get_userlist}{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" />
    </a>
  </div>
  {/foreach}{/if}
</div>
<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>
<div class='active_user_name'> <br style='clear:left;'>   
  <span class='important'>users</span><br />
  {foreach from=$active_users item=node_visitor}
    <a href="#" onclick="chngto('{$node_visitor.login|escape:'html'|replace:'	':'&#09;'}','{$node_visitor.user_id}');return false" 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>