<?php defined('_IN_JOHNCMS') or die('Error: restricted access'); // reklamaif (!empty($cms_ads[2])) {echo '<div class="phdr"><b>Tafsiya etamiz</b></div>';echo $cms_ads[2];} // frazy$frazy = mysql_fetch_array(mysql_query('SELECT * FROM `frazy` WHERE `moder`=1 ORDER BY RAND() LIMIT 1'));echo '<div class="menu"><b>Bilasizmi?!</b><br/>' . $frazy['text'] . '</div>'; // online$on1 = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `lastdate` > '" . (time() - 300) . "'"), 0);$on2 = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_sessions` WHERE `lastdate` > '" . (time() - 300) . "'"), 0);$on3 = ($on1 + $on2);echo '<div class="fmenu">';if ($on3 < 5){echo '<img src="'.$home.'/images/spotti/12.png" alt="#" style="width: 50px; height: 60px; float: left;"/>';}if ($on3 < 10){if ($on3 > 4){echo '<img src="'.$home.'/images/spotti/07.png" alt="#" style="width: 50px; height: 60px; float: left;"/>';}}if ($on3 < 20){if ($on3 > 9){echo '<img src="'.$home.'/images/spotti/06.png" alt="#" style="width: 50px; height: 60px; float: left;"/>';}}if ($on3 > 19){echo '<img src="'.$home.'/images/spotti/01.png" alt="#" style="width: 50px; height: 60px; float: left;"/>';}echo '<div class="info" style="min-height: 52px; margin-left: 54px;">» Hozir saytdagilar '.$on3.'<br/>';echo '» Foydalanuvchilar '.$on1.'<br/>» Mehmonlar '.$on2.'</div></div>'; // copyecho '<div class="footer" style="text-align: center;">© <a href="/"><b>SHOVVOZLAR.COM</b></a> 2015<br/>Shovvozlar Bilan Birga !!!</div>'; // hisoblash$page_size = ob_get_length();$hisoblagichend = microtime(true);$tezlik = $hisoblagichend - $hisoblagich;echo '<div class="menu"><table cellspacing="0" cellpadding="0" width="100%"><tr><td><small><b>' .// 'Sahifa hajmi: '.round($page_size / 1024, 2).' kb.<br/>' .'Tezlik: '.round($tezlik,3).' sekund</b></small></td><td style="float: right;">';functions::display_counters();echo '</td></tr></table></div>'; // reklamaif (!empty($cms_ads[3])) {echo $cms_ads[3];} echo '</body></html>';
« Mavzuga qaytish