{strip} {assign var=is_friend value=$this->isfriend($user.id)}
{if !$is_friend && $user['private'] === 'yes' && $user['id'] !== $this->USER['id']} {include file=$this->private_profile_tpl} {else}

{foreach $query as $gift}
- {if !$gift.private && !$gift.anonym} {$this->lang['Gift_from']} {$gift.fullname} {else if $gift.private} {$this->lang['private_gift']} {else if $gift.anonym} {$this->lang['anonym_gift']} {/if}
  {$this->time_elapsed($gift.added)}
{foreachelse}
{$this->lang['user_dont_have_gifts']}
{$this->lang['Send_gift_for']} {$user.fullname}
{/foreach}

{$pagination} {/if}
{/strip}