diff --git a/application/controllers/Qso.php b/application/controllers/Qso.php index d2e70c6d..c66884d8 100755 --- a/application/controllers/Qso.php +++ b/application/controllers/Qso.php @@ -24,6 +24,7 @@ class QSO extends CI_Controller { $data['radios'] = $this->cat->radios(); $data['query'] = $this->logbook_model->last_custom('5'); $data['dxcc'] = $this->logbook_model->fetchDxcc(); + $data['iota'] = $this->logbook_model->fetchIota(); $this->load->library('form_validation'); diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 36e52204..6e6d9a53 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1820,6 +1820,15 @@ class Logbook_model extends CI_Model { return $query->result(); } + + function fetchIota() { + $sql = "select tag, name from iota"; + + $sql .= ' order by tag'; + $query = $this->db->query($sql); + + return $query->result(); + } } diff --git a/application/views/qso/index.php b/application/views/qso/index.php index e339cb09..fe12aa80 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -298,7 +298,16 @@
- e.g: EU-005 +