{capture name="friends_list"}
{foreach from=$friends item=friend}
{if $friend.user_id eq $smarty.session.Auth_User.user_id}{assign var="is_friend" value="true"}{/if}
<div class="item">
<div class="image">
<a href="/profile.php?uid={$friend.user_id}" title="{$friend.first_name} {$friend.last_name}"><img src="{$friend.profile_120|default:"/images/sample04.gif"}" alt="" width="70" height="79" /></a>
</div>
<a href="/profile.php?uid={$friend.user_id}" title="">{$friend.first_name} {$friend.last_name}</a>
</div>
{/foreach}
{/capture}