diff --git a/application/controllers/Lookup.php b/application/controllers/Lookup.php
index 9614d3c19..3b998e32d 100644
--- a/application/controllers/Lookup.php
+++ b/application/controllers/Lookup.php
@@ -45,7 +45,11 @@ class Lookup extends CI_Controller {
} else {
$this->load->model('bands');
- $data['bands'] = $this->bands->get_worked_bands(xss_clean($this->input->post('type')));
+ if ($this->input->post('type') == 'itu') {
+ $data['bands'] = $this->bands->get_worked_bands();
+ } else {
+ $data['bands'] = $this->bands->get_worked_bands(xss_clean($this->input->post('type')));
+ }
$data['dxcc'] = xss_clean($this->input->post('dxcc'));
@@ -55,6 +59,7 @@ class Lookup extends CI_Controller {
$data['iota'] = xss_clean($this->input->post('iota'));
$data['cqz'] = xss_clean($this->input->post('cqz'));
$data['wwff'] = xss_clean($this->input->post('wwff'));
+ $data['ituz'] = xss_clean($this->input->post('ituz'));
$data['location_list'] = $location_list;
$data['result'] = $this->lookup_model->getSearchResult($data);
diff --git a/application/models/Lookup_model.php b/application/models/Lookup_model.php
index 31b3fcbc7..566fbe20f 100644
--- a/application/models/Lookup_model.php
+++ b/application/models/Lookup_model.php
@@ -58,6 +58,7 @@ class Lookup_model extends CI_Model{
case 'was': $sqlquerytypestring .= " and col_state = '" . $queryinfo['was'] . "' and COL_DXCC in ('291', '6', '110')"; break;
case 'sota': $sqlquerytypestring .= " and col_sota_ref = '" . $queryinfo['sota'] . "'"; break;
case 'wwff': $sqlquerytypestring .= " and col_sig = 'WWFF' and col_sig_info = '" . $queryinfo['wwff'] . "'"; break;
+ case 'itu': $sqlquerytypestring .= " and col_ituz = " . $queryinfo['ituz']; break;
default: break;
}
diff --git a/application/views/lookup/index.php b/application/views/lookup/index.php
index c1a3b55f5..c7f46e208 100644
--- a/application/views/lookup/index.php
+++ b/application/views/lookup/index.php
@@ -4,6 +4,7 @@
+
@@ -21,6 +22,15 @@
?>
+
+
+