diff --git a/application/models/Bands.php b/application/models/Bands.php index e7eabca48..f862493e1 100644 --- a/application/models/Bands.php +++ b/application/models/Bands.php @@ -99,6 +99,22 @@ class Bands extends CI_Model { return $this->db->get()->result(); } + function get_all_bandedges_for_user() { + $this->db->from('bandedges'); + $this->db->where('bandedges.userid', $this->session->userdata('user_id')); + + $result = $this->db->get()->result(); + + if ($result) { + return $result; + } + + $this->db->from('bandedges'); + $this->db->where('bandedges.userid', -1); + + return $this->db->get()->result(); + } + function all() { return $this->bandslots; } diff --git a/application/views/bands/bandedges.php b/application/views/bands/bandedges.php new file mode 100644 index 000000000..e06a54668 --- /dev/null +++ b/application/views/bands/bandedges.php @@ -0,0 +1,45 @@ +
+ = __("Using the bandedges list you can control the mode classification in the cluster."); ?>
+
| = __("Frequency from (Hz)"); ?> | += __("Frequency to (Hz)"); ?> | += __("Mode"); ?> | +
|---|---|---|
| frequencyfrom;?> | +frequencyto;?> | +mode;?> | +