function deleteAjax() { system::$display = false; $id = ''; if (isset($_GET["contentID"])) { $id = intval($_GET["contentID"]); $fill = photo::deleteById($id); } return false; }