{strip} {assign var=is_friend value=$this->isfriend($user.id)}
{$this->lang['Friends']}
{if !$is_friend && $user['private'] === 'yes' && $user['id'] !== $this->USER['id']} {include file=$this->private_profile_tpl} {else} {if !$this->friendsCount($user.id) && $this->USER['id'] == $user['id'] && !$mode} {assign var="example_friend" value=$this->extractExampleFriend()}
{$this->lang['Find_friends']}
{$this->lang['more_friends_more_fun']}
{$this->lang['Find_friends']}
{$this->lang['all_your_friends_will_be_displayed_here']}
{$this->lang['no_friends_empty']}
{/if} {if $this->friendsCount($user.id)}
{/if}
All {foreach range('A', 'Z') as $char} {$char} {/foreach}
{assign var="userArr" value=$this->friendGroupAlphabetically($user.id,$filter,$mode)} {assign var="firstLetter" value=""} {assign var="previousLetter" value=""} {foreach $userArr as $res} {$firstLetter=substr($res.alpha, 0, 1)} {if strtoupper($previousLetter) != strtoupper($firstLetter)}
{strtoupper($firstLetter)}
{$previousLetter=$firstLetter} {/if}
{$res.fullname}{if $this->is_online($res.id)} {/if}

- {$this->lang['send_gift']}
- {$this->lang['send_message']}

{if !$mode}{$this->friendsLastOnline($res.online)}{else}{$this->myFriendRelationName($res.relationship,$mode)}{/if}
{/foreach}
{/if}
{/strip}