<div class='active_users'>
  {get_userlist}
  <span class='important'><center>friends</center></span>
  {foreach from=$active_friends item=node_visitor}
    <div class='active_user_img'><a href="#" onclick="chngto('{$node_visitor.login|escape:'html'|replace:'	':'&#09;'}','{$node_visitor.user_id}');return false" title="{$node_visitor.login|replace:'	':'&#09;'}">
      <img src="{get_image_link id=$node_visitor.user_id}" name="{$node_visitor.login|replace:'	':'&#09;'}" alt="{$node_visitor.login|replace:'	':'&#09;'}" title="{$node_visitor.login|replace:'	':'&#09;'} | idle:: {$node_visitor.idle_time_minutes}min {$node_visitor.idle_time_seconds}sec" height=50 />
    </a>
    </div>
  {/foreach}
  <div class='active_user_name'>    
  <br style='clear:left;'><span class='important'>users</span><br />
  {foreach from=$active_users item=node_visitor}
    <a href="#" class="active-list" id="a_l{$node_visitor.user_id}" name="{$node_visitor.login|escape:'html'|replace:'	':'&#09;'}" 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>
</div>