diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 459ffa1e..4363ba69 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -42,6 +42,12 @@ class Logbook_model extends CI_Model { $stx = null; } + if($this->input->post('contestname')) { + $contestid = $this->input->post('contestname'); + } else { + $contestid = null; + } + if($this->session->userdata('user_locator')){ $locator = $this->session->userdata('user_locator'); } else { @@ -132,6 +138,7 @@ class Logbook_model extends CI_Model { 'COL_SRX' => $srx, 'COL_STX_STRING' => $stx_string, 'COL_SRX_STRING' => $srx_string, + 'COL_CONTEST_ID' => $contestid, 'COL_NR_BURSTS' => null, 'COL_NR_PINGS' => null, 'COL_MAX_BURSTS' => null, diff --git a/application/views/contesting/index.php b/application/views/contesting/index.php index 174489dc..362a5240 100644 --- a/application/views/contesting/index.php +++ b/application/views/contesting/index.php @@ -10,8 +10,8 @@
- -
+ +
-
+ +
+ +