{if count($aFriends)}
{language text='Mod_Account.total_friends' replace1=$aCurrUser.user replace2=$iNumFriends}

{foreach from=$aFriends item=aFriend name=friends} {if $smarty.foreach.friends.iteration % $iRowSize == 0} {/if} {/foreach}
{Account::Avatar sUser=$aFriend.user iSize=75 class="pic1" onmouseover="showInfo5('`$aFriend.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();" }
{else}
{language text="Mod_Account.no.friends"}
{/if}