{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())}
{if $thisUser && $club->canBeModifiedBy($thisUser)} {_add_image} {/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())}
{_discussions}
{tr("topics", $topicsCount)}
{_all_title}
{$topic->getTitle()}
{tr("updated_at", $topic->getUpdateTime())}
{/block}