{extends "../@layout.xml"} {block title}{$user->getCanonicalName()}{/block} {block headIncludes} {/block} {block header} {$user->getCanonicalName()} ({_"this_is_you"})
{if $user->isOnline()} {_online} {else} {_was_online} {$user->getOnline()} {/if}
{_deceased_person}
{/block} {block content} {if !$user->isBanned()} {if !$user->getPrivacyPermission('page.read', $thisUser ?? NULL)}
{_forbidden}
{_forbidden_comment}
{else}
{$user->getCanonicalName()}
{var completeness = $user->getProfileCompletenessReport()}
{$completeness->total}%
{if isset($thisUser) && $user->getId() === $thisUser->getId() && sizeof($completeness->unfilled) > 0}
{_interests} (+20%) Email (+20%) {_phone} (+20%) Telegram (+10%) {_status} (+10%) {/if}

{_gifts}
{tr("gifts", $giftCount)}
{_all_title}
{var hideInfo = !is_null($thisUser) ? ($giftDescriptor->anon ? $thisUser->getId() !== $user->getId() : false) : false} {$hideInfo ? tr('gift') : ($giftDescriptor->caption ?? tr('gift'))}
{var friendCount = $user->getFriendsCount()}
{_"friends"}
{tr("friends", $friendCount)}
{_"all_title"}
{var followersCount = $user->getFollowersCount()}
{_followers}
{tr("followers", $followersCount)}
{_"all_title"}
{_"albums"}
{tr("albums", $albumsCount)}
{_"all_title"}
{var cover = $album->getCoverPhoto()}
{$album->getName()}
{tr("updated_at", $album->getEditTime() ?? $album->getPublicationTime())}
{_videos}
{tr("videos", $videosCount)}
{_"all_title"}
{ovk_proc_strtr($video->getName(), 30)}
{$video->getPublicationTime()} | {_comments} ({$video->getCommentsCount()})
{_notes}
{tr("notes", $notesCount)}
{_"all_title"}
{var clubsCount = $user->getClubCount()}
{_"groups"}
{tr("groups", $clubsCount)}
{_"all_title"}
{$club->getName()} {if !$iterator->last}•{/if}
{var meetingCount = $user->getMeetingCount()}
{_meetings}
{tr("meetings", $meetingCount)}
{_"all_title"}
{$meeting->getName()} {if !$iterator->last}•{/if}
{$alert}

{$user->getFullName()}

{if !is_null($user->getStatus())}
{$user->getStatus()}
{elseif isset($thisUser) && $user->getId() == $thisUser->getId()} {/if}
{if $user->getBirthday() > 0} {/if}
{_"gender"}: {$user->isFemale() ? tr("female") : tr("male")}
{_"relationship"}: {var $marialStatus = $user->getMaritalStatus()}{_"relationship_$marialStatus"}
{_"registration_date"}: {$user->getRegistrationTime()}
{_"hometown"}: {$user->getHometown()}
{_"politViews"}: {var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}
{_"birth_date"}: {date('d F Y',$user->getBirthday())}, {date('m d') >= date('m d', $user->getBirthday()) ? date('Y') - date('Y', $user->getBirthday()) : (date('m d') < date('m d', $user->getBirthday()) ? date('Y') - date('Y', $user->getBirthday()) - 1)} {_"years"}
{_"information"}
{capture $contactInfo_Tmp}
{_"email"}: {$user->getContactEmail()}
{_"telegram"}: @{$user->getTelegram()}
{_"city"}: {$user->getCity()}
{_"address"}: {$user->getPhysicalAddress()}
{/capture} {capture $uInfo_Tmp}
{_"interests"}: {$user->getInterests()}
{_"favorite_music"}: {$user->getFavoriteMusic()}
{_"favorite_films"}: {$user->getFavoriteFilms()}
{_"favorite_shows"}: {$user->getFavoriteShows()}
{_"favorite_books"}: {$user->getFavoriteBooks()}
{_"favorite_quotes"}: {$user->getFavoriteQuote()}
О себе: {$user->getDescription()}
{/capture}
{if !empty($contactInfo_Tmp)}

{_"contact_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}[ {_"edit"} ]{/if}{/ifset}

{if !empty($contactInfo_Tmp)} {$contactInfo_Tmp|noescape} {else}
{_no_information_provided}
{/if}
{/if}

{_"personal_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}[ {_"edit"} ]{/if}{/ifset}

{if !empty($uInfo_Tmp)} {$uInfo_Tmp|noescape} {else}
{_no_information_provided}
{/if}

Пользователь предпочёл оставить о себе только воздух тайны.

{presenter "openvk!Wall->wallEmbedded", $user->getId()}
{/if} {else} {* isBanned() *} {include "banned.xml"} {/if} {/block}