{extends "../@layout.xml"} {block title}{_photo}{/block} {block header} {ifset $album} {var $album_owner = $album->getOwner()} {$album_owner->getCanonicalName()} {if ($album_owner instanceof openvk\Web\Models\Entities\Club)} » {_albums} {else} » {_albums} {/if} » {$album->getName()} {else} {$owner->getCanonicalName()} {/ifset} » {_photo} {/block} {block content}

{$photo->getDescription()}

{_info_upload_date}: {$photo->getPublicationTime()} {if isset($thisUser)} | {var $liked = $photo->hasLikeFrom($thisUser)} {var $likesCount = $photo->getLikesCount()} {/if}

{include "../components/comments.xml", comments => $comments, count => $cCount, page => $cPage, model => "photos", parent => $photo, custom_id => 999}
{/block}