Show info about SAT support by LoTW

This commit is contained in:
phl0
2026-01-13 23:49:37 +01:00
parent c62ba6ddd4
commit 001c498480
4 changed files with 66 additions and 1 deletions

View File

@@ -237,6 +237,15 @@ class Satellite extends CI_Controller {
echo json_encode($satellite_data, JSON_FORCE_OBJECT);
}
public function lotw_support() {
$sat = $this->security->xss_clean($this->input->post('sat'));
$this->load->model('satellite_model');
$lotw_data = $this->satellite_model->lotw_support($sat);
header('Content-Type: application/json');
echo json_encode($lotw_data);
}
public function pass() {
$this->load->model('satellite_model');