{strip} {assign var=is_friend value=$this->isfriend($user.id)}
{$this->lang['personal_photos']} ({$this->userPhotosCount($user['id'])})
{if !$is_friend && $user['private'] === 'yes' && $user['id'] !== $this->USER['id']} {include file=$this->private_profile_tpl} {else}
{if $this->USER['id'] === $user['id']} {include file={$_addPhoto}} {/if}
{$this->lang['your_old_pictures']}
{if $query != ''}
{foreach $query as $result} {assign var=is_gif value=$this->is_gif($result.id)} {/foreach}
{/if}
{$this->lang['View_more_photos']}
{/if}
{/strip}