kopia lustrzana https://github.com/magicbug/Cloudlog
Transfer QSLMSG to eqsl.cc during upload
rodzic
8c9e98888c
commit
b9de48d7d2
|
@ -430,6 +430,17 @@ class eqsl extends CI_Controller {
|
|||
$adif .= "%20";
|
||||
}
|
||||
|
||||
// adding qslmsg if it isn't blank
|
||||
if ($qsl['COL_QSLMSG'] != ''){
|
||||
$adif .= "%3C";
|
||||
$adif .= "QSLMSG";
|
||||
$adif .= "%3A";
|
||||
$adif .= strlen($qsl['COL_QSLMSG']);
|
||||
$adif .= "%3E";
|
||||
$adif .= $qsl['COL_QSLMSG'];
|
||||
$adif .= "%20";
|
||||
}
|
||||
|
||||
if ($qsl['eqslqthnickname'] != ''){
|
||||
$adif .= "%3C";
|
||||
$adif .= "APP%5FEQSL%5FQTH%5FNICKNAME";
|
||||
|
|
|
@ -2084,7 +2084,7 @@ class Logbook_model extends CI_Model {
|
|||
|
||||
// Show all QSOs we need to send to eQSL
|
||||
function eqsl_not_yet_sent() {
|
||||
$this->db->select('station_profile.*, '.$this->config->item('table_name').'.COL_PRIMARY_KEY, '.$this->config->item('table_name').'.COL_TIME_ON, '.$this->config->item('table_name').'.COL_CALL, '.$this->config->item('table_name').'.COL_MODE, '.$this->config->item('table_name').'.COL_SUBMODE, '.$this->config->item('table_name').'.COL_BAND, '.$this->config->item('table_name').'.COL_COMMENT, '.$this->config->item('table_name').'.COL_RST_SENT, '.$this->config->item('table_name').'.COL_PROP_MODE, '.$this->config->item('table_name').'.COL_SAT_NAME, '.$this->config->item('table_name').'.COL_SAT_MODE');
|
||||
$this->db->select('station_profile.*, '.$this->config->item('table_name').'.COL_PRIMARY_KEY, '.$this->config->item('table_name').'.COL_TIME_ON, '.$this->config->item('table_name').'.COL_CALL, '.$this->config->item('table_name').'.COL_MODE, '.$this->config->item('table_name').'.COL_SUBMODE, '.$this->config->item('table_name').'.COL_BAND, '.$this->config->item('table_name').'.COL_COMMENT, '.$this->config->item('table_name').'.COL_RST_SENT, '.$this->config->item('table_name').'.COL_PROP_MODE, '.$this->config->item('table_name').'.COL_SAT_NAME, '.$this->config->item('table_name').'.COL_SAT_MODE, '.$this->config->item('table_name').'.COL_QSLMSG');
|
||||
$this->db->from('station_profile');
|
||||
$this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id AND station_profile.eqslqthnickname != ""','left');
|
||||
$this->db->where($this->config->item('table_name').'.COL_CALL !=', '');
|
||||
|
|
Ładowanie…
Reference in New Issue