diff --git a/application/controllers/qso.php b/application/controllers/qso.php index d9575547..e35c0def 100644 --- a/application/controllers/qso.php +++ b/application/controllers/qso.php @@ -59,6 +59,8 @@ class QSO extends CI_Controller { $this->session->set_userdata('band', $this->input->post('band')); $this->session->set_userdata('freq', $this->input->post('freq')); $this->session->set_userdata('mode', $this->input->post('mode')); + $this->session->set_userdata('sat_name', $this->input->post('sat_name')); + $this->session->set_userdata('sat_mode', $this->input->post('sat_mode')); $this->db->select('COL_CALL, COL_BAND, COL_TIME_ON, COL_RST_RCVD, COL_RST_SENT, COL_MODE, COL_NAME, COL_COUNTRY, COL_PRIMARY_KEY'); $this->db->order_by("COL_TIME_ON", "desc"); diff --git a/application/models/logbook_model.php b/application/models/logbook_model.php index c82a9d19..cd7c7e61 100644 --- a/application/models/logbook_model.php +++ b/application/models/logbook_model.php @@ -93,7 +93,7 @@ class Logbook_model extends CI_Model { function total_ssb() { - $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE = \'ssb\' or COL_MODE = \'lsb\' or COL_MODE = \'usb\''); + $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE = \'SSB\' or COL_MODE = \'LSB\' or COL_MODE = \'USB\''); if ($query->num_rows() > 0) { @@ -105,7 +105,7 @@ class Logbook_model extends CI_Model { } function total_cw() { - $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE = \'cw\''); + $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE = \'CW\''); if ($query->num_rows() > 0) { @@ -117,7 +117,7 @@ class Logbook_model extends CI_Model { } function total_fm() { - $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE = \'fm\''); + $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE = \'FM\''); if ($query->num_rows() > 0) { @@ -129,7 +129,7 @@ class Logbook_model extends CI_Model { } function total_digi() { - $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE = \'psk31\' or COL_MODE = \'rtty\' or COL_MODE = \'psk63\' or COL_MODE = \'psk125\' or COL_MODE = \'JT65\''); + $query = $this->db->query('SELECT COUNT( * ) as count FROM '.$this->config->item('table_name').' WHERE COL_MODE != \'SSB\' or COL_MODE != \'LSB\' or COL_MODE = \'USB\' or COL_MODE = \'CW\' or COL_MODE = \'FM\''); if ($query->num_rows() > 0) { diff --git a/application/views/layout/header.php b/application/views/layout/header.php index 55463df6..b14e243a 100644 --- a/application/views/layout/header.php +++ b/application/views/layout/header.php @@ -38,6 +38,7 @@ ul#navlist li { float: left; margin: 2px 2px 0 3px; height:43px; border-bottom: #footer { margin: 0 auto; width: 780px; text-align: center; padding-top: 5px; padding-bottom: 5px; font-size: 12px; } #message { margin: 0 auto; width: 770px; border: 1px solid #fcefa1; background-color: #fbfaf3; padding: 5px; margin-top: 5px; margin-bottom: 5px; font-weight: bold; font-size: 12px; } +#message p { line-height: 1.7; margin: 0px 0; } .clear { clear: both; } h2 { margin: 0 auto; width: 780px; font-weight: bold; font-size: 23px; margin-top: 5px; margin-bottom: 10px; } h3 { font-weight: bold; font-size: 16px; margin: 5px; } @@ -51,15 +52,25 @@ table .titles { font-weight: bold; } #qso_input { border: 1px solid #dddddd; margin: 5px; padding: 2px; } .input_date { width: 70px; } .input_time { width: 54px; } -#locator { width: 47px; text-transform: uppercase; } +#locator { width: 55px; text-transform: uppercase; } #country { border: none; } #locator_info { font-size: 13px; } +#comment { width: 145px; } .dash_left { float: left; width: 430px; } .dash_sidebar { float: right; width: 350px; } .note { padding: 5px; } #notes_add { padding: 5px; } #search_box { padding: 5px; } + +a { text-decoration: none; color: #000; } +a:hover { text-decoration: underline; } + +p { +line-height: 1.7; +margin: 10px 0; +} + + + + + + + +
Sat Name | -+ | |
Sat Mode | -+ |