get_incidents((isset($_GET['future'])?$_GET['future']:false), $offset, $limit, $timestamp); echo json_encode($result); }