diff --git a/application/controllers/Satellite.php b/application/controllers/Satellite.php index 0237bdd50..53f143b67 100644 --- a/application/controllers/Satellite.php +++ b/application/controllers/Satellite.php @@ -186,7 +186,7 @@ class Satellite extends CI_Controller { echo json_encode($sat_list, JSON_FORCE_OBJECT); } - public function flightpath() { + public function flightpath($sat = null) { $this->load->model('satellite_model'); $this->load->model('stations'); @@ -206,11 +206,11 @@ class Satellite extends CI_Controller { $this->load->library('Qra'); $pageData['latlng'] = $this->qra->qra2latlong($homegrid[0]); - + $data['selsat']=strtoupper($sat ?? ''); // Render Page $pageData['page_title'] = "Satellite Flightpath"; $this->load->view('interface_assets/header', $pageData); - $this->load->view('satellite/flightpath'); + $this->load->view('satellite/flightpath',$data); $this->load->view('interface_assets/footer', $footerData); } diff --git a/application/views/satellite/flightpath.php b/application/views/satellite/flightpath.php index 22f68605b..2a8309073 100644 --- a/application/views/satellite/flightpath.php +++ b/application/views/satellite/flightpath.php @@ -38,11 +38,14 @@ +
diff --git a/application/views/satellite/passtable.php b/application/views/satellite/passtable.php index dca2ebd3a..bd9777c44 100644 --- a/application/views/satellite/passtable.php +++ b/application/views/satellite/passtable.php @@ -23,7 +23,7 @@ if (isset($filtered)) { echo '