Файл: WM-Koder/system/footr.php
Строк: 34
<?php
$Contents = ob_get_contents();
$gzib_file = strlen($Contents);
if ($support_deflate)
{
$gzib_file_out = strlen(gzdeflate($Contents,9));
}
else
{
if ($support_gzip)
{
$gzib_file_out = strlen(gzencode($Contents,9));
}
else
{
if ($support_x_gzip)
{
$gzib_file_out = strlen(gzcompress($Contents, 9));
}
else
{
$gzib_file_out = strlen($Contents);
}
}
}
$gzib_pro = round(100 - (100 / ($gzib_file / $gzib_file_out)), 1);
if (!empty($_SESSION['us'])) {
mysql_query("DELETE FROM `guests` WHERE `date_last` < '" . time() - 200 . "'");
}
echo '<font color="white"><div class="ssyl2"><div class="auth2">';
$num_g = mysql_result(mysql_query("SELECT COUNT(ip) FROM `guests` WHERE `date_last` > '" . (time() - 200) . "' AND `pereh` > '0'"), 0);
$num_u = mysql_result(mysql_query("SELECT COUNT(id) FROM `users` WHERE `onl` + '300' > '" . time() . "'"), 0);
echo 'Онлайн: <a href="/online.php?">' . $num_u . ' | ' . $num_g . '</a></div>';
echo '</div></div>';
echo '<div class="titler">Время: '.date('H:i:s').'<br>'.$copy.'<br/></font>';
echo '</div>';
echo '</div>';
//echo '<script src="//c.icq.com/siteim/icqbar/js/partners/initbar_ru.js" language="javascript" type="text/javascript" charset="utf-8"></script>';
mysql_close();
echo '</body></html>';
?>