<h3>Friends</h3><div>
{get_userlist}
{if $active_friends eq true}
  <div class=\"module\">
    {foreach from=$active_friends item=active_friend}
      <div class=\"active_friend\">
        <a href=\"/id/{$active_friend.user_id}/\" title=\"{$active_friend.login|strip_tags}\">
          <img border=\"0\" alt=\"{$active_friend.login|escape:\'html\'}\" style=\"float:left\"
          width=\"23\" height=\"23\" src=\"{get_image_link id=$active_friend.user_id}\">
        </a>&nbsp;
        [<a href=\"/id/{$active_friend.user_action_id}\"
        title=\"{$active_friend.user_action|escape:\'html\'}\">{$active_friend.user_action|strip_tags:false|truncate:23}</a>]
        <br>&nbsp;{$active_friend.idle_time_minutes}m{$active_friend.idle_time_seconds}s
        | {$active_friend.login|strip_tags|truncate:10}
      </div>
    {/foreach}
  </div>
{/if}
</div>