<?php if(is_auth()): ?>
<?php echo $user->login; ?>
<?php echo $users_groups[$user->rights]['name']; ?>
<?php else: ?>
<?php endif; ?>
<?php if($conf->top_donators == '1'): ?>
Топ донатеров
<?php if (class_exists("Widgets")) { $CE = new Widgets($pdo, $tpl); if(method_exists($CE, "top_donators")) { $tpl->show($CE->top_donators($conf->top_donators_count)); } unset($CE); } ?>
<?php endif; ?>
Топ пользователей
<?php if (class_exists("Widgets")) { $CE = new Widgets($pdo, $tpl); if(method_exists($CE, "top_users")) { $tpl->show($CE->top_users('5')); } unset($CE); } ?>
Последнее на форуме
<?php if (class_exists("Widgets")) { $CE = new Widgets($pdo, $tpl); if(method_exists($CE, "last_forum_activity")) { $tpl->show($CE->last_forum_activity('5')); } unset($CE); } ?>
<?php if($conf->vk_admin == 1 or $conf->vk_group == 1): ?>
<?php endif; ?>