{strip} {assign var="res" value=$this->gFriendDt($frid)}
{if count($outp.w_ids) > 1}

{foreach $outp.w_ids as $friend} {assign var="friend" value=$this->gFriendDt($friend.fr_id)}
- {$friend.fullname}
{/foreach}

{else} {foreach $outp.w_ids as $friend} {assign var="friend" value=$this->gFriendDt($friend.fr_id)} {assign var="mutual_friends_c" value=$this->getMutualFriends($friend.id,1,1)} {assign var="fr_status" value=$this->friendStatus($friend.id)}
{if $friend.theme === '-1'} {assign var="ph_slideshow" value=$_d->getSlideshowConfig($friend.id)}
{else if $friend.theme === '0'}
{else if !$friend.theme}
{assign var=ph_collage value=$this->createUserThemeFromCollage($friend.id)} {foreach $ph_collage as $vphoto} {if $vphoto.is_video}
{$this->getLikesCount($vphoto.id,'video')}
{else}
{$this->getLikesCount($vphoto.id,'photo')}
{/if} {/foreach}
{else} {assign var=k_theme value=$this->getThemeDetails($friend.theme)} {if $k_theme['kn'] === 'true'}
{else}
{/if} {/if}
{$friend.fullname} {$friend.yearsold} {$this->lang['years_old']},{$this->getUserCityAndCountry($friend)}
{$mutual_friends_c} {if $mutual_friends_c == 1}{$this->lang['mutual_friend']}{else}{$this->lang['mutual_friends']}{/if}
{if $fr_status === 'pending'}
{else if $fr_status === 'confirmed'}
{else}
{/if}
{/foreach} {/if}
{/strip}