{strip} {assign var=is_friend value=$this->isfriend($user.id)}
{$this->lang['tagged_album']} ({$pCount} {$this->lang['photos']})
{if !$is_friend && $user['private'] === 'yes' && $user['id'] !== $this->USER['id']} {include file=$this->private_profile_tpl} {else}
{if $query != ''} {foreach $query as $result} {assign var="ownerID" value=$this->getOwnerOfPhotoInTaggedAlbum($result.photoid)} {assign var=is_gif value=$this->is_gif($result.photoid)} {assign var="likes_count" value=$this->getLikesCount($result.photoid,'photo')} {assign var="comments_count" value=$this->getCommentsCount($result.photoid,'photo')} {assign var="photo_owner" value=$result.photo_owner} {assign var="photoid" value=$result.photoid} {assign var="liked_byme" value=$this->likedByMe($result.photoid,'photo')} {foreachelse} {$this->info_msg($this->lang['user_no_tagged_in_any_pictures'])} {/foreach} {/if}
{/if}
{/strip}