{extends "../@layout.xml"} {var $backdrops = $club->getBackDropPictureURLs()} {block title}{$club->getName()}{/block} {block header} {$club->getName()} {_verified_page} {/block} {block content}
{strpos($alert, "@") === 0 ? tr(substr($alert, 1)) : $alert}
{_information}
{_name_group}: {$club->getName()}
{_description}: {$club->getDescriptionHtml()|noescape}
{_website}: {$club->getWebsite()}
{var $followersCount = $club->getFollowersCount()}
{_participants}
{tr("participants", $followersCount)}
{_all_title}
{_discussions}
{tr("topics", $topicsCount)}
{_all_title}
{$topic->getTitle()}
{tr("updated_at", $topic->getUpdateTime())}
{_audios}
{tr("audios_count", $audiosCount)}
{_all_title}
{include "../Audio/player.xml", audio => $audio}
{tr("suggested_by_you", $suggestedPostsCountByUser)}
{tr("suggested_by_everyone", $suggestedPostsCountByEveryone)}
{presenter "openvk!Wall->wallEmbedded", -$club->getId()}
{var $avatarPhoto = $club->getAvatarPhoto()} {var $avatarLink = ((is_null($avatarPhoto) ? FALSE : $avatarPhoto->isAnonymous()) ? "/photo" . ("s/" . base_convert((string) $avatarPhoto->getId(), 10, 32)) : $club->getAvatarLink())}
{var $hasAvatar = !str_contains($club->getAvatarUrl('miniscule'), "/assets/packages/static/openvk/img/camera_200.png")} {if !is_null($thisUser) && $hasAvatar == false && $club->canBeModifiedBy($thisUser)} {_add_image_group} {elseif !is_null($thisUser) && $hasAvatar == true && $club->canBeModifiedBy($thisUser)} {/if}
{_group_type}
{_group_type_open}
{_creator}
{var $author = $club->getOwner()} {* Это наверное костыль, ну да ладно *}
{$author->getCanonicalName()}
{$author->getCanonicalName()}
{$club->getOwnerComment()}
{var $managersCount = $club->getManagersCount(true)}
{_administrators}
{tr("administrators", $managersCount)}
{_all_title}
{var $author = $club->getOwner()}
{$author->getCanonicalName()}
{$club->getOwnerComment()}
{var $user = $manager->getUser()}
{$user->getCanonicalName()}
{$manager->getComment()}
{_albums}
{tr("albums", $albumsCount)}
{_all_title}
{var $cover = $album->getCoverPhoto()}
{$album->getName()}
{tr("updated_at", $album->getEditTime() ?? $album->getCreationTime())}
{_videos}
{tr("videos", $videosCount)}
{_all_title}
{ovk_proc_strtr($video->getName(), 30)}
{$video->getPublicationTime()} | {_comments} ({$video->getCommentsCount()})
{_discussions}
{tr("topics", $topicsCount)}
{_all_title}
{$topic->getTitle()}
{tr("updated_at", $topic->getUpdateTime())}
{/block} {block bodyScripts} {script "js/al_despacito_wall.js"} {/block}