' . $lng['digest'] . '';
echo '';
// Поздравление с днем рождения
if ($datauser['dayb'] == date('j', $realtime) && $datauser['monthb'] == date('n', $realtime)) {
echo '';
}
// Дайджест Администратора
if ($rights >= 1) {
$newusers_total = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `datereg` > '" . ($realtime - 86400) . "' AND `preg` = '1'"), 0);
$reg_total = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `preg` = 0"), 0);
$ban_total = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_ban_users` WHERE `ban_time` > '" . $realtime . "'"), 0);
echo '';
}
// Дайджест юзеров
echo '' . $lng['last_visit'] . ': ' . date("d.m.Y (H:i)", $last) . '
';
break;
default:
/*
-----------------------------------------------------------------
Главное меню сайта
-----------------------------------------------------------------
*/
if (isset($_SESSION['ref']))
unset($_SESSION['ref']);
include 'pages/mainmenu.php';
if (!$is_mobile)
include 'sitemap/index.php';
}
require('incfiles/end.php');
?>