echo_error(PARAMETER_NOT_SET); } break; case 'get_events_related_to': if (isset($_GET['keyword'])) { $keyword = $_GET['keyword']; Controller::get_events_related_to($keyword); } else { echo_error(PARAMETER_NOT_SET); } break; case 'get_events_keyword_location_within_one_day': if (isset($_GET['keyword']) and isset($_GET['location'])) { $keyword = $_GET['keyword']; $location = $_GET['location']; Controller::get_events_keyword_location_within_one_day($keyword, $location); } else { echo_error(PARAMETER_NOT_SET); } break; case 'get_events_keyword_location_within_one_week': if (isset($_GET['keyword']) and isset($_GET['location'])) { $keyword = $_GET['keyword']; $location = $_GET['location']; Controller::get_events_keyword_location_within_one_week($keyword, $location); } else { echo_error(PARAMETER_NOT_SET); } break; case 'get_events_keyword_location_within_one_month': if (isset($_GET['keyword']) and isset($_GET['location'])) {