4images code on GitHub Click here to visit GitHub.
0 Members and 1 Guest are viewing this topic.
$time = time() - 60 * 60 * 24 * 1;$sql = "SELECT COUNT(user_id) AS new FROM ".USERS_TABLE." WHERE user_joindate >= ".$time;$users = $site_db->query_firstrow($sql);$sql = "SELECT COUNT(image_id) AS new FROM ".IMAGES_TABLE." i WHERE image_date >= ".$time;$images = $site_db->query_firstrow($sql);