Просмотр файла system/counts/photo.php
<? $count_photo = mysql_result(mysql_query("SELECT COUNT(*) FROM `photo_users`"), 0); $count_photo_new = mysql_result(mysql_query("SELECT COUNT(*) FROM `photo_users` WHERE `time` > '".(time()-86400)."'"), 0); return " $count_photo / $count_photo_new"; ?>