diff --git a/application/controllers/eqsl.php b/application/controllers/eqsl.php index f7de68ab..768e93c4 100644 --- a/application/controllers/eqsl.php +++ b/application/controllers/eqsl.php @@ -372,7 +372,7 @@ class eqsl extends CI_Controller { $adif .= "%20"; // adding prop mode if it isn't blank - if ($qsl['COL_PROP_MODE'] != ''){ + if ($qsl['COL_PROP_MODE'] = ''){ $adif .= "%3C"; $adif .= "PROP_MODE"; $adif .= "%3A"; diff --git a/application/controllers/statistics.php b/application/controllers/statistics.php index 61101a7c..48cb2089 100644 --- a/application/controllers/statistics.php +++ b/application/controllers/statistics.php @@ -58,7 +58,10 @@ class Statistics extends CI_Controller { } } + $this->load->model('logbook_model'); + $data['page_title'] = "Custom Statistics"; + $data['modes'] = $this->logbook_model->get_modes(); $this->load->helper(array('form', 'url')); @@ -70,7 +73,7 @@ class Statistics extends CI_Controller { if ($this->form_validation->run() == FALSE) { $this->load->view('layout/header', $data); - $this->load->view('statistics/custom'); + $this->load->view('statistics/custom', $data); $this->load->view('layout/footer'); } else @@ -80,7 +83,6 @@ class Statistics extends CI_Controller { $data['result'] = $this->stats->result(); - $this->load->view('layout/header', $data); $this->load->view('statistics/custom_result'); $this->load->view('layout/footer'); diff --git a/application/models/dxcc.php b/application/models/dxcc.php index 0ff1b4b5..04b9fb42 100644 --- a/application/models/dxcc.php +++ b/application/models/dxcc.php @@ -32,7 +32,8 @@ class DXCC extends CI_Model { "10m"=>0, "6m" =>0, "4m" =>0, - "2m" =>0); + "2m" =>0, + "70cm"=>0); $last_country = $row->COL_COUNTRY; } diff --git a/application/views/awards/dxcc/index.php b/application/views/awards/dxcc/index.php index 4b4b2c38..4bd1424d 100644 --- a/application/views/awards/dxcc/index.php +++ b/application/views/awards/dxcc/index.php @@ -11,7 +11,7 @@ - + @@ -24,6 +24,7 @@ + diff --git a/application/views/statistics/custom.php b/application/views/statistics/custom.php index 233ecc13..906eed36 100644 --- a/application/views/statistics/custom.php +++ b/application/views/statistics/custom.php @@ -54,6 +54,11 @@ Data FM AM + result() as $row){ + printf('%s', $row->COL_MODE, $row->COL_MODE, $row->COL_MODE); + } + ?>
CountryCountry () 160m 80m 40m6m 4m 2m70cm