Файл: online/info.php
Строк: 56
<?php
/*
* Стaтистикa посeщeний
* DCMS Special
* Модифицировал densnet
* Файл guest.php
*/
require_once '../sys/inc/start.php';
require_once '../sys/inc/compress.php';
require_once '../sys/inc/sess.php';
require_once '../sys/inc/settings.php';
require_once '../sys/inc/db_connect.php';
require_once '../sys/inc/ipua.php';
require_once '../sys/inc/fnc.php';
require_once '../sys/inc/user.php';
$set['title'] = 'Стaтистикa посeщeний';
require_once '../sys/inc/thead.php';
aut();
err();
$on24 = mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > '" . TIME_TODAY . "'"), 0);
echo "<div class = 'blok'>Статистика посещений</div>";
echo "<div class = 'razd'>";
include 'max_online.php';
echo "</div><div class = 'razd'>";
echo "<img src = '/style/icons/right_mini.png' /> <a href = 'todey.php'>Сегодня заходили [$on24]</a>";
echo "</div><div class = 'razd'>";
echo "Статистика зa: <br />";
echo "<img src = '/style/icons/right_mini.png' /> <a href = '1.day.php'>1 день</a><br />";
echo "<img src = '/style/icons/right_mini.png' /> <a href = '2.day.php'>2 дня</a><br />";
echo "<img src = '/style/icons/right_mini.png' /> <a href = '3.day.php'>3 дня</a><br />";
echo "<img src = '/style/icons/right_mini.png' /> <a href = '4.day.php'>4 дня</a><br />";
echo "<img src = '/style/icons/right_mini.png' /> <a href = '5.day.php'>5 дней</a><br />";
echo "<img src = '/style/icons/right_mini.png' /> <a href = '6.day.php'>6 дней</a><br />";
echo "<img src = '/style/icons/right_mini.png' /> <a href = '7.day.php'>7 дней</a><br />";
echo "</div>";
require_once '../sys/inc/tfoot.php';