diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index b23b5d11f..1cd9c8fc3 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -297,7 +297,7 @@ class Awards extends CI_Controller { $postdata['qrz'] = 0; $postdata['worked'] = 1; $postdata['confirmed'] = 1; - $postdata['notworked'] = 1; + $postdata['notworked'] = 0; $postdata['includedeleted'] = 0; $postdata['Africa'] = 1; $postdata['Asia'] = 1; diff --git a/application/models/Jcc.php b/application/models/Jcc.php index c2ad90590..535cd39dc 100644 --- a/application/models/Jcc.php +++ b/application/models/Jcc.php @@ -857,14 +857,14 @@ class Jcc extends CI_Model { if ($postdata['worked'] != NULL) { $jccBand = $this->getJccWorked($location_list, $band, $postdata); foreach ($jccBand as $line) { - $bandJcc[$line->col_cnty][$band] = '
col_cnty . '","' . $band . '","'. $postdata['mode'] . '","WAJA", "")\'>W
'; + $bandJcc[$line->col_cnty][$band] = '
col_cnty . '","' . $band . '","'. $postdata['mode'] . '","JCC", "")\'>W
'; $cities[$line->col_cnty]['count']++; } } if ($postdata['confirmed'] != NULL) { $jccBand = $this->getJccConfirmed($location_list, $band, $postdata); foreach ($jccBand as $line) { - $bandJcc[$line->col_cnty][$band] = '
col_cnty . '","' . $band . '","'. $postdata['mode'] . '","WAJA", "'.$qsl.'")\'>C
'; + $bandJcc[$line->col_cnty][$band] = '
col_cnty . '","' . $band . '","'. $postdata['mode'] . '","JCC", "'.$qsl.'")\'>C
'; $cities[$line->col_cnty]['count']++; } } diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 4b75642ad..0d72429d4 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -380,10 +380,14 @@ class Logbook_model extends CI_Model { $this->db->where('COL_STATE', $searchphrase); $this->db->where_in('COL_DXCC', ['1']); break; - case 'helvetia': - $this->db->where('COL_STATE', $searchphrase); - $this->db->where_in('COL_DXCC', ['287']); - break; + case 'helvetia': + $this->db->where('COL_STATE', $searchphrase); + $this->db->where_in('COL_DXCC', ['287']); + break; + case 'JCC': + $this->db->where('COL_CNTY', $searchphrase); + $this->db->where('COL_DXCC', '339'); + break; case 'SOTA': $this->db->where('COL_SOTA_REF', $searchphrase); break; diff --git a/application/views/awards/jcc/index.php b/application/views/awards/jcc/index.php index 9e02bc161..ba516ed35 100644 --- a/application/views/awards/jcc/index.php +++ b/application/views/awards/jcc/index.php @@ -1,55 +1,3 @@ - - -

@@ -81,7 +29,7 @@
- input->post('notworked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> > + input->post('notworked')) echo ' checked="checked"'; ?> >
@@ -150,9 +98,6 @@
- -
@@ -161,19 +106,12 @@
-
-
- -
@@ -187,7 +125,7 @@ Number - Prefecture'; + City'; foreach($bands as $band) { echo '' . $band . '';