Просмотр файла system/counts/photo.php

Размер файла: 264B
  1. <?
  2. $count_photo = mysql_result(mysql_query("SELECT COUNT(*) FROM `photo_users`"), 0);
  3. $count_photo_new = mysql_result(mysql_query("SELECT COUNT(*) FROM `photo_users` WHERE `time` > '".(time()-86400)."'"), 0);
  4.  
  5.  
  6. echo " $count_photo / $count_photo_new";
  7.  
  8.  
  9. ?>