From 577326eb47f8663feab0f062cb5f275cc5de59a0 Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 29 Oct 2025 21:23:40 +0100 Subject: [PATCH] Also removed related stuff --- application/models/Logbook_model.php | 53 ---------------------------- application/views/cfd/index.php | 29 --------------- 2 files changed, 82 deletions(-) delete mode 100644 application/views/cfd/index.php diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 9c20d8bc0..8e93e01b0 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -2801,59 +2801,6 @@ class Logbook_model extends CI_Model { return $query; } - function cfd_get_all_qsos($fromdate, $todate) { - $binding = []; - $this->load->model('logbooks_model'); - $logbooks_locations_array = $this->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook')); - - // If date is set, we add it to the where-statement - if ($fromdate ?? '' != "") { - $from = " AND date(q.COL_TIME_ON) >= ?"; - $binding[] = $fromdate; - } else { - $from = ""; - } - if ($todate ?? '' != "") { - $till = " AND date(q.COL_TIME_ON) <= ?"; - $binding[] = $todate; - } else { - $till = ''; - } - - $location_list = "'" . implode("','", $logbooks_locations_array) . "'"; - - $sql = "SELECT - dx.prefix,dx.name, - CASE - WHEN q.col_mode = 'CW' THEN 'C' - WHEN mo.qrgmode = 'DATA' THEN 'R' - WHEN mo.qrgmode = 'SSB' THEN 'F' - ELSE mo.qrgmode - END AS mode,q.col_band as band, - COUNT(1) as cnfmd - FROM " . $this->config->item('table_name') . " q - INNER JOIN - dxcc_entities dx ON (dx.adif = q.COL_DXCC) - INNER JOIN - adif_modes mo ON (mo.mode = q.COL_MODE) - inner join bands b on (b.band=q.COL_BAND) - WHERE - (q.COL_QSL_RCVD = 'Y' - OR q.COL_LOTW_QSL_RCVD = 'Y' - OR q.COL_EQSL_QSL_RCVD = 'Y') - AND q.station_id in (" . $location_list . ") - AND (b.bandgroup='hf' or b.band = '6m' or b.band = '160m') " . ($from ?? '') . " " . ($till ?? '') . " - GROUP BY dx.prefix,dx.name , CASE - WHEN q.col_mode = 'CW' THEN 'C' - WHEN mo.qrgmode = 'DATA' THEN 'R' - WHEN mo.qrgmode = 'SSB' THEN 'F' - ELSE mo.qrgmode - END,q.COL_BAND order by dx.prefix asc, q.col_band desc"; - - $query = $this->db->query($sql, $binding); - return $query; - } - function totals_year() { $this->load->model('logbooks_model'); diff --git a/application/views/cfd/index.php b/application/views/cfd/index.php deleted file mode 100644 index a19388697..000000000 --- a/application/views/cfd/index.php +++ /dev/null @@ -1,29 +0,0 @@ -
-
-

CFD

- -
-
- https://dcl.darc.de/toplist"); ?> -
- -
- -
-
-
- - -
- -
- - -
-
-
- -
-
-
-