diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index b83cb6bb..121d3582 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -12,257 +12,84 @@ class eqsl extends CI_Controller { if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } } - private function loadFromFile($filepath) - { - ini_set('memory_limit', '-1'); - set_time_limit(0); - - // Figure out how we should be marking QSLs confirmed via eQSL - $query = $query = $this->db->query('SELECT eqsl_rcvd_mark FROM config'); - $q = $query->row(); - $config['eqsl_rcvd_mark'] = $q->eqsl_rcvd_mark; - - ini_set('memory_limit', '-1'); - set_time_limit(0); - - $this->load->library('adif_parser'); - - $this->adif_parser->load_from_file($filepath); - - $this->adif_parser->initialize(); - - $tableheaders = "
| Date | "; - $tableheaders .= "Call | "; - $tableheaders .= "Mode | "; - $tableheaders .= "Submode | "; - $tableheaders .= "Log Status | "; - $tableheaders .= "eQSL Status | "; - $tableheaders .= "|
| ".$time_on." | "; - $table .= "".str_replace("0","Ø",$record['call'])." | "; - $table .= "".$record['mode']." | "; - if (isset($record['submode'])) - { - $table .= "".$record['submode']." | "; - } else { - $table .= ""; - } - $table .= " | QSO Record: ".$status." | "; - $table .= "eQSL Record: ".$eqsl_status." | "; - $table .= "
There are no QSO confirmations waiting for you at eQSL.cc
"; - } -?> -| Date | +Call | +Mode | +Submode | +Log Status | +eQSL Status | +
| + | + | + | + | + | + |
There are no QSO confirmations waiting for you at eQSL.cc
+ + +