Файл: WM-Koder/system/foot.php
Строк: 83
<?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 . "'");
}
if ($_SERVER['PHP_SELF'] !== '/index.php') echo $block . '<div class="menu"><a class="ssyl2" href="/?"> <img src="/ico/reload.gif" alt=""/> На главную</a></div></div>';
echo '<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="foot">Время: '.date('H:i:s').'<br>'.$copy.'<br/>';
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>';
?>
<!-- Yandex.Metrika informer -->
<a href="http://metrika.yandex.ru/stat/?id=22750522&from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/22750522/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:22750522,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter22750522 = new Ya.Metrika({id:22750522,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/22750522" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<?
mysql_close();
echo '</body></html>';
?>