diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 224539b0..c503889d 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -229,23 +229,6 @@ class Awards extends CI_Controller { $this->load->view('interface_assets/footer'); } - /* - Handles showing worked WACRAL members (wacral.org) - Comment field - WACRAL:# - */ - public function wacral() { - - // Grab all worked wacral members - $this->load->model('wacral'); - $data['wacral_all'] = $this->wacral->get_all(); - - // Render page - $data['page_title'] = "Awards - WACRAL Members"; - $this->load->view('interface_assets/header', $data); - $this->load->view('awards/wacral/index'); - $this->load->view('interface_assets/footer'); - } - public function cq(){ $this->load->model('cq'); $zones = array(); diff --git a/application/models/Wacral.php b/application/models/Wacral.php deleted file mode 100644 index 1f0bfcd2..00000000 --- a/application/models/Wacral.php +++ /dev/null @@ -1,28 +0,0 @@ -load->model('Stations'); - $station_id = $CI->Stations->find_active(); - - $this->db->where("station_id", $station_id); - $this->db->order_by("COL_COMMENT", "ASC"); - $this->db->like('COL_COMMENT', 'WACRAL:'); - - return $this->db->get($this->config->item('table_name')); - } -} - -?> \ No newline at end of file diff --git a/application/views/awards/index.php b/application/views/awards/index.php index b844e335..6487c469 100644 --- a/application/views/awards/index.php +++ b/application/views/awards/index.php @@ -5,7 +5,6 @@ diff --git a/application/views/awards/wacral/index.php b/application/views/awards/wacral/index.php deleted file mode 100644 index 444bb3c1..00000000 --- a/application/views/awards/wacral/index.php +++ /dev/null @@ -1,45 +0,0 @@ -
-

- - num_rows() > 0) { ?> - - - - - - - - - - - - result() as $row) { - ?> - - - - - - - - - - - -
Membership #Date/TimeCallsignBandRST SentRST Received
- COL_COMMENT); - foreach($pieces as $val) { - if (strpos($val,'WACRAL:') !== false) { - //echo $val; - echo $rest = substr($val,7); // returns "cde" - } - } - ?> - COL_TIME_ON); echo date('d/m/y', $timestamp); ?> - COL_TIME_ON); echo date('H:i', $timestamp); ?>COL_CALL; ?>COL_BAND; ?>COL_RST_SENT; ?>COL_RST_RCVD; ?>
- - -

You have lot logged any WACRAL

- -