Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=34862
Postga havola
uddaburon [94] [off]
uZaFaRaP,
Kerakli joyga include qilas
<?php echo '<div class="phdr">Statistika</div><div class="menu">'; $users = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `lastdate` > '" . (time() - 300) . "'"), 0); $guests = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_sessions` WHERE `lastdate` > '" . (time() - 300) ."'"), 0); $online=$users+$guests; echo ''. 'Hozir Saytda: <b> '.$online.'</b><br/>'. '<a href="/users/index.php?act=online&mod=guest">Mehmonlar: <b>'.$guests.'</b></a><br/>'; echo 'Foydalanuvchilar:<b> '. $users.'</b></div>'; echo '</div>'; ?>
Kerakli joyga include qilas