{if $aFriends}
{language text='Mod_Account.total_friends_display'}:
{Account::AjaxTopFriends}
{literal} {/literal} {/if} {if $aFriends}

{/if} {if $sUserName}
{language text='Mod_Account.found_x_friends' replace=$iCnt}

{/if} {if $aFriends} {include file="$sRootPath/_blocks/pager.html"}

{foreach from=$aFriends item=aFriend name=friends} {if $smarty.foreach.friends.iteration % $iRowSize == 0} {/if} {/foreach} {if $smarty.foreach.friends.total % $iRowSize != 0} {/if}
{Account::Avatar sUser=$aFriend.user iSize=60 onmouseover="showInfo5('`$aFriend.user`', '', '');" onmouseout="return nd();" style="position: relative; z-index: 0; opacity: 0.99999; top: 0px; left: 0px; cursor:move;" class="products" id="`$aFriend.user`"}
{/literal}
 

{include file="$sRootPath/_blocks/pager.html"}

{else} {if !$sUserName}
{language text="there_are_no_friends_yet"}
{/if} {/if}