{extends "../@layout.xml"} {block title}{$user->getCanonicalName()}{/block} {block headIncludes} {/block} {block header} {$user->getCanonicalName()} ({_"this_is_you"})
{if $diff->i <= 5} {_online} {else} {_was_online} {$user->getOnline()} {/if}
{/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}

{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"}
{_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}

{$user->getFullName()}

{if !is_null($user->getStatus())}
{$user->getStatus()}
{elseif isset($thisUser) && $user->getId() == $thisUser->getId()} {/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"}
{_"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->wall", $user->getId()}
{/if} {else} {* isBanned() *} {include "banned.xml"} {/if} {/block}