mirror of
https://github.com/openvk/openvk
synced 2024-11-14 02:59:12 +03:00
60 lines
2.5 KiB
XML
60 lines
2.5 KiB
XML
|
{extends "../@layout.xml"}
|
||
|
{block title}{_about_this_instance}{/block}
|
||
|
|
||
|
{block header}
|
||
|
{_about_this_instance}
|
||
|
{/block}
|
||
|
|
||
|
{block content}
|
||
|
<table width="100%" cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr valign="top">
|
||
|
<td width="250" {if sizeof($admins) > 0}style="padding-right: 10px;"{/if}>
|
||
|
<h4>{_statistics}</h4>
|
||
|
<div style="margin-top: 5px;">
|
||
|
{_on_this_instance_are}
|
||
|
<ul>
|
||
|
<li><span>{tr("about_users", $usersStats->all)|noescape}</span></li>
|
||
|
<li><span>{tr("about_online_users", $usersStats->online)|noescape}</span></li>
|
||
|
<li><span>{tr("about_active_users", $usersStats->active)|noescape}</span></li>
|
||
|
<li><span>{tr("about_groups", $clubsCount)|noescape}</span></li>
|
||
|
<li><span>{tr("about_wall_posts", $postsCount)|noescape}</span></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td n:if="sizeof($admins) > 0">
|
||
|
<h4>{_administrators}</h4>
|
||
|
<div style="margin-left: 5px; margin-top: 5px;">
|
||
|
<div n:foreach="$admins as $admin" class="avatar-list-item">
|
||
|
<div class="avatar">
|
||
|
<a href="{$admin->getURL()}">
|
||
|
<img class="ava" src="{$admin->getAvatarUrl()}" />
|
||
|
</a>
|
||
|
</div>
|
||
|
{* Это наверное костыль, ну да ладно *}
|
||
|
<div n:class="info, mb_strlen($admin->getCanonicalName()) < 22 ? info-centered">
|
||
|
<a href="{$admin->getURL()}" class="title">{$admin->getCanonicalName()}</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
<h4>{_most_popular_groups}</h4>
|
||
|
<ol>
|
||
|
<li n:foreach="$popularClubs as $entry" style="margin-top: 5px;">
|
||
|
<a href="{$entry->club->getURL()}">{$entry->club->getName()}</a>
|
||
|
<div>
|
||
|
{tr("participants", $entry->subscriptions)}
|
||
|
</div>
|
||
|
</li>
|
||
|
</ol>
|
||
|
|
||
|
<h4>{_rules}</h4>
|
||
|
<div style="margin-top: 16px;">
|
||
|
{presenter "openvk!Support->knowledgeBaseArticle", "rules"}
|
||
|
</div>
|
||
|
{/block}
|