Merge branch 'dev' into dxcc_award_map
这个提交包含在:
当前提交
faeb9a49f7
共有 78 个文件被更改,包括 40963 次插入 和 274 次删除
|
|
@ -14,7 +14,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
*/
|
||||
|
||||
$config['app_name'] = "Cloudlog";
|
||||
$config['app_version'] = "1.7";
|
||||
$config['app_version'] = "2.1";
|
||||
$config['directory'] = "logbook";
|
||||
|
||||
$config['callbook'] = "hamqth"; // Options are hamqth or qrz
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
|
|||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = 105;
|
||||
$config['migration_version'] = 109;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ return array(
|
|||
'json' => array('application/json', 'text/json'),
|
||||
'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'),
|
||||
'p10' => array('application/x-pkcs10', 'application/pkcs10'),
|
||||
'p12' => 'application/octet-stream',
|
||||
'p12' => array('application/octet-stream', 'application/x-pkcs12'),
|
||||
'p7a' => 'application/x-pkcs7-signature',
|
||||
'p7c' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
|
||||
'p7m' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
|
||||
|
|
|
|||
|
|
@ -257,6 +257,23 @@ class Awards extends CI_Controller {
|
|||
$this->load->view('interface_assets/footer');
|
||||
}
|
||||
|
||||
/*
|
||||
Handles showing worked POTAs
|
||||
Comment field - POTA:#
|
||||
*/
|
||||
public function pota() {
|
||||
|
||||
// Grab all worked pota stations
|
||||
$this->load->model('pota');
|
||||
$data['pota_all'] = $this->pota->get_all();
|
||||
|
||||
// Render page
|
||||
$data['page_title'] = "Awards - POTA";
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
$this->load->view('awards/pota/index');
|
||||
$this->load->view('interface_assets/footer');
|
||||
}
|
||||
|
||||
public function cq() {
|
||||
$CI =& get_instance();
|
||||
$CI->load->model('logbooks_model');
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ class eqsl extends CI_Controller {
|
|||
$this->load->model('logbook_model');
|
||||
|
||||
$data['page_title'] = "eQSL QSO Upload";
|
||||
$custom_date_format = $this->session->userdata('user_date_format');
|
||||
|
||||
if ($this->input->post('eqslexport') == "export")
|
||||
{
|
||||
|
|
@ -122,9 +123,10 @@ class eqsl extends CI_Controller {
|
|||
// perform an HTTP get on each one, and grab the status back
|
||||
$qslsnotsent = $this->logbook_model->eqsl_not_yet_sent();
|
||||
|
||||
$table = "<table>";
|
||||
$table = "<table width=\"100%\">";
|
||||
$table .= "<tr class=\"titles\">";
|
||||
$table .= "<td>Date</td>";
|
||||
$table .= "<td>Time</td>";
|
||||
$table .= "<td>Call</td>";
|
||||
$table .= "<td>Mode</td>";
|
||||
$table .= "<td>Submode</td>";
|
||||
|
|
@ -336,6 +338,7 @@ class eqsl extends CI_Controller {
|
|||
$result = curl_exec($ch);
|
||||
$chi = curl_getinfo($ch);
|
||||
curl_close($ch);
|
||||
|
||||
|
||||
/* Time for some error handling
|
||||
Things we might get back
|
||||
|
|
@ -401,7 +404,9 @@ class eqsl extends CI_Controller {
|
|||
}
|
||||
}
|
||||
$table .= "<tr>";
|
||||
$table .= "<td>".$qsl['COL_TIME_ON']."</td>";
|
||||
$timestamp = strtotime($qsl['COL_TIME_ON']);
|
||||
$table .= "<td>".date($custom_date_format, $timestamp)."</td>";
|
||||
$table .= "<td>".date('H:i', $timestamp)."</td>";
|
||||
$table .= "<td>".str_replace("0","Ø",$qsl['COL_CALL'])."</td>";
|
||||
$table .= "<td>".$qsl['COL_MODE']."</td>";
|
||||
if(isset($qsl['COL_SUBMODE'])) {
|
||||
|
|
@ -428,6 +433,7 @@ class eqsl extends CI_Controller {
|
|||
$table = "<table width=\"100%\">";
|
||||
$table .= "<tr class=\"titles\">";
|
||||
$table .= "<td>Date</td>";
|
||||
$table .= "<td>Time</td>";
|
||||
$table .= "<td>Call</td>";
|
||||
$table .= "<td>Mode</td>";
|
||||
$table .= "<td>Submode</td>";
|
||||
|
|
@ -438,7 +444,9 @@ class eqsl extends CI_Controller {
|
|||
foreach ($qslsnotsent->result_array() as $qsl)
|
||||
{
|
||||
$table .= "<tr>";
|
||||
$table .= "<td>".$qsl['COL_TIME_ON']."</td>";
|
||||
$timestamp = strtotime($qsl['COL_TIME_ON']);
|
||||
$table .= "<td>".date($custom_date_format, $timestamp)."</td>";
|
||||
$table .= "<td>".date('H:i', $timestamp)."</td>";
|
||||
$table .= "<td><a href=\"javascript:displayQso(" . $qsl['COL_PRIMARY_KEY'] . ")\">" . str_replace("0","Ø",strtoupper($qsl['COL_CALL'])) . "</a></td>";
|
||||
$table .= "<td>".$qsl['COL_MODE']."</td>";
|
||||
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@ class Logbook extends CI_Controller {
|
|||
$this->load->model('logbook_model');
|
||||
|
||||
$return = [
|
||||
"callsign" => strtoupper($callsign),
|
||||
"dxcc" => false,
|
||||
"callsign_name" => "",
|
||||
"callsign_qra" => "",
|
||||
|
|
@ -533,7 +534,20 @@ class Logbook extends CI_Controller {
|
|||
$html .= "<td>RST (R)</td>";
|
||||
$html .= "<td>Band</td>";
|
||||
$html .= "<td>Mode</td>";
|
||||
$html .= "<td>QSL</td>";
|
||||
switch($this->session->userdata('user_previous_qsl_type')) {
|
||||
case 0:
|
||||
$html .= "<td>".$this->lang->line('gen_hamradio_qsl')."</td>";
|
||||
break;
|
||||
case 1:
|
||||
$html .= "<td>".$this->lang->line('lotw_short')."</td>";
|
||||
break;
|
||||
case 2:
|
||||
$html .= "<td>".$this->lang->line('eqsl_short')."</td>";
|
||||
break;
|
||||
default:
|
||||
$html .= "<td>".$this->lang->line('gen_hamradio_qsl')."</td>";
|
||||
break;
|
||||
}
|
||||
$html .= "<td></td>";
|
||||
$html .= "</tr>";
|
||||
|
||||
|
|
@ -565,44 +579,88 @@ class Logbook extends CI_Controller {
|
|||
$html .= "<td>".$row->COL_MODE."</td>";
|
||||
else
|
||||
$html .= "<td>".$row->COL_SUBMODE."</td>";
|
||||
$html .= "<td class=\"qsl\">";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_QSL_SENT) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
case "Q":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "R":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "I":
|
||||
$html .= "grey";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
if ($this->session->userdata('user_previous_qsl_type') == 1) {
|
||||
$html .= "<td class=\"lotw\">";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_LOTW_QSL_SENT) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
}
|
||||
$html .= "\">▲</span>";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_LOTW_QSL_RCVD) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
}
|
||||
$html .= "\">▼</span>";
|
||||
$html .= "</td>";
|
||||
} else if ($this->session->userdata('user_previous_qsl_type') == 2) {
|
||||
$html .= "<td class=\"eqsl\">";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_EQSL_QSL_SENT) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
}
|
||||
$html .= "\">▲</span>";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_EQSL_QSL_RCVD) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
}
|
||||
$html .= "\">▼</span>";
|
||||
$html .= "</td>";
|
||||
} else {
|
||||
$html .= "<td class=\"qsl\">";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_QSL_SENT) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
case "Q":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "R":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "I":
|
||||
$html .= "grey";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
}
|
||||
$html .= "\">▲</span>";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_QSL_RCVD) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
case "Q":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "R":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "I":
|
||||
$html .= "grey";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
}
|
||||
$html .= "\">▼</span>";
|
||||
$html .= "</td>";
|
||||
}
|
||||
$html .= "\">▲</span>";
|
||||
$html .= "<span class=\"qsl-";
|
||||
switch ($row->COL_QSL_RCVD) {
|
||||
case "Y":
|
||||
$html .= "green";
|
||||
break;
|
||||
case "Q":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "R":
|
||||
$html .= "yellow";
|
||||
break;
|
||||
case "I":
|
||||
$html .= "grey";
|
||||
break;
|
||||
default:
|
||||
$html .= "red";
|
||||
}
|
||||
$html .= "\">▼</span>";
|
||||
$html .= "</td>";
|
||||
$html .= "<td><span class=\"badge badge-info\">".$row->station_callsign."</span></td>";
|
||||
$html .= "</tr>";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,6 +121,9 @@ class Lotw extends CI_Controller {
|
|||
// Upload of P12 Failed
|
||||
$error = array('error' => $this->upload->display_errors());
|
||||
|
||||
// Load DXCC Countrys List
|
||||
$data['dxcc_list'] = $this->dxcc->list();
|
||||
|
||||
// Set Page Title
|
||||
$data['page_title'] = "Logbook of the World";
|
||||
|
||||
|
|
@ -932,6 +935,7 @@ class Lotw extends CI_Controller {
|
|||
"AISAT1" => "AISAT-1",
|
||||
'UVSQ' => "UVSQ-SAT",
|
||||
'CAS-3H' => "LILACSAT-2",
|
||||
'IO-117' => "GREENCUBE",
|
||||
);
|
||||
|
||||
return array_search(strtoupper($satname),$arr,true);
|
||||
|
|
|
|||
|
|
@ -369,6 +369,35 @@ class QSO extends CI_Controller {
|
|||
echo json_encode($json);
|
||||
}
|
||||
|
||||
public function get_pota() {
|
||||
$json = [];
|
||||
|
||||
if(!empty($this->input->get("query"))) {
|
||||
$query = isset($_GET['query']) ? $_GET['query'] : FALSE;
|
||||
$pota = strtoupper($query);
|
||||
|
||||
$file = 'assets/json/pota.txt';
|
||||
|
||||
if (is_readable($file)) {
|
||||
$lines = file($file, FILE_IGNORE_NEW_LINES);
|
||||
$input = preg_quote($pota, '~');
|
||||
$reg = '~^'. $input .'(.*)$~';
|
||||
$result = preg_grep($reg, $lines);
|
||||
$json = [];
|
||||
$i = 0;
|
||||
foreach ($result as &$value) {
|
||||
// Limit to 100 as to not slowdown browser too much
|
||||
if (count($json) <= 100) {
|
||||
$json[] = ["name"=>$value];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($json);
|
||||
}
|
||||
|
||||
/*
|
||||
* Function is used for autocompletion of DOK in the QSO entry form
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -417,6 +417,43 @@ class Update extends CI_Controller {
|
|||
}
|
||||
}
|
||||
|
||||
public function update_pota() {
|
||||
$csvfile = 'https://pota.app/all_parks.csv';
|
||||
|
||||
$potafile = './assets/json/pota.txt';
|
||||
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $csvfile);
|
||||
curl_setopt($ch, CURLOPT_HEADER, false);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog Updater');
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
$csv = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
|
||||
$potafilehandle = fopen($potafile, 'w');
|
||||
$data = str_getcsv($csv,"\n");
|
||||
foreach ($data as $idx => $row) {
|
||||
if ($idx == 0) continue; // Skip line we are not interested in
|
||||
$row = str_getcsv($row, ',');
|
||||
if ($row[0]) {
|
||||
fwrite($potafilehandle, $row[0].PHP_EOL);
|
||||
}
|
||||
}
|
||||
|
||||
fclose($potafilehandle);
|
||||
if (file_exists($potafile))
|
||||
{
|
||||
$nCount = count(file($potafile));
|
||||
if ($nCount > 0)
|
||||
{
|
||||
echo "DONE: " . number_format($nCount) . " POTA's saved";
|
||||
} else {
|
||||
echo"FAILED: Empty file";
|
||||
}
|
||||
} else {
|
||||
echo"FAILED: Could not create pota.txt file locally";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ class User extends CI_Controller {
|
|||
// Load language files
|
||||
$this->lang->load(array(
|
||||
'account',
|
||||
'lotw',
|
||||
'eqsl',
|
||||
));
|
||||
}
|
||||
|
||||
|
|
@ -78,6 +80,7 @@ class User extends CI_Controller {
|
|||
$data['user_column4'] = $this->input->post('user_column4');
|
||||
$data['user_column5'] = $this->input->post('user_column5');
|
||||
$data['user_show_profile_image'] = $this->input->post('user_show_profile_image');
|
||||
$data['user_previous_qsl_type'] = $this->input->post('user_previous_qsl_type');
|
||||
$this->load->view('user/add', $data);
|
||||
} else {
|
||||
$this->load->view('user/add', $data);
|
||||
|
|
@ -107,7 +110,8 @@ class User extends CI_Controller {
|
|||
$this->input->post('user_column3'),
|
||||
$this->input->post('user_column4'),
|
||||
$this->input->post('user_column5'),
|
||||
$this->input->post('user_show_profile_image'))) {
|
||||
$this->input->post('user_show_profile_image'),
|
||||
$this->input->post('user_previous_qsl_type'))) {
|
||||
// Check for errors
|
||||
case EUSERNAMEEXISTS:
|
||||
$data['username_error'] = 'Username <b>'.$this->input->post('user_name').'</b> already in use!';
|
||||
|
|
@ -147,6 +151,7 @@ class User extends CI_Controller {
|
|||
$data['user_column4'] = $this->input->post('user_column4');
|
||||
$data['user_column5'] = $this->input->post('user_column5');
|
||||
$data['user_show_profile_image'] = $this->input->post('user_show_profile_image');
|
||||
$data['user_previous_qsl_type'] = $this->input->post('user_previous_qsl_type');
|
||||
$this->load->view('user/add', $data);
|
||||
$this->load->view('interface_assets/footer');
|
||||
}
|
||||
|
|
@ -336,6 +341,12 @@ class User extends CI_Controller {
|
|||
$data['user_show_profile_image'] = $q->user_show_profile_image;
|
||||
}
|
||||
|
||||
if($this->input->post('user_previous_qsl_type')) {
|
||||
$data['user_previous_qsl_type'] = $this->input->post('user_previous_qsl_type', false);
|
||||
} else {
|
||||
$data['user_previous_qsl_type'] = $q->user_previous_qsl_type;
|
||||
}
|
||||
|
||||
if($this->input->post('user_column1')) {
|
||||
$data['user_column1'] = $this->input->post('user_column1', true);
|
||||
} else {
|
||||
|
|
@ -418,6 +429,7 @@ class User extends CI_Controller {
|
|||
$data['user_column4'] = $this->input->post('user_column4');
|
||||
$data['user_column5'] = $this->input->post('user_column5');
|
||||
$data['user_show_profile_image'] = $this->input->post('user_show_profile_image');
|
||||
$data['user_previous_qsl_type'] = $this->input->post('user_previous_qsl_type');
|
||||
$this->load->view('user/edit');
|
||||
$this->load->view('interface_assets/footer');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('Не е разрешен директен дост
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Карта на QSO';
|
||||
$lang['qso_title_suggestions'] = 'Предложения';
|
||||
$lang['qso_title_pervious_contacts'] = 'Предишни контакти';
|
||||
$lang['qso_title_previous_contacts'] = 'Предишни контакти';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Посочете стойността на мощността във ватове. Въведете само цифри.';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Например: GM/NS-001.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Например: WWFF или POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Например: DLFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Например: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Например: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Например: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'QSO 地图';
|
||||
$lang['qso_title_suggestions'] = '建议';
|
||||
$lang['qso_title_pervious_contacts'] = '先前通联';
|
||||
$lang['qso_title_previous_contacts'] = '先前通联';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = '以瓦特为单位设置功率值。在输入中仅填写数值。';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = '例如: GM/NS-001.';
|
||||
|
||||
$lang['qso_sig_helptext'] = '例如: WWFF or POTA';
|
||||
$lang['qso_sig_info_helptext'] = '例如: DLFF-0029';
|
||||
$lang['qso_sig_helptext'] = '例如: GMA';
|
||||
$lang['qso_sig_info_helptext'] = '例如: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = '例如: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Mapa spojení';
|
||||
$lang['qso_title_suggestions'] = 'Návrhy';
|
||||
$lang['qso_title_pervious_contacts'] = 'Předchozí spojení';
|
||||
$lang['qso_title_previous_contacts'] = 'Předchozí spojení';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Zadej výkon ve Wattech. Jsou povolen pouz čísla';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Příklad: GM/NS-001.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Příklad: WWFF or POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Příklad: DLFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Příklad: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Příklad: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Příklad: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('Directe toegang tot scripts is niet toegestaan');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'QSO Kaart';
|
||||
$lang['qso_title_suggestions'] = 'Suggesties';
|
||||
$lang['qso_title_pervious_contacts'] = 'Eerdere verbindingen';
|
||||
$lang['qso_title_previous_contacts'] = 'Eerdere verbindingen';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Geef vermogen in Watt. Vermeld alleen cijfers.';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Bijvoorbeeld: GM/NS-001.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Bijvoorbeeld: WWFF of POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Bijvoorbeeld: DLFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Bijvoorbeeld: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Bijvoorbeeld: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Bijvoorbeeld: Q03';
|
||||
|
||||
|
|
@ -22,4 +22,4 @@ $lang['qso_notes_helptext'] = 'Notities worden alleen in Cloudlog gebruikt en wo
|
|||
// Button Text on /qso Display
|
||||
|
||||
$lang['qso_btn_reset_qso'] = 'Wis QSO';
|
||||
$lang['qso_btn_save_qso'] = 'Bewaar QSO';
|
||||
$lang['qso_btn_save_qso'] = 'Bewaar QSO';
|
||||
|
|
|
|||
|
|
@ -99,11 +99,13 @@ $lang['gen_hamradio_county_reference'] = 'USA County';
|
|||
$lang['gen_hamradio_iota_reference'] = 'IOTA Reference';
|
||||
$lang['gen_hamradio_sota_reference'] = 'SOTA Reference';
|
||||
$lang['gen_hamradio_wwff_reference'] = 'WWFF Reference';
|
||||
$lang['gen_hamradio_pota_reference'] = 'POTA Reference';
|
||||
$lang['gen_hamradio_dok'] = 'DOK';
|
||||
$lang['gen_hamradio_state'] = 'State';
|
||||
$lang['gen_hamradio_iota'] = 'IOTA';
|
||||
$lang['gen_hamradio_sota'] = 'SOTA';
|
||||
$lang['gen_hamradio_wwff'] = 'WWFF';
|
||||
$lang['gen_hamradio_pota'] = 'POTA';
|
||||
$lang['gen_hamradio_gridsquare'] = 'Gridsquare';
|
||||
$lang['gen_hamradio_operator'] = 'Operator';
|
||||
|
||||
|
|
|
|||
|
|
@ -7,10 +7,16 @@ $lang['qslcard_string_your_are_using'] = 'You are using';
|
|||
$lang['qslcard_string_disk_space'] = 'of disk space to store QSL Card assets';
|
||||
|
||||
$lang['qslcard_info'] = 'QSL Info';
|
||||
$lang['qslcard_sent'] = 'QSL Card has been sent on';
|
||||
$lang['qslcard_sent_bureau'] = 'QSL Card has been sent via the bureau on';
|
||||
$lang['qslcard_sent_direct'] = 'QSL Card has been sent via direct on';
|
||||
$lang['qslcard_sent_electronic'] = 'QSL Card has been sent electronically on';
|
||||
$lang['qslcard_sent_manager'] = 'QSL Card has been sent via manager on';
|
||||
$lang['qslcard_rcvd'] = 'QSL Card has been received on';
|
||||
$lang['qslcard_rcvd_bureau'] = 'QSL Card has been received via the bureau on';
|
||||
$lang['qslcard_rcvd_direct'] = 'QSL Card has been received via direct on';
|
||||
$lang['qslcard_rcvd_electronic'] = 'QSL Card has been received electronically on';
|
||||
$lang['qslcard_rcvd_manager'] = 'QSL Card has been received via manager on';
|
||||
|
||||
$lang['qslcard_upload_front'] = 'Uploaded QSL Card front image';
|
||||
$lang['qslcard_upload_back'] = 'Uploaded QSL Card back image';
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'QSO Map';
|
||||
$lang['qso_title_suggestions'] = 'Suggestions';
|
||||
$lang['qso_title_pervious_contacts'] = 'Previous Contacts';
|
||||
$lang['qso_title_previous_contacts'] = 'Previous Contacts';
|
||||
$lang['qso_title_image'] = 'Profile Picture';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
|
|
@ -13,9 +13,10 @@ $lang['qso_transmit_power_helptext'] = 'Give power value in Watts. Include only
|
|||
|
||||
$lang['qso_sota_ref_helptext'] = 'For example: GM/NS-001.';
|
||||
$lang['qso_wwff_ref_helptext'] = 'For example: DLFF-0069.';
|
||||
$lang['qso_pota_ref_helptext'] = 'For example: PA-0150.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'For example: POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'For example: PA-0150';
|
||||
$lang['qso_sig_helptext'] = 'For example: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'For example: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'For example: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Vasta-aseman sijainti kartalla';
|
||||
$lang['qso_title_suggestions'] = 'Kutsumerkkiehdotukset';
|
||||
$lang['qso_title_pervious_contacts'] = 'Edelliset yhteydet';
|
||||
$lang['qso_title_previous_contacts'] = 'Edelliset yhteydet';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Anna teholukema Watteina käyttäen vain numeroita.';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Esimerkiksi: OH/JS-004.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Esimerkiksi: WWFF tai POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Esimerkiksi: OHFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Esimerkiksi: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Esimerkiksi: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Esimerkiksi: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Carte QSO';
|
||||
$lang['qso_title_suggestions'] = 'Suggestions';
|
||||
$lang['qso_title_pervious_contacts'] = 'Contacts précédents';
|
||||
$lang['qso_title_previous_contacts'] = 'Contacts précédents';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Saisissez la ouissance en Watts en utilisant uniquement des chiffres.';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Par exemple: GM/NS-001.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Par exemple: WWFF or POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Par exemple: DLFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Par exemple: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Par exemple: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Par exemple: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -99,10 +99,13 @@ $lang['gen_hamradio_county_reference'] = 'USA County';
|
|||
$lang['gen_hamradio_iota_reference'] = 'IOTA Referenznummer';
|
||||
$lang['gen_hamradio_sota_reference'] = 'SOTA Referenznummer';
|
||||
$lang['gen_hamradio_wwff_reference'] = 'WWFF Referenznummer';
|
||||
$lang['gen_hamradio_pota_reference'] = 'POTA Referenznummer';
|
||||
$lang['gen_hamradio_dok'] = 'DOK';
|
||||
$lang['gen_hamradio_state'] = 'Staat';
|
||||
$lang['gen_hamradio_iota'] = 'IOTA';
|
||||
$lang['gen_hamradio_sota'] = 'SOTA';
|
||||
$lang['gen_hamradio_wwff'] = 'WWFF';
|
||||
$lang['gen_hamradio_pota'] = 'POTA';
|
||||
$lang['gen_hamradio_gridsquare'] = 'Planquadrat';
|
||||
$lang['gen_hamradio_operator'] = 'Operator';
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,16 @@ defined('BASEPATH') OR exit('Direkter Zugriff auf Skripte ist nicht erlaubt');
|
|||
$lang['qslcard_string_your_are_using'] = 'Du benutzt';
|
||||
$lang['qslcard_string_disk_space'] = 'an Speicherplatz, um QSL-Karteninformationen zu speichern';
|
||||
$lang['qslcard_info'] = 'QSL Info';
|
||||
$lang['qslcard_sent'] = 'QSL Karte wurde gesendet am';
|
||||
$lang['qslcard_sent_bureau'] = 'QSL Karte wurde via Büro gesendet am';
|
||||
$lang['qslcard_sent_direct'] = 'QSL Karte wurde direkt gesendet am';
|
||||
$lang['qslcard_sent_electronic'] = 'QSL Karte wurde elektronisch gesendet am';
|
||||
$lang['qslcard_sent_manager'] = 'QSL Karte wurde via Manager gesendet am';
|
||||
$lang['qslcard_rcvd'] = 'QSL Karte wurde empfangen am';
|
||||
$lang['qslcard_rcvd_bureau'] = 'QSL Karte wurde via Büro empfangen am';
|
||||
$lang['qslcard_rcvd_direct'] = 'QSL Karte wurde direkt empfangen am';
|
||||
$lang['qslcard_rcvd_electronic'] = 'QSL Karte wurde elektronisch empfangen am';
|
||||
$lang['qslcard_rcvd_manager'] = 'QSL Karte wurde via Manager empfangen am';
|
||||
|
||||
$lang['qslcard_upload_front'] = 'QSL Kartenfront hochgeladen';
|
||||
$lang['qslcard_upload_back'] = 'QSL Kartenrückseite hochgeladen';
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('Direkter Zugriff auf Skripte ist nicht erlaubt');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'QSO-Karte';
|
||||
$lang['qso_title_suggestions'] = 'Vorschläge';
|
||||
$lang['qso_title_pervious_contacts'] = 'Vorherige Kontakte';
|
||||
$lang['qso_title_previous_contacts'] = 'Vorherige Kontakte';
|
||||
$lang['qso_title_image'] = 'Profilbild';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
|
|
@ -13,9 +13,10 @@ $lang['qso_transmit_power_helptext'] = 'Gib die Ausgangsleistung in Watt an. Erf
|
|||
|
||||
$lang['qso_sota_ref_helptext'] = 'Zum Beispiel: GM/NS-001.';
|
||||
$lang['qso_wwff_ref_helptext'] = 'Zum Beispiel: DLFF-0069.';
|
||||
$lang['qso_pota_ref_helptext'] = 'Zum Beispiel: PA-0150.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Zum Beispiel: POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Zum Beispiel: PA-0150';
|
||||
$lang['qso_sig_helptext'] = 'Zum Beispiel: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Zum Beispiel: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Zum Beispiel: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('Non è permesso l\'accesso diretto allo script');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Mappa QSO';
|
||||
$lang['qso_title_suggestions'] = 'Suggerimenti';
|
||||
$lang['qso_title_pervious_contacts'] = 'Contatti Precedenti';
|
||||
$lang['qso_title_previous_contacts'] = 'Contatti Precedenti';
|
||||
$lang['qso_title_image'] = 'Immagine Profilo';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
|
|
@ -13,9 +13,10 @@ $lang['qso_transmit_power_helptext'] = 'Dare valore di potenza in Watt. Includer
|
|||
|
||||
$lang['qso_sota_ref_helptext'] = 'Per esempio: GM/NS-001.';
|
||||
$lang['qso_wwff_ref_helptext'] = 'Per esempio: DLFF-0069.';
|
||||
$lang['qso_pota_ref_helptext'] = 'Per esempio: PA-0150.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Per esempio: POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Per esempio: PA-0150';
|
||||
$lang['qso_sig_helptext'] = 'Per esempio: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Per esempio: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Per esempio: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Mapa łączności';
|
||||
$lang['qso_title_suggestions'] = 'Sugestie';
|
||||
$lang['qso_title_pervious_contacts'] = 'Poprzednie łączności';
|
||||
$lang['qso_title_previous_contacts'] = 'Poprzednie łączności';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Wpisz wartość mocy w watach. W polu podaj same cyfry.';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Na przykład: GM/NS-001.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Na przykład: WWFF lub POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Na przykład: SPFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Na przykład: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Na przykład: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Na przykład: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['account_logbook_fields'] = 'Столбцы журнала';
|
||||
$lang['account_column1_text'] = 'Выберите столбец 1';
|
||||
$lang['account_column2_text'] = 'Выберите столбец 2';
|
||||
$lang['account_column3_text'] = 'Выберите столбец 3';
|
||||
$lang['account_column4_text'] = 'Выберите столбец 4';
|
||||
$lang['account_column5_text'] = 'Выберите столбец 5 (только для журнала)';
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['contesting_page_title'] = 'Журнал соревнований';
|
||||
$lang['contesting_button_reset_contest_session'] = 'Сбросить сессию соревнований';
|
||||
|
||||
$lang['contesting_exchange_type'] = 'Тип обмена';
|
||||
$lang['contesting_exchange_type_serial'] = 'Последовательный';
|
||||
$lang['contesting_exchange_type_other'] = 'Другой';
|
||||
|
||||
$lang['contesting_contest_name'] = 'Название соревнований';
|
||||
|
||||
$lang['contesting_btn_reset_qso'] = 'Сбросить QSO';
|
||||
$lang['contesting_btn_save_qso'] = 'Сохранить QSO';
|
||||
|
||||
$lang['contesting_title_callsign_suggestions'] = 'Предложение позывных';
|
||||
$lang['contesting_title_contest_logbook'] = 'Журнал соревнований';
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['eqsl_short'] = 'eQSL';
|
||||
|
|
@ -0,0 +1,127 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['error_no_active_station_profile'] = 'Внимание: вам нужно назначить активный профиль месторасположения станции.';
|
||||
|
||||
$lang['notice_turn_the_radio_on'] = 'За сегодня ни одного QSO; время вернуться к радио!';
|
||||
|
||||
$lang['general_word_important'] = 'Важно';
|
||||
$lang['general_word_info'] = 'Информация';
|
||||
$lang['general_word_choose_file'] = 'Выберите файл';
|
||||
|
||||
$lang['general_word_date'] = 'Дата';
|
||||
$lang['general_word_time'] = 'Время';
|
||||
$lang['general_word_datetime'] = 'Дата/Время';
|
||||
$lang['general_word_none'] = '-';
|
||||
$lang['general_word_name'] = 'Имя';
|
||||
$lang['general_word_location'] = 'QTH';
|
||||
$lang['general_word_comment'] = 'Коммент.';
|
||||
$lang['general_word_general'] = 'Общее';
|
||||
$lang['general_word_satellite'] = 'Спутник';
|
||||
$lang['general_word_satellite_short'] = 'Спутн.';
|
||||
$lang['general_word_notes'] = 'Заметки';
|
||||
$lang['general_word_country'] = 'Страна';
|
||||
|
||||
$lang['general_word_total'] = 'Всего';
|
||||
$lang['general_word_year'] = 'Год';
|
||||
$lang['general_word_month'] = 'Месяц';
|
||||
|
||||
$lang['general_word_worked'] = 'Сработано';
|
||||
$lang['general_word_confirmed'] = 'Подтверждено';
|
||||
$lang['general_word_needed'] = 'Необходимо';
|
||||
|
||||
$lang['general_word_no'] = 'Нет';
|
||||
$lang['general_word_yes'] = 'Да';
|
||||
$lang['general_word_method'] = 'Метод';
|
||||
|
||||
$lang['general_word_sent'] = 'Отправлено';
|
||||
$lang['general_word_received'] = 'Принято';
|
||||
$lang['general_word_requested'] = 'Запрошено';
|
||||
$lang['general_word_queued'] = 'В очереди';
|
||||
$lang['general_word_invalid_ignore'] = 'Некорректно (Игнорировать)';
|
||||
|
||||
$lang['general_word_qslcard'] = 'QSL карточка';
|
||||
$lang['general_word_qslcard_management'] = 'QSL менеджемент';
|
||||
$lang['general_word_qslcards'] = 'QSL карточки';
|
||||
$lang['general_word_qslcard_direct'] = 'Напрямую';
|
||||
$lang['general_word_qslcard_bureau'] = 'Бюро';
|
||||
$lang['general_word_qslcard_electronic'] = 'Электронное';
|
||||
$lang['general_word_qslcard_manager'] = 'Менеджер';
|
||||
$lang['general_word_qslcard_via'] = 'via';
|
||||
$lang['general_word_eqslcards'] = 'eQSL Cards';
|
||||
$lang['general_word_lotw'] = 'Logbook of the World';
|
||||
|
||||
|
||||
|
||||
$lang['general_edit_qso'] = 'Редактировать QSO';
|
||||
$lang['general_mark_qsl_rx_bureau'] = 'Отметить QSL полученной (через бюро)';
|
||||
$lang['general_mark_qsl_rx_direct'] = 'Отметить QSL полученной (напрямую)';
|
||||
$lang['general_mark_qsl_tx_bureau'] = 'Отметить QSL отправленной (через бюро)';
|
||||
$lang['general_mark_qsl_tx_direct'] = 'Отметить QSL отправленой (напрямую)';
|
||||
|
||||
$lang['general_delete_qso'] = 'Удалить QSO';
|
||||
|
||||
$lang['general_total_distance'] = 'Суммарная дистанция';
|
||||
|
||||
// Cloudlog Terms
|
||||
$lang['cloudlog_station_profile'] = 'Месторасположение станции';
|
||||
|
||||
// ham radio terms
|
||||
$lang['gen_hamradio_qso'] = 'QSO';
|
||||
$lang['gen_hamradio_station'] = 'Станция';
|
||||
|
||||
$lang['gen_hamradio_call'] = 'Позывной';
|
||||
$lang['gen_hamradio_callsign'] = 'Позывной';
|
||||
$lang['gen_hamradio_mode'] = 'Вид модуляции';
|
||||
$lang['gen_hamradio_rst_sent'] = 'Отправлено';
|
||||
$lang['gen_hamradio_rst_rcvd'] = 'Получено';
|
||||
$lang['gen_hamradio_band'] = 'Диапазон';
|
||||
$lang['gen_hamradio_band_rx'] = 'Диапазон (RX)';
|
||||
$lang['gen_hamradio_frequency'] = 'Частота';
|
||||
$lang['gen_hamradio_frequency_rx'] = 'Частота (RX)';
|
||||
$lang['gen_hamradio_radio'] = 'Радио';
|
||||
$lang['gen_hamradio_rsts'] = 'RST (отправлено)';
|
||||
$lang['gen_hamradio_rstr'] = 'RST (принято)';
|
||||
$lang['gen_hamradio_exchange_sent_short'] = 'Exch (S)';
|
||||
$lang['gen_hamradio_exchange_rcvd_short'] = 'Exch (R)';
|
||||
$lang['gen_hamradio_qsl'] = 'QSL';
|
||||
$lang['gen_hamradio_locator'] = 'Локатор';
|
||||
$lang['gen_hamradio_transmit_power'] = 'Мощность передачи (Вт)';
|
||||
$lang['gen_hamradio_propagation_mode'] = 'Тип прохождения';
|
||||
|
||||
$lang['gen_hamradio_satellite_name'] = 'Название спутника';
|
||||
$lang['gen_hamradio_satellite_mode'] = 'Режим работы спутника';
|
||||
|
||||
$lang['gen_hamradio_logbook'] = 'Журнал';
|
||||
|
||||
$lang['gen_hamradio_cq_zone'] = 'CQ Zone';
|
||||
$lang['gen_hamradio_dxcc'] = 'DXCC';
|
||||
$lang['gen_hamradio_usa_state'] = 'Штат США';
|
||||
$lang['gen_hamradio_county_reference'] = 'Графство США';
|
||||
$lang['gen_hamradio_iota_reference'] = 'IOTA справочник';
|
||||
$lang['gen_hamradio_sota_reference'] = 'SOTA Справочник';
|
||||
$lang['gen_hamradio_wwff_reference'] = 'WWFF справочник';
|
||||
$lang['gen_hamradio_dok'] = 'DOK';
|
||||
$lang['gen_hamradio_state'] = 'Штат';
|
||||
$lang['gen_hamradio_iota'] = 'IOTA';
|
||||
$lang['gen_hamradio_sota'] = 'SOTA';
|
||||
$lang['gen_hamradio_gridsquare'] = 'Квадрат';
|
||||
$lang['gen_hamradio_operator'] = 'Оператор';
|
||||
|
||||
$lang['gen_hamradio_sig'] = 'Sig';
|
||||
$lang['gen_hamradio_sig_info'] = 'Sig Info';
|
||||
|
||||
// Dashboard Words
|
||||
$lang['dashboard_you_have_had'] = 'You have had';
|
||||
$lang['dashboard_qsos_today'] = 'QSOs сегодня!';
|
||||
$lang['dashboard_qso_breakdown'] = 'QSOs Breakdown';
|
||||
$lang['dashboard_countries_breakdown'] = 'Countries Breakdown';
|
||||
|
||||
$lang['gen_from_date'] = 'Начиная с даты';
|
||||
|
||||
$lang['gen_this_qso_was_confirmed_on'] = 'Это QSO было подтверждено:';
|
||||
|
||||
$lang['error_no_logbook_found'] = 'Журнал не найден. Вам необходимо опрелелить журнал в разделе Журналы станций! Тут:';
|
||||
|
||||
$lang['copy_to_clipboard'] = 'Скопировать в буфер обмена';
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['lotw_short'] = 'LoTW';
|
||||
$lang['lotw_title'] = 'Logbook of the World';
|
||||
$lang['lotw_title_available_cert'] = 'Available Certificates';
|
||||
$lang['lotw_title_information'] = 'Information';
|
||||
$lang['lotw_title_upload_p12_cert'] = 'Upload Logbook of the World .p12 Certificate';
|
||||
$lang['lotw_title_export_p12_file_instruction'] = 'Export .p12 File Instructions';
|
||||
$lang['lotw_title_adif_import'] = 'ADIF Import';
|
||||
$lang['lotw_title_adif_import_options'] = 'Import Options';
|
||||
|
||||
$lang['lotw_beta_warning'] = 'Please be aware that LoTW Sync is BETA, see wiki for help.';
|
||||
$lang['lotw_no_certs_uploaded'] = 'Вам необходимо загрузить сертификат LoTW в формате p12 для использования этих функций.';
|
||||
|
||||
$lang['lotw_date_created'] = 'Дата создания';
|
||||
$lang['lotw_date_expires'] = 'Дата окончания срока действия';
|
||||
$lang['lotw_qso_start_date'] = 'Дата начала QSO';
|
||||
$lang['lotw_qso_end_date'] = 'Дата окончания QSO';
|
||||
$lang['lotw_status'] = 'Статус';
|
||||
$lang['lotw_options'] = 'Опции';
|
||||
$lang['lotw_valid'] = 'Действует';
|
||||
$lang['lotw_expired'] = 'Истёк';
|
||||
$lang['lotw_not_synced'] = 'Не синхронизирован';
|
||||
|
||||
$lang['lotw_certificate_dxcc'] = 'Сертификат DXCC';
|
||||
$lang['lotw_certificate_dxcc_help_text'] = 'Организация сертификата DXCC. Для примера, Шотландия';
|
||||
|
||||
$lang['lotw_input_a_file'] = 'Загрузить файл';
|
||||
|
||||
$lang['lotw_upload_exported_adif_file_from_lotw'] = 'Загрузить экспортированный из LoTW ADIF файл из <a href="https://p1k.arrl.org/lotwuser/qsos?qsoscmd=adif" target="_blank">области скачивания журнала</a> , чтоб отметить QSO подтверждёнными через LoTW.';
|
||||
$lang['lotw_upload_type_must_be_adi'] = 'Файлы журнала должны быть с расширением .adi';
|
||||
|
||||
$lang['lotw_pull_lotw_data_for_me'] = 'Подтянуть мои данные из LoTW';
|
||||
$lang['lotw_import_missing_qsos_text'] = 'Импортировать недостаюющие QSO в журнал. Позывной и QTH-локатор будут проверены с целью определения подходящего профиля для импорта QSO. Если профиль не будет идентифицирован, QSO будет пропущено.';
|
||||
$lang['lotw_report_download_overview_helptext'] ='Cloudlog использует логин и пароль для LoTW, сохранённые в вашем профиле, для того чтобы скачивать ваши журналы с LoTW. Журнал, скачанный в Cloudlog будет содержать все подтверждения, начиная с выбранной даты, или начиная с последнего подтверждения в LoTW (загруженного из вашего журнала), до настоящего момента.';
|
||||
|
||||
// Buttons
|
||||
$lang['lotw_btn_lotw_import'] = 'Импорт LoTW';
|
||||
$lang['lotw_btn_upload_certificate'] = 'Загрузить сертификат';
|
||||
$lang['lotw_btn_delete'] = 'Удалить';
|
||||
$lang['lotw_btn_manual_sync'] = 'Ручная синхронизация';
|
||||
$lang['lotw_btn_upload_file'] = 'Загрузить файл';
|
||||
$lang['lotw_btn_import_matches'] = 'Импортировать совпадения с LoTW';
|
||||
|
||||
// P12 Export Text
|
||||
$lang['lotw_p12_export_step_one'] = 'Откройте TQSL & перейдите на вкладку "Сертификаты позывных"';
|
||||
$lang['lotw_p12_export_step_two'] = 'Кликните правой кнопкой по выбранному позывному';
|
||||
$lang['lotw_p12_export_step_three'] = 'Кликните "Сохранить Сертификат позывного" и не задавайте пароль';
|
||||
$lang['lotw_p12_export_step_four'] = 'Загрузите полученный файл ниже.';
|
||||
|
||||
$lang['lotw_confirmed'] = 'Это QSO подтверждено на LoTW';
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['notes_menu_notes'] = 'Заметки';
|
||||
$lang['notes_edit_note'] = 'Редактировать';
|
||||
$lang['notes_your_notes'] = 'Ваши заметки';
|
||||
|
||||
$lang['notes_welcome'] = "У вас сейчас нет заметок, это замечательный способ сохранить такую информацию как: настройки САУ, маяки и общая информация о станции. И это лучше, чем бумага, потому, что вы не сможете их потерять!";
|
||||
|
||||
$lang['notes_create_note'] = 'Создать заметку';
|
||||
|
||||
$lang['notes_input_title'] = 'Заголовок';
|
||||
$lang['notes_input_category'] = 'Категория';
|
||||
$lang['notes_input_notes_content'] = 'Содержание заметки';
|
||||
$lang['notes_input_btn_save_note'] = 'Сохранить заметку';
|
||||
$lang['notes_input_btn_edit_note'] = 'Изменить заметку';
|
||||
$lang['notes_input_btn_delete_note'] = 'Удалить заметку';
|
||||
|
||||
$lang['notes_selection_general'] = 'Общее';
|
||||
$lang['notes_selection_antennas'] = 'Антенны';
|
||||
$lang['notes_selection_satellites'] = 'Спутники';
|
||||
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
// Tiles
|
||||
$lang['qslcard_string_your_are_using'] = 'Использовано';
|
||||
$lang['qslcard_string_disk_space'] = 'дискового пространства для храниения данный QSL карточек.';
|
||||
|
||||
$lang['qslcard_info'] = 'QSL';
|
||||
$lang['qslcard_sent'] = 'QSL карточка была отправлена';
|
||||
$lang['qslcard_sent_bureau'] = 'QSL карточка была отправлена через бюро';
|
||||
$lang['qslcard_sent_direct'] = 'QSL карточка была отправлена напрямую';
|
||||
$lang['qslcard_sent_electronic'] = 'Электроннвя QSL карточка была отправлена';
|
||||
$lang['qslcard_sent_manager'] = 'QSL карточка была отправлена через QSL-менеджера';
|
||||
$lang['qslcard_rcvd'] = 'QSL карточка была получена';
|
||||
$lang['qslcard_rcvd_bureau'] = 'QSL карточка была получена через бюро';
|
||||
$lang['qslcard_rcvd_direct'] = 'QSL карточка была получена напрямую';
|
||||
$lang['qslcard_rcvd_electronic'] = 'Электронная QSL карточка была получена';
|
||||
$lang['qslcard_rcvd_manager'] = 'QSL карточка была получена через QSL-менеджера';
|
||||
|
||||
$lang['qslcard_upload_front'] = 'Загруженное изображение лицевой стороны QSL карточки';
|
||||
$lang['qslcard_upload_back'] = 'Загруженное изображение оборотной стороны QSL карточки';
|
||||
|
||||
$lang['qslcard_upload_button'] = 'Загрузить изображение для QSL карточки';
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Карта QSO';
|
||||
$lang['qso_title_suggestions'] = 'Предложения';
|
||||
$lang['qso_title_previous_contacts'] = 'Предыдущие контакты';
|
||||
$lang['qso_title_image'] = 'Profile Picture';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Укажите мощность в Ваттах (только цифры).';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Например: GM/NS-001.';
|
||||
$lang['qso_wwff_ref_helptext'] = 'Например: DLFF-0069.';
|
||||
$lang['qso_pota_ref_helptext'] = 'Например: PA-0150.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Например: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Например: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Например: Q03';
|
||||
|
||||
$lang['qso_notes_helptext'] = 'Содержание заметки используется только Cloudlog и не экспортируется на другие сервисы.';
|
||||
$lang['qsl_notes_helptext'] = 'СОдержимое этой заметки экспортируется в QSL сервисы, к примеру, eqsl.cc и т.п.';
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$lang['qso_btn_reset_qso'] = 'Сброс';
|
||||
$lang['qso_btn_save_qso'] = 'Сохранить QSO';
|
||||
$lang['qso_btn_edit_qso'] = 'Изменить QSO';
|
||||
|
||||
// QSO Details
|
||||
|
||||
$lang['qso_details'] = 'Детали QSO';
|
||||
|
|
@ -5,15 +5,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'Mapa de QSO';
|
||||
$lang['qso_title_suggestions'] = 'Sugerencias';
|
||||
$lang['qso_title_pervious_contacts'] = 'Contactos previos';
|
||||
$lang['qso_title_previous_contacts'] = 'Contactos previos';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
$lang['qso_transmit_power_helptext'] = 'Especifique el valor de potencia en Watios (W). Incluya solo números.';
|
||||
|
||||
$lang['qso_sota_ref_helptext'] = 'Por ejemplo: GM/NS-001.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Por ejemplo: WWFF or POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Por ejemplo: DLFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Por ejemplo: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Por ejemplo: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Por ejemplo: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'QSO-karta';
|
||||
$lang['qso_title_suggestions'] = 'Förslag';
|
||||
$lang['qso_title_pervious_contacts'] = 'Föregående QSOn';
|
||||
$lang['qso_title_previous_contacts'] = 'Föregående QSOn';
|
||||
$lang['qso_title_image'] = 'Profilbild';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
|
|
@ -13,9 +13,10 @@ $lang['qso_transmit_power_helptext'] = 'Ange effekt i watt, enbart med siffror.'
|
|||
|
||||
$lang['qso_sota_ref_helptext'] = 'Exempel: GM/NS-001.';
|
||||
$lang['qso_wwff_ref_helptext'] = 'Exempel: DLFF-0069.';
|
||||
$lang['qso_pota_ref_helptext'] = 'Exempel: PA-0150.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Exempel: POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Exempel: PA-0150';
|
||||
$lang['qso_sig_helptext'] = 'Exempel: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Exempel: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Exempel: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('Doğrudan komut dosyası erişimine izin verilmez')
|
|||
// Tiles
|
||||
$lang['qso_title_qso_map'] = 'QSO Haritası';
|
||||
$lang['qso_title_suggestions'] = 'Öneriler';
|
||||
$lang['qso_title_pervious_contacts'] = 'Önceki Görüşmeler';
|
||||
$lang['qso_title_previous_contacts'] = 'Önceki Görüşmeler';
|
||||
$lang['qso_title_image'] = 'Profil Resmi';
|
||||
|
||||
// Input Help Text on the /QSO Display
|
||||
|
|
@ -14,9 +14,10 @@ $lang['qso_transmit_power_helptext'] = 'Gücü Watt olarak veriniz. Sadece rakam
|
|||
$lang['qso_sota_ref_helptext'] = 'Örnek: GM/NS-001.';
|
||||
|
||||
$lang['qso_wwff_ref_helptext'] = 'Örnek: DLFF-0069.';
|
||||
$lang['qso_pota_ref_helptext'] = 'Örnek: PA-0150.';
|
||||
|
||||
$lang['qso_sig_helptext'] = 'Örnek: WWFF or POTA';
|
||||
$lang['qso_sig_info_helptext'] = 'Örnek: DLFF-0029';
|
||||
$lang['qso_sig_helptext'] = 'Örnek: GMA';
|
||||
$lang['qso_sig_info_helptext'] = 'Örnek: DA/NW-357';
|
||||
|
||||
$lang['qso_dok_helptext'] = 'Örnek: Q03';
|
||||
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ class AdifHelper {
|
|||
'SKCC',
|
||||
'SOTA_REF',
|
||||
'WWFF_REF',
|
||||
'POTA_REF',
|
||||
'SRX',
|
||||
'SRX_STRING',
|
||||
'STATE',
|
||||
|
|
@ -191,6 +192,8 @@ class AdifHelper {
|
|||
|
||||
$line .= $this->getAdifFieldLine("MY_WWFF_REF", $qso->station_wwff);
|
||||
|
||||
$line .= $this->getAdifFieldLine("MY_POTA_REF", $qso->station_pota);
|
||||
|
||||
$line .= $this->getAdifFieldLine("MY_CQ_ZONE", $qso->station_cq);
|
||||
|
||||
$line .= $this->getAdifFieldLine("MY_ITU_ZONE", $qso->station_itu);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* This adds an option to select the QSL type for previous QSOs
|
||||
*/
|
||||
|
||||
class Migration_add_user_previous_qsl_type extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
if (!$this->db->field_exists('user_previous_qsl_type', 'users')) {
|
||||
$fields = array(
|
||||
'user_previous_qsl_type integer DEFAULT 0',
|
||||
);
|
||||
|
||||
$this->dbforge->add_column('users', $fields);
|
||||
}
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
if ($this->db->field_exists('user_previous_qsl_type', 'users')) {
|
||||
$this->dbforge->drop_column('users', 'user_previous_qsl_type');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* Change Greencube to Oscar number
|
||||
*/
|
||||
|
||||
class Migration_change_greencube_to_oscar extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
$this->db->set('COL_SAT_NAME', 'IO-117');
|
||||
$this->db->set('COL_SAT_MODE', 'U');
|
||||
$this->db->where('COL_SAT_NAME', 'GREENCUBE');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->db->set('COL_SAT_NAME', 'GREENCUBE');
|
||||
$this->db->where('COL_SAT_NAME', 'IO-117');
|
||||
$this->db->update($this->config->item('table_name'));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Class Migration_add_pota_columns
|
||||
*
|
||||
* Add POTA columnds to database to reflect latest ADIF v3.1.4 spec changes
|
||||
* See http://adif.org.uk/314/ADIF_314_annotated.htm
|
||||
*
|
||||
*/
|
||||
|
||||
class Migration_add_pota_columns extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
if (!$this->db->field_exists('COL_POTA_REF', 'TABLE_HRD_CONTACTS_V01')) {
|
||||
$fields = array(
|
||||
'COL_POTA_REF VARCHAR(30) DEFAULT NULL',
|
||||
'COL_MY_POTA_REF VARCHAR(50) DEFAULT NULL',
|
||||
);
|
||||
$this->dbforge->add_column('TABLE_HRD_CONTACTS_V01', $fields, 'COL_VUCC_GRIDS');
|
||||
|
||||
// Now copy over data from SIG_INFO fields and remove COL_SIG and COL_SIG_INFO only if COL_SIG is POTA
|
||||
// This cannot be reverted on downgrade to prevent overwriting of other COL_SIG information
|
||||
$this->db->set('COL_POTA_REF', 'COL_SIG_INFO', FALSE);
|
||||
$this->db->set('COL_SIG_INFO', '');
|
||||
$this->db->set('COL_SIG', '');
|
||||
$this->db->where('COL_SIG', 'POTA');
|
||||
$this->db->update('TABLE_HRD_CONTACTS_V01');
|
||||
|
||||
}
|
||||
if (!$this->db->field_exists('station_pota', 'station_profile')) {
|
||||
// Add MY_POTA_REF to station profile
|
||||
$fields = array(
|
||||
'station_pota varchar(50) DEFAULT NULL',
|
||||
);
|
||||
$this->dbforge->add_column('station_profile', $fields);
|
||||
}
|
||||
if (!$this->db->field_exists('pota', 'bandxuser')) {
|
||||
$fields = array(
|
||||
'pota' => array(
|
||||
'type' => 'INT',
|
||||
'constraint' => 20,
|
||||
'unsigned' => TRUE,
|
||||
),
|
||||
);
|
||||
$this->dbforge->add_column('bandxuser', $fields);
|
||||
$this->db->query("update bandxuser set pota = 1");
|
||||
}
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
if ($this->db->field_exists('COL_POTA_REF', 'TABLE_HRD_CONTACTS_V01')) {
|
||||
$this->dbforge->drop_column('TABLE_HRD_CONTACTS_V01', 'COL_POTA_REF');
|
||||
}
|
||||
if ($this->db->field_exists('COL_MY_POTA_REF', 'TABLE_HRD_CONTACTS_V01')) {
|
||||
$this->dbforge->drop_column('TABLE_HRD_CONTACTS_V01', 'COL_MY_POTA_REF');
|
||||
}
|
||||
if ($this->db->field_exists('station_pota', 'station_profile')) {
|
||||
$this->dbforge->drop_column('station_profile', 'station_pota');
|
||||
}
|
||||
if ($this->db->field_exists('pota', 'bandxuser')) {
|
||||
$this->dbforge->drop_column('bandxuser', 'pota');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
<?php
|
||||
defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Class Migration_add_m17_and_freedv
|
||||
*
|
||||
* Add M17 and FREEDV sub modes
|
||||
* See http://adif.org.uk/314/ADIF_314_annotated.htm
|
||||
*/
|
||||
|
||||
class Migration_add_m17_and_freedv extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
// insert new FREEDV
|
||||
$query = $this->db->get_where('adif_modes', array('submode' => 'FREEDV'));
|
||||
if ($query->num_rows() == 0) {
|
||||
$data = array(
|
||||
array('mode' => "DIGITALVOICE", 'submode' => "FREEDV", 'qrgmode' => "DATA", 'active' => 1),
|
||||
);
|
||||
$this->db->insert_batch('adif_modes', $data);
|
||||
}
|
||||
|
||||
// insert new M17
|
||||
$query = $this->db->get_where('adif_modes', array('submode' => 'M17'));
|
||||
if ($query->num_rows() == 0) {
|
||||
$data = array(
|
||||
array('mode' => "DIGITALVOICE", 'submode' => "M17", 'qrgmode' => "DATA", 'active' => 1),
|
||||
);
|
||||
$this->db->insert_batch('adif_modes', $data);
|
||||
}
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$query = $this->db->get_where('adif_modes', array('submode' => 'M17'));
|
||||
if ($query->num_rows() > 0) {
|
||||
$this->db->where('mode', 'DIGITALVOICE');
|
||||
$this->db->where('submode', 'M17');
|
||||
$this->db->delete('adif_modes');
|
||||
}
|
||||
$query = $this->db->get_where('adif_modes', array('submode' => 'FREEDV'));
|
||||
if ($query->num_rows() > 0) {
|
||||
$this->db->where('mode', 'DIGITALVOICE');
|
||||
$this->db->where('submode', 'FREEDV');
|
||||
$this->db->delete('adif_modes');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -247,6 +247,7 @@ class Bands extends CI_Model {
|
|||
'dok' => $band['dok'] == "true" ? '1' : '0',
|
||||
'dxcc' => $band['dxcc'] == "true" ? '1' : '0',
|
||||
'iota' => $band['iota'] == "true" ? '1' : '0',
|
||||
'pota' => $band['pota'] == "true" ? '1' : '0',
|
||||
'sig' => $band['sig'] == "true" ? '1' : '0',
|
||||
'sota' => $band['sota'] == "true" ? '1' : '0',
|
||||
'uscounties' => $band['uscounties'] == "true" ? '1' : '0',
|
||||
|
|
@ -291,8 +292,8 @@ class Bands extends CI_Model {
|
|||
$this->db->insert('bands', $data);
|
||||
}
|
||||
|
||||
$this->db->query("insert into bandxuser (bandid, userid, active, cq, dok, dxcc, iota, sig, sota, uscounties, was, wwff, vucc)
|
||||
select bands.id, " . $this->session->userdata('user_id') . ", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 from bands where band ='".$data['band']."' and not exists (select 1 from bandxuser where userid = " . $this->session->userdata('user_id') . " and bandid = bands.id);");
|
||||
$this->db->query("insert into bandxuser (bandid, userid, active, cq, dok, dxcc, iota, pota, sig, sota, uscounties, was, wwff, vucc)
|
||||
select bands.id, " . $this->session->userdata('user_id') . ", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 from bands where band ='".$data['band']."' and not exists (select 1 from bandxuser where userid = " . $this->session->userdata('user_id') . " and bandid = bands.id);");
|
||||
}
|
||||
|
||||
function getband($id) {
|
||||
|
|
@ -317,4 +318,4 @@ class Bands extends CI_Model {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class Csv_model extends CI_Model
|
|||
$sql .= "SELECT station_callsign, COL_MY_SOTA_REF, COL_QSO_DATE, COL_TIME_ON, COL_BAND, COL_MODE, COL_CALL, COL_SOTA_REF, COL_COMMENT
|
||||
FROM ".$this->config->item('table_name').
|
||||
" JOIN station_profile on station_profile.station_id = ".$this->config->item('table_name').".station_id".
|
||||
" WHERE COL_SOTA_REF <> '' OR COL_MY_SOTA_REF <> ''";
|
||||
" WHERE (COL_SOTA_REF <> '' OR COL_MY_SOTA_REF <> '')";
|
||||
|
||||
if ($station_id != "All") {
|
||||
$sql .= ' and ' . $this->config->item('table_name'). '.station_id = ' . $station_id;
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@ class Logbook_model extends CI_Model {
|
|||
'COL_CNTY' => $clean_county_input,
|
||||
'COL_SOTA_REF' => trim($this->input->post('sota_ref')),
|
||||
'COL_WWFF_REF' => trim($this->input->post('wwff_ref')),
|
||||
'COL_POTA_REF' => trim($this->input->post('pota_ref')),
|
||||
'COL_SIG' => trim($this->input->post('sig')),
|
||||
'COL_SIG_INFO' => trim($this->input->post('sig_info')),
|
||||
'COL_DARC_DOK' => strtoupper(trim($darc_dok)),
|
||||
|
|
@ -211,6 +212,7 @@ class Logbook_model extends CI_Model {
|
|||
$data['COL_MY_IOTA'] = strtoupper(trim($station['station_iota']));
|
||||
$data['COL_MY_SOTA_REF'] = strtoupper(trim($station['station_sota']));
|
||||
$data['COL_MY_WWFF_REF'] = strtoupper(trim($station['station_wwff']));
|
||||
$data['COL_MY_POTA_REF'] = strtoupper(trim($station['station_pota']));
|
||||
|
||||
$data['COL_STATION_CALLSIGN'] = strtoupper(trim($station['station_callsign']));
|
||||
$data['COL_MY_DXCC'] = strtoupper(trim($station['station_dxcc']));
|
||||
|
|
@ -287,6 +289,9 @@ class Logbook_model extends CI_Model {
|
|||
case 'WWFF':
|
||||
$this->db->where('COL_WWFF_REF', $searchphrase);
|
||||
break;
|
||||
case 'POTA':
|
||||
$this->db->where('COL_POTA_REF', $searchphrase);
|
||||
break;
|
||||
}
|
||||
|
||||
$this->db->where_in($this->config->item('table_name').'.station_id', $logbooks_locations_array);
|
||||
|
|
@ -723,6 +728,7 @@ class Logbook_model extends CI_Model {
|
|||
'COL_IOTA' => $this->input->post('iota_ref'),
|
||||
'COL_SOTA_REF' => $this->input->post('sota_ref'),
|
||||
'COL_WWFF_REF' => $this->input->post('wwff_ref'),
|
||||
'COL_POTA_REF' => $this->input->post('pota_ref'),
|
||||
'COL_TX_PWR' => $txpower,
|
||||
'COL_SIG' => $this->input->post('sig'),
|
||||
'COL_SIG_INFO' => $this->input->post('sig_info'),
|
||||
|
|
@ -2680,6 +2686,7 @@ class Logbook_model extends CI_Model {
|
|||
'COL_MY_SIG_INTL' => (!empty($record['my_sig_intl'])) ? $record['my_sig_intl'] : '',
|
||||
'COL_MY_SOTA_REF' => (!empty($record['my_sota_ref'])) ? $record['my_sota_ref'] : '',
|
||||
'COL_MY_WWFF_REF' => (!empty($record['my_wwff_ref'])) ? $record['my_wwff_ref'] : '',
|
||||
'COL_MY_POTA_REF' => (!empty($record['my_pota_ref'])) ? $record['my_pota_ref'] : '',
|
||||
'COL_MY_STATE' => (!empty($record['my_state'])) ? $record['my_state'] : '',
|
||||
'COL_MY_STREET' => (!empty($record['my_street'])) ? $record['my_street'] : '',
|
||||
'COL_MY_STREET_INTL' => (!empty($record['my_street_intl'])) ? $record['my_street_intl'] : '',
|
||||
|
|
@ -2729,12 +2736,13 @@ class Logbook_model extends CI_Model {
|
|||
'COL_SKCC' => (!empty($record['skcc'])) ? $record['skcc'] : '',
|
||||
'COL_SOTA_REF' => (!empty($record['sota_ref'])) ? $record['sota_ref'] : '',
|
||||
'COL_WWFF_REF' => (!empty($record['wwff_ref'])) ? $record['wwff_ref'] : '',
|
||||
'COL_POTA_REF' => (!empty($record['pota_ref'])) ? $record['pota_ref'] : '',
|
||||
'COL_SRX' => (!empty($record['srx'])) ? (int)$record['srx'] : null,
|
||||
//convert to integer to make sure no invalid entries are imported
|
||||
'COL_SRX_STRING' => (!empty($record['srx_string'])) ? $record['srx_string'] : '',
|
||||
//convert to integer to make sure no invalid entries are imported
|
||||
'COL_SRX_STRING' => (!empty($record['srx_string'])) ? $record['srx_string'] : '',
|
||||
'COL_STATE' => (!empty($record['state'])) ? strtoupper($record['state']) : '',
|
||||
'COL_STATION_CALLSIGN' => (!empty($record['station_callsign'])) ? $record['station_callsign'] : '',
|
||||
//convert to integer to make sure no invalid entries are imported
|
||||
//convert to integer to make sure no invalid entries are imported
|
||||
'COL_STX' => (!empty($record['stx'])) ? (int)$record['stx'] : null,
|
||||
'COL_STX_STRING' => (!empty($record['stx_string'])) ? $record['stx_string'] : '',
|
||||
'COL_SUBMODE' => $input_submode,
|
||||
|
|
@ -2769,6 +2777,7 @@ class Logbook_model extends CI_Model {
|
|||
$data['COL_MY_IOTA'] = strtoupper(trim($row['station_iota']));
|
||||
$data['COL_MY_SOTA_REF'] = strtoupper(trim($row['station_sota']));
|
||||
$data['COL_MY_WWFF_REF'] = strtoupper(trim($row['station_wwff']));
|
||||
$data['COL_MY_POTA_REF'] = strtoupper(trim($row['station_pota']));
|
||||
|
||||
$data['COL_STATION_CALLSIGN'] = strtoupper(trim($row['station_callsign']));
|
||||
$data['COL_MY_DXCC'] = strtoupper(trim($row['station_dxcc']));
|
||||
|
|
@ -2818,9 +2827,12 @@ class Logbook_model extends CI_Model {
|
|||
$row = $dxcc_exceptions->row_array();
|
||||
return array($row['adif'], $row['entity'], $row['cqz']);
|
||||
}
|
||||
|
||||
if (preg_match('/(^KG4)[A-Z09]{3,}/', $call)) { // KG4/ and KG4 5 char calls are Guantanamo Bay. If 6 char, it is USA
|
||||
$call = "K";
|
||||
if (preg_match('/(^KG4)[A-Z09]{3}/', $call)) { // KG4/ and KG4 5 char calls are Guantanamo Bay. If 4 or 6 char, it is USA
|
||||
$call = "K";
|
||||
} elseif (preg_match('/(^KG4)[A-Z09]{2}/', $call)) {
|
||||
$call = "KG4";
|
||||
} elseif (preg_match('/(^KG4)[A-Z09]{1}/', $call)) {
|
||||
$call = "K";
|
||||
} elseif (preg_match_all('/^((\d|[A-Z])+\/)?((\d|[A-Z]){3,})(\/(\d|[A-Z])+)?(\/(\d|[A-Z])+)?$/', $call, $matches)) {
|
||||
if ($matches[5][0] == '/MM') {
|
||||
$row['adif'] = 0;
|
||||
|
|
@ -2871,8 +2883,12 @@ class Logbook_model extends CI_Model {
|
|||
return $row;
|
||||
} else {
|
||||
|
||||
if (preg_match('/(^KG4)[A-Z09]{3,}/', $call)) { // KG4/ and KG4 5 char calls are Guantanamo Bay. If 6 char, it is USA
|
||||
$call = "K";
|
||||
if (preg_match('/(^KG4)[A-Z09]{3}/', $call)) { // KG4/ and KG4 5 char calls are Guantanamo Bay. If 4 or 6 char, it is USA
|
||||
$call = "K";
|
||||
} elseif (preg_match('/(^KG4)[A-Z09]{2}/', $call)) {
|
||||
$call = "KG4";
|
||||
} elseif (preg_match('/(^KG4)[A-Z09]{1}/', $call)) {
|
||||
$call = "K";
|
||||
} elseif (preg_match_all('/^((\d|[A-Z])+\/)?((\d|[A-Z]){3,})(\/(\d|[A-Z])+)?(\/(\d|[A-Z])+)?$/', $call, $matches)) {
|
||||
if ($matches[5][0] == '/MM') {
|
||||
$row['adif'] = 0;
|
||||
|
|
|
|||
27
application/models/Pota.php
普通文件
27
application/models/Pota.php
普通文件
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
class Pota extends CI_Model {
|
||||
|
||||
function get_all() {
|
||||
$CI =& get_instance();
|
||||
$CI->load->model('logbooks_model');
|
||||
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
|
||||
|
||||
if (!$logbooks_locations_array) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->load->model('bands');
|
||||
|
||||
$bandslots = $this->bands->get_worked_bands('pota');
|
||||
|
||||
$this->db->where_in("station_id", $logbooks_locations_array);
|
||||
$this->db->where_in("col_band", $bandslots);
|
||||
$this->db->order_by("COL_POTA_REF", "ASC");
|
||||
$this->db->where('COL_POTA_REF !=', '');
|
||||
|
||||
return $this->db->get($this->config->item('table_name'));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -65,6 +65,7 @@ class Stations extends CI_Model {
|
|||
'station_iota' => xss_clean(strtoupper($this->input->post('iota', true))),
|
||||
'station_sota' => xss_clean(strtoupper($this->input->post('sota', true))),
|
||||
'station_wwff' => xss_clean(strtoupper($this->input->post('wwff', true))),
|
||||
'station_pota' => xss_clean(strtoupper($this->input->post('pota', true))),
|
||||
'station_sig' => xss_clean(strtoupper($this->input->post('sig', true))),
|
||||
'station_sig_info' => xss_clean(strtoupper($this->input->post('sig_info', true))),
|
||||
'station_callsign' => xss_clean($this->input->post('station_callsign', true)),
|
||||
|
|
@ -91,6 +92,7 @@ class Stations extends CI_Model {
|
|||
'station_iota' => xss_clean($this->input->post('iota', true)),
|
||||
'station_sota' => xss_clean($this->input->post('sota', true)),
|
||||
'station_wwff' => xss_clean($this->input->post('wwff', true)),
|
||||
'station_pota' => xss_clean($this->input->post('pota', true)),
|
||||
'station_sig' => xss_clean($this->input->post('sig', true)),
|
||||
'station_sig_info' => xss_clean($this->input->post('sig_info', true)),
|
||||
'station_callsign' => xss_clean($this->input->post('station_callsign', true)),
|
||||
|
|
@ -182,7 +184,6 @@ class Stations extends CI_Model {
|
|||
'station_active' => null,
|
||||
);
|
||||
$this->db->where('user_id', $this->session->userdata('user_id'));
|
||||
$this->db->where('station_id', $clean_current);
|
||||
$this->db->update('station_profile', $current_default);
|
||||
|
||||
// Deselect current default
|
||||
|
|
@ -268,6 +269,10 @@ class Stations extends CI_Model {
|
|||
$this->db->where('COL_MY_WWFF_REF', $row->station_wwff);
|
||||
}
|
||||
|
||||
if($row->station_pota != "") {
|
||||
$this->db->where('COL_MY_POTA_REF', $row->station_pota);
|
||||
}
|
||||
|
||||
if($row->station_sig != "") {
|
||||
$this->db->where('COL_MY_SIG', $row->station_sig);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ class User_Model extends CI_Model {
|
|||
function add($username, $password, $email, $type, $firstname, $lastname, $callsign, $locator, $timezone,
|
||||
$measurement, $user_date_format, $user_stylesheet, $user_qth_lookup, $user_sota_lookup, $user_wwff_lookup,
|
||||
$user_show_notes, $user_column1, $user_column2, $user_column3, $user_column4, $user_column5,
|
||||
$user_show_profile_image) {
|
||||
$user_show_profile_image, $user_previous_qsl_type) {
|
||||
// Check that the user isn't already used
|
||||
if(!$this->exists($username)) {
|
||||
$data = array(
|
||||
|
|
@ -140,6 +140,7 @@ class User_Model extends CI_Model {
|
|||
'user_column4' => xss_clean($user_column4),
|
||||
'user_column5' => xss_clean($user_column5),
|
||||
'user_show_profile_image' => xss_clean($user_show_profile_image),
|
||||
'user_previous_qsl_type' => xss_clean($user_previous_qsl_type),
|
||||
);
|
||||
|
||||
// Check the password is valid
|
||||
|
|
@ -155,7 +156,7 @@ class User_Model extends CI_Model {
|
|||
// Add user and insert bandsettings for user
|
||||
$this->db->insert($this->config->item('auth_table'), $data);
|
||||
$insert_id = $this->db->insert_id();
|
||||
$this->db->query("insert into bandxuser (bandid, userid, active, cq, dok, dxcc, iota, sig, sota, uscounties, was, wwff, vucc) select bands.id, " . $insert_id . ", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 from bands;");
|
||||
$this->db->query("insert into bandxuser (bandid, userid, active, cq, dok, dxcc, iota, pota, sig, sota, uscounties, was, wwff, vucc) select bands.id, " . $insert_id . ", 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 from bands;");
|
||||
return OK;
|
||||
} else {
|
||||
return EUSERNAMEEXISTS;
|
||||
|
|
@ -193,6 +194,7 @@ class User_Model extends CI_Model {
|
|||
'user_column4' => xss_clean($fields['user_column4']),
|
||||
'user_column5' => xss_clean($fields['user_column5']),
|
||||
'user_show_profile_image' => xss_clean($fields['user_show_profile_image']),
|
||||
'user_previous_qsl_type' => xss_clean($fields['user_previous_qsl_type']),
|
||||
);
|
||||
|
||||
// Check to see if the user is allowed to change user levels
|
||||
|
|
@ -310,6 +312,7 @@ class User_Model extends CI_Model {
|
|||
'user_column3' => isset($u->row()->user_column3) ? $u->row()->user_column3: 'RSTR',
|
||||
'user_column4' => isset($u->row()->user_column4) ? $u->row()->user_column4: 'Band',
|
||||
'user_column5' => isset($u->row()->user_column5) ? $u->row()->user_column5: 'Country',
|
||||
'user_previous_qsl_type' => isset($u->row()->user_previous_qsl_type) ? $u->row()->user_previous_qsl_type: 0,
|
||||
'active_station_logbook' => $u->row()->active_station_logbook,
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,55 @@
|
|||
<div class="container">
|
||||
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
|
||||
<?php
|
||||
if ($pota_all) {
|
||||
if($this->session->userdata('user_date_format')) {
|
||||
// If Logged in and session exists
|
||||
$custom_date_format = $this->session->userdata('user_date_format');
|
||||
} else {
|
||||
// Get Default date format from /config/cloudlog.php
|
||||
$custom_date_format = $this->config->item('qso_date_format');
|
||||
}
|
||||
?>
|
||||
|
||||
<table style="width: 100%" id="potatable" class="potatable table table-sm table-striped table-hover">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th style="text-align: center"><?php echo $this->lang->line('gen_hamradio_pota_reference') ?></th>
|
||||
<th style="text-align: center"><?php echo $this->lang->line('general_word_date') ?></th>
|
||||
<th style="text-align: center"><?php echo $this->lang->line('general_word_time') ?></th>
|
||||
<th style="text-align: center"><?php echo $this->lang->line('gen_hamradio_callsign') ?></th>
|
||||
<th style="text-align: center"><?php echo $this->lang->line('gen_hamradio_band') ?></th>
|
||||
<th style="text-align: center"><?php echo $this->lang->line('gen_hamradio_rsts') ?></th>
|
||||
<th style="text-align: center"><?php echo $this->lang->line('gen_hamradio_rstr') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
if ($pota_all->num_rows() > 0) {
|
||||
foreach ($pota_all->result() as $row) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td style="text-align: center"><?php echo $row->COL_POTA_REF; ?></td>
|
||||
<td style="text-align: center"><?php $timestamp = strtotime($row->COL_TIME_ON); echo date($custom_date_format, $timestamp); ?></td>
|
||||
<td style="text-align: center"><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
|
||||
<td style="text-align: center"><?php echo $row->COL_CALL; ?></td>
|
||||
<td style="text-align: center"><?php if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo $row->COL_BAND; } ?></td>
|
||||
<td style="text-align: center"><?php echo $row->COL_RST_SENT; ?></td>
|
||||
<td style="text-align: center"><?php echo $row->COL_RST_RCVD; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } else {
|
||||
echo '<div class="alert alert-danger" role="alert"><a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>Nothing found!</div>';
|
||||
}?>
|
||||
</div>
|
||||
|
|
@ -3,6 +3,7 @@ $cq = 0;
|
|||
$dok = 0;
|
||||
$dxcc = 0;
|
||||
$iota = 0;
|
||||
$pota = 0;
|
||||
$sig = 0;
|
||||
$sota = 0;
|
||||
$uscounties = 0;
|
||||
|
|
@ -44,6 +45,7 @@ $wwff = 0;
|
|||
<th>DOK</th>
|
||||
<th>DXCC</th>
|
||||
<th>IOTA</th>
|
||||
<th>POTA</th>
|
||||
<th>SIG</th>
|
||||
<th>SOTA</th>
|
||||
<th>US Counties</th>
|
||||
|
|
@ -69,6 +71,7 @@ $wwff = 0;
|
|||
<td class='dok_<?php echo $band->id ?>'><input type="checkbox" <?php if ($band->dok == 1) {echo 'checked'; $dok++;}?>></td>
|
||||
<td class='dxcc_<?php echo $band->id ?>'><input type="checkbox" <?php if ($band->dxcc == 1) {echo 'checked'; $dxcc++;}?>></td>
|
||||
<td class='iota_<?php echo $band->id ?>'><input type="checkbox" <?php if ($band->iota == 1) {echo 'checked'; $iota++;}?>></td>
|
||||
<td class='pota_<?php echo $band->id ?>'><input type="checkbox" <?php if ($band->iota == 1) {echo 'checked'; $pota++;}?>></td>
|
||||
<td class='sig_<?php echo $band->id ?>'><input type="checkbox" <?php if ($band->sig == 1) {echo 'checked'; $sig++;}?>></td>
|
||||
<td class='sota_<?php echo $band->id ?>'><input type="checkbox" <?php if ($band->sota == 1) {echo 'checked'; $sota++;}?>></td>
|
||||
<td class='uscounties_<?php echo $band->id ?>'><input type="checkbox" <?php if ($band->uscounties == 1) {echo 'checked'; $uscounties++;}?>></td>
|
||||
|
|
@ -94,14 +97,15 @@ $wwff = 0;
|
|||
<tfoot>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th class="master_cq"><input type="checkbox" <?php if ($cq > 0) echo 'checked';?>></th>
|
||||
<th class="master_dok"><input type="checkbox" <?php if ($dok > 0) echo 'checked';?>></th>
|
||||
<th class="master_dxcc"><input type="checkbox" <?php if ($dxcc > 0) echo 'checked';?>></th>
|
||||
<th class="master_cq"><input type="checkbox" <?php if ($cq > 0) echo 'checked';?>></th>
|
||||
<th class="master_dok"><input type="checkbox" <?php if ($dok > 0) echo 'checked';?>></th>
|
||||
<th class="master_dxcc"><input type="checkbox" <?php if ($dxcc > 0) echo 'checked';?>></th>
|
||||
<th class="master_iota"><input type="checkbox" <?php if ($iota > 0) echo 'checked';?>></th>
|
||||
<th class="master_sig"><input type="checkbox" <?php if ($sig > 0) echo 'checked';?>></th>
|
||||
<th class="master_sota"><input type="checkbox" <?php if ($sota > 0) echo 'checked';?>></th>
|
||||
<th class="master_uscounties"><input type="checkbox" <?php if ($uscounties > 0) echo 'checked';?>></th>
|
||||
<th class="master_vucc"><input type="checkbox" <?php if ($vucc > 0) echo 'checked';?>></th>
|
||||
<th class="master_pota"><input type="checkbox" <?php if ($pota > 0) echo 'checked';?>></th>
|
||||
<th class="master_sig"><input type="checkbox" <?php if ($sig > 0) echo 'checked';?>></th>
|
||||
<th class="master_sota"><input type="checkbox" <?php if ($sota > 0) echo 'checked';?>></th>
|
||||
<th class="master_uscounties"><input type="checkbox" <?php if ($uscounties > 0) echo 'checked';?>></th>
|
||||
<th class="master_vucc"><input type="checkbox" <?php if ($vucc > 0) echo 'checked';?>></th>
|
||||
<th class="master_was"><input type="checkbox" <?php if ($was > 0) echo 'checked';?>></th>
|
||||
<th class="master_wwff"><input type="checkbox" <?php if ($wwff > 0) echo 'checked';?>></th>
|
||||
<th></th>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ function echo_table_header_col($ctx, $name) {
|
|||
case 'IOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_iota').'</th>'; break;
|
||||
case 'SOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_sota').'</th>'; break;
|
||||
case 'WWFF': echo '<th>'.$ctx->lang->line('gen_hamradio_wwff').'</th>'; break;
|
||||
case 'POTA': echo '<th>'.$ctx->lang->line('gen_hamradio_pota').'</th>'; break;
|
||||
case 'State': echo '<th>'.$ctx->lang->line('gen_hamradio_state').'</th>'; break;
|
||||
case 'Grid': echo '<th>'.$ctx->lang->line('gen_hamradio_gridsquare').'</th>'; break;
|
||||
case 'Band': echo '<th>'.$ctx->lang->line('gen_hamradio_band').'</th>'; break;
|
||||
|
|
@ -24,6 +25,7 @@ function echo_table_col($row, $name) {
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA) . '</td>'; break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF) . '</td>'; break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF) . '</td>'; break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF) . '</td>'; break;
|
||||
case 'Grid': echo '<td>'; echoQrbCalcLink($row->station_gridsquare, $row->COL_VUCC_GRIDS, $row->COL_GRIDSQUARE); echo '</td>'; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo '<a href="https://db.satnogs.org/search/?q='.$row->COL_SAT_NAME.'" target="_blank">'.$row->COL_SAT_NAME.'</a></td>'; } else { echo strtolower($row->COL_BAND); } echo '</td>'; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE) . '</td>'; break;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
<?php
|
||||
$custom_date_format = $this->session->userdata('user_date_format');
|
||||
?>
|
||||
<div class="container eqsl">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
|
|
@ -25,9 +28,10 @@
|
|||
<?php echo $import['status']; ?>
|
||||
</div>
|
||||
<?php if (count($import['qsos']) > 0) { ?>
|
||||
<table>
|
||||
<table width="100%">
|
||||
<tr class="titles">
|
||||
<td>Date</td>
|
||||
<td>Time</td>
|
||||
<td>Call</td>
|
||||
<td>Mode</td>
|
||||
<td>Submode</td>
|
||||
|
|
@ -36,7 +40,9 @@
|
|||
</tr>
|
||||
<?php foreach ($import['qsos'] as $qso) { ?>
|
||||
<tr>
|
||||
<td><?php echo $qso['date']; ?></td>
|
||||
<?php $timestamp = strtotime($qso['date']); ?>
|
||||
<td><?php echo date($custom_date_format, $timestamp) ?></td>
|
||||
<td><?php echo date('H:i', $timestamp); ?></td>
|
||||
<td><?php echo $qso['call']; ?></td>
|
||||
<td><?php echo $qso['mode']; ?></td>
|
||||
<td><?php echo $qso['submode']; ?></td>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@
|
|||
<?php if ($sat_active) { ?>
|
||||
<a class="nav-link" href="<?php echo site_url('gridsquares/satellites'); ?>">Satellites</a>
|
||||
<?php } ?>
|
||||
<a class="nav-link" href="<?php echo site_url('gridsquares/band/2m'); ?>">Band</a>
|
||||
<a class="nav-link" href="<?php echo site_url('gridsquares/band/All'); ?>">Band</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -54,10 +54,13 @@ function load_was_map() {
|
|||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/sections/statistics.js"></script>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->uri->segment(1) == "adif") { ?>
|
||||
<?php if ($this->uri->segment(1) == "adif" || $this->uri->segment(1) == "qrz") { ?>
|
||||
<!-- Javascript used for ADIF Import and Export Areas -->
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/moment.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/tempusdominus-bootstrap-4.min.js"></script>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->uri->segment(1) == "adif" ) { ?>
|
||||
<script src="<?php echo base_url() ;?>assets/js/sections/adif.js"></script>
|
||||
<?php } ?>
|
||||
|
||||
|
|
@ -596,6 +599,10 @@ function newpath(latlng1, latlng2, locator1, locator2) {
|
|||
}
|
||||
|
||||
const map = new L.map('mapqrb').setView([30, 0], 1.5);
|
||||
map.fitBounds([
|
||||
[latlng1[0], latlng1[1]],
|
||||
[latlng2[0], latlng2[1]]
|
||||
]);
|
||||
|
||||
var maidenhead = L.maidenheadqrb().addTo(map);
|
||||
|
||||
|
|
@ -2168,6 +2175,34 @@ $(document).ready(function(){
|
|||
}
|
||||
});
|
||||
|
||||
$('#pota_ref_edit').selectize({
|
||||
maxItems: 1,
|
||||
closeAfterSelect: true,
|
||||
loadThrottle: 250,
|
||||
valueField: 'name',
|
||||
labelField: 'name',
|
||||
searchField: 'name',
|
||||
options: [],
|
||||
create: false,
|
||||
load: function(query, callback) {
|
||||
if (!query || query.length < 3) return callback(); // Only trigger if 3 or more characters are entered
|
||||
$.ajax({
|
||||
url: baseURL+'index.php/qso/get_pota',
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
query: query,
|
||||
},
|
||||
error: function() {
|
||||
callback();
|
||||
},
|
||||
success: function(res) {
|
||||
callback(res);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$('#darc_dok_edit').selectize({
|
||||
maxItems: 1,
|
||||
closeAfterSelect: true,
|
||||
|
|
@ -3052,7 +3087,7 @@ function deleteQsl(id) {
|
|||
</script>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->uri->segment(1) == "awards" && ($this->uri->segment(2) == "wwff") ) {
|
||||
<?php if ($this->uri->segment(1) == "awards") {
|
||||
// Get Date format
|
||||
if($this->session->userdata('user_date_format')) {
|
||||
// If Logged in and session exists
|
||||
|
|
@ -3077,39 +3112,75 @@ function deleteQsl(id) {
|
|||
?>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/moment.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/datetime-moment.js"></script>
|
||||
<script>
|
||||
$.fn.dataTable.moment('<?php echo $usethisformat ?>');
|
||||
$.fn.dataTable.ext.buttons.clear = {
|
||||
className: 'buttons-clear',
|
||||
action: function ( e, dt, node, config ) {
|
||||
dt.search('').draw();
|
||||
<?php if ($this->uri->segment(2) == "wwff") { ?>
|
||||
<script>
|
||||
$.fn.dataTable.moment('<?php echo $usethisformat ?>');
|
||||
$.fn.dataTable.ext.buttons.clear = {
|
||||
className: 'buttons-clear',
|
||||
action: function ( e, dt, node, config ) {
|
||||
dt.search('').draw();
|
||||
}
|
||||
};
|
||||
$('#wwfftable').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
ordering: true,
|
||||
"scrollY": "500px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true,
|
||||
"order": [ 0, 'asc' ],
|
||||
dom: 'Bfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'csv'
|
||||
},
|
||||
{
|
||||
extend: 'clear',
|
||||
text: 'Clear'
|
||||
}
|
||||
]
|
||||
});
|
||||
// change color of csv-button if dark mode is chosen
|
||||
if (isDarkModeTheme()) {
|
||||
$('[class*="buttons"]').css("color", "white");
|
||||
}
|
||||
};
|
||||
$('#wwfftable').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
ordering: true,
|
||||
"scrollY": "500px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true,
|
||||
"order": [ 0, 'asc' ],
|
||||
dom: 'Bfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'csv'
|
||||
},
|
||||
{
|
||||
extend: 'clear',
|
||||
text: 'Clear'
|
||||
}
|
||||
]
|
||||
});
|
||||
// change color of csv-button if dark mode is chosen
|
||||
if (isDarkModeTheme()) {
|
||||
$('[class*="buttons"]').css("color", "white");
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
<?php } else if ($this->uri->segment(2) == "pota") { ?>
|
||||
<script>
|
||||
$.fn.dataTable.moment('<?php echo $usethisformat ?>');
|
||||
$.fn.dataTable.ext.buttons.clear = {
|
||||
className: 'buttons-clear',
|
||||
action: function ( e, dt, node, config ) {
|
||||
dt.search('').draw();
|
||||
}
|
||||
};
|
||||
$('#potatable').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
ordering: true,
|
||||
"scrollY": "500px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true,
|
||||
"order": [ 0, 'asc' ],
|
||||
dom: 'Bfrtip',
|
||||
buttons: [
|
||||
{
|
||||
extend: 'csv'
|
||||
},
|
||||
{
|
||||
extend: 'clear',
|
||||
text: 'Clear'
|
||||
}
|
||||
]
|
||||
});
|
||||
// change color of csv-button if dark mode is chosen
|
||||
if (isDarkModeTheme()) {
|
||||
$('[class*="buttons"]').css("color", "white");
|
||||
}
|
||||
</script>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@
|
|||
<a class="dropdown-item" href="<?php echo site_url('awards/dxcc');?>"><i class="fas fa-trophy"></i> DXCC</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('awards/iota');?>"><i class="fas fa-trophy"></i> IOTA</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('awards/pota');?>"><i class="fas fa-trophy"></i> POTA</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('awards/sig');?>"><i class="fas fa-trophy"></i> SIG</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -121,6 +122,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -136,6 +138,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -150,6 +153,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -164,6 +168,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
|
|||
|
|
@ -358,6 +358,11 @@
|
|||
<input type="text" class="form-control" id="wwff_ref_edit" name="wwff_ref" value="<?php echo $qso->COL_WWFF_REF; ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="pota_ref">POTA</label>
|
||||
<input type="text" class="form-control" id="pota_ref_edit" name="pota_ref" value="<?php echo $qso->COL_POTA_REF; ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="sig">Sig</label>
|
||||
<input type="text" class="form-control" id="sig" name="sig" value="<?php echo $qso->COL_SIG; ?>">
|
||||
|
|
|
|||
|
|
@ -357,6 +357,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-9">
|
||||
<label for="pota_ref"><?php echo $this->lang->line('gen_hamradio_pota_reference'); ?></label>
|
||||
<input class="form-control" id="pota_ref" type="text" name="pota_ref" value="" />
|
||||
<small id="potaRefHelp" class="form-text text-muted"><?php echo $this->lang->line('qso_pota_ref_helptext'); ?></small>
|
||||
</div>
|
||||
<div class="form-group col-md-3 align-self-center">
|
||||
<small id="pota_info" class="badge badge-secondary"></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="sig"><?php echo $this->lang->line('gen_hamradio_sig'); ?></label>
|
||||
<input class="form-control" id="sig" type="text" name="sig" value="" />
|
||||
|
|
@ -503,7 +514,7 @@
|
|||
<?php } ?>
|
||||
|
||||
<div class="card previous-qsos">
|
||||
<div class="card-header"><h4 class="card-title" style="font-size: 16px; font-weight: bold;"><?php echo $this->lang->line('qso_title_pervious_contacts'); ?></h4></div>
|
||||
<div class="card-header"><h4 class="card-title" style="font-size: 16px; font-weight: bold;"><?php echo $this->lang->line('qso_title_previous_contacts'); ?></h4></div>
|
||||
|
||||
<div id="partial_view" style="font-size: 0.95rem;"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -139,6 +140,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -154,6 +156,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -168,6 +171,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
@ -182,6 +186,7 @@
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA); break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF); break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF); break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF); break;
|
||||
case 'Grid': echo '<td>'; echo strlen($row->COL_GRIDSQUARE)==0?$row->COL_VUCC_GRIDS:$row->COL_GRIDSQUARE; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE); break;
|
||||
|
|
|
|||
|
|
@ -198,16 +198,22 @@
|
|||
<small id="stationWWFFInputHelp" class="form-text text-muted">Station WWFF reference (e.g. DLFF-0069).</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="stationPOTAInput">POTA Reference</label>
|
||||
<input type="text" class="form-control" name="pota" id="stationPOTAInput" aria-describedby="stationPOTAInputHelp">
|
||||
<small id="stationPOTAInputHelp" class="form-text text-muted">Station POTA reference (e.g. PA-0150).</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="stationSigInput">Signature</label>
|
||||
<input type="text" class="form-control" name="sig" id="stationSigInput" aria-describedby="stationSigInputHelp">
|
||||
<small id="stationSigInputHelp" class="form-text text-muted">Station Signature (e.g. POTA).</small>
|
||||
<small id="stationSigInputHelp" class="form-text text-muted">Station Signature (e.g. GMA).</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="stationSigInfoInput">Signature Info</label>
|
||||
<input type="text" class="form-control" name="sig_info" id="stationSigInfoInput" aria-describedby="stationSigInfoInputHelp">
|
||||
<small id="stationSigInfoInput" class="form-text text-muted">Station Signature Info (e.g. PA-0150).</small>
|
||||
<small id="stationSigInfoInput" class="form-text text-muted">Station Signature Info (e.g. DA/NW-357).</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
|
|||
|
|
@ -284,6 +284,19 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md">
|
||||
<div class="card">
|
||||
<h5 class="card-header">POTA</h5>
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label for="stationPOTAInput">POTA Reference</label>
|
||||
<input type="text" class="form-control" name="pota" id="stationPOTAInput" aria-describedby="stationPOTAInputHelp" value="<?php if(set_value('pota') != "") { echo set_value('pota'); } else { echo $my_station_profile->station_pota; } ?>">
|
||||
<small id="stationPOTAInputHelp" class="form-text text-muted">Station POTA reference.</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
|
@ -294,13 +307,13 @@
|
|||
<div class="form-group">
|
||||
<label for="stationSigInput">Signature</label>
|
||||
<input type="text" class="form-control" name="sig" id="stationSigInput" aria-describedby="stationSigInputHelp" value="<?php if(set_value('sig') != "") { echo set_value('sig'); } else { echo $my_station_profile->station_sig; } ?>">
|
||||
<small id="stationSigInputHelp" class="form-text text-muted">Station Signature (e.g. WWFF)..</small>
|
||||
<small id="stationSigInputHelp" class="form-text text-muted">Station Signature (e.g. GMA)..</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="stationSigInfoInput">Signature Information</label>
|
||||
<input type="text" class="form-control" name="sig_info" id="stationSigInfoInput" aria-describedby="stationSigInfoInputHelp" value="<?php if(set_value('sig_info') != "") { echo set_value('sig_info'); } else { echo $my_station_profile->station_sig_info; } ?>">
|
||||
<small id="stationSigInfoInputHelp" class="form-text text-muted">Station Signature Info (e.g. DLFF-0029).</small>
|
||||
<small id="stationSigInfoInputHelp" class="form-text text-muted">Station Signature Info (e.g. DA/NW-357).</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -247,6 +247,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="previousqsltype">Select the type of QSL to show in the previous QSOs section.</label>
|
||||
<select class="custom-select" id="previousqsltype" name="user_previous_qsl_type">
|
||||
<option value="0"><?php echo $this->lang->line('gen_hamradio_qsl'); ?></option>
|
||||
<option value="1"><?php echo $this->lang->line('lotw_short'); ?></option>
|
||||
<option value="2"><?php echo $this->lang->line('eqsl_short'); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="profileimages">Show profile picture of QSO partner from qrz.com/hamqth.com profile in the log QSO section.</label>
|
||||
<select class="custom-select" id="profileimages" name="user_show_profile_image">
|
||||
|
|
|
|||
|
|
@ -357,6 +357,7 @@
|
|||
<option value="IOTA" <?php if ($user_column1 == "IOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
|
||||
<option value="SOTA" <?php if ($user_column1 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
|
||||
<option value="WWFF" <?php if ($user_column1 == "WWFF") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_wwff'); ?></option>
|
||||
<option value="POTA" <?php if ($user_column1 == "POTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_pota'); ?></option>
|
||||
<option value="State" <?php if ($user_column1 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
|
||||
<option value="Grid" <?php if ($user_column1 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
|
||||
<option value="Operator" <?php if ($user_column1 == "Operator") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
|
||||
|
|
@ -374,6 +375,7 @@
|
|||
<option value="IOTA" <?php if ($user_column2 == "IOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
|
||||
<option value="SOTA" <?php if ($user_column2 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
|
||||
<option value="WWFF" <?php if ($user_column1 == "WWFF") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_wwff'); ?></option>
|
||||
<option value="POTA" <?php if ($user_column1 == "POTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_pota'); ?></option>
|
||||
<option value="State" <?php if ($user_column2 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
|
||||
<option value="Grid" <?php if ($user_column2 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
|
||||
<option value="Operator" <?php if ($user_column2 == "Operator") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
|
||||
|
|
@ -391,6 +393,7 @@
|
|||
<option value="IOTA" <?php if ($user_column3 == "IOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
|
||||
<option value="SOTA" <?php if ($user_column3 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
|
||||
<option value="WWFF" <?php if ($user_column1 == "WWFF") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_wwff'); ?></option>
|
||||
<option value="POTA" <?php if ($user_column1 == "POTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_pota'); ?></option>
|
||||
<option value="State" <?php if ($user_column3 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
|
||||
<option value="Grid" <?php if ($user_column3 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
|
||||
<option value="Operator" <?php if ($user_column3 == "Operator") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
|
||||
|
|
@ -408,6 +411,7 @@
|
|||
<option value="IOTA" <?php if ($user_column4 == "IOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
|
||||
<option value="SOTA" <?php if ($user_column4 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
|
||||
<option value="WWFF" <?php if ($user_column1 == "WWFF") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_wwff'); ?></option>
|
||||
<option value="POTA" <?php if ($user_column1 == "POTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_pota'); ?></option>
|
||||
<option value="State" <?php if ($user_column4 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
|
||||
<option value="Grid" <?php if ($user_column4 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
|
||||
<option value="Operator" <?php if ($user_column4 == "Operator") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
|
||||
|
|
@ -424,6 +428,7 @@
|
|||
<option value="IOTA" <?php if ($user_column5 == "IOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
|
||||
<option value="SOTA" <?php if ($user_column5 == "SOTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
|
||||
<option value="WWFF" <?php if ($user_column1 == "WWFF") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_wwff'); ?></option>
|
||||
<option value="POTA" <?php if ($user_column1 == "POTA") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_pota'); ?></option>
|
||||
<option value="State" <?php if ($user_column5 == "State") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
|
||||
<option value="Grid" <?php if ($user_column5 == "Grid") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
|
||||
<option value="Operator" <?php if ($user_column5 == "Operator") { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
|
||||
|
|
@ -436,6 +441,28 @@
|
|||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
Previous QSL Type
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label for="profileimages">Select the type of QSL to show in the previous QSOs section.</label>
|
||||
<select class="custom-select" id="previousqsltype" name="user_previous_qsl_type">
|
||||
<option value="0" <?php if ($user_previous_qsl_type == 0) { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('gen_hamradio_qsl'); ?></option>
|
||||
<option value="1" <?php if ($user_previous_qsl_type == 1) { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('lotw_short'); ?></option>
|
||||
<option value="2" <?php if ($user_previous_qsl_type == 2) { echo " selected =\"selected\""; } ?>><?php echo $this->lang->line('eqsl_short'); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<!-- qrz.com Images -->
|
||||
<div class="col-md">
|
||||
|
|
|
|||
|
|
@ -94,14 +94,14 @@
|
|||
|
||||
<?php if ($this->session->userdata('user_eqsl_name') != ""){ ?>
|
||||
<td class="eqsl">
|
||||
<span class="eqsl-<?php echo ($row->COL_EQSL_QSL_SENT=='Y')?'green':'red'?>">▲</span>
|
||||
<span class="eqsl-<?php echo ($row->COL_EQSL_QSL_RCVD=='Y')?'green':'red'?>">
|
||||
<?php if($row->COL_EQSL_QSL_RCVD =='Y') { ?>
|
||||
<a style="color: green" href="<?php echo site_url("eqsl/image/".$row->COL_PRIMARY_KEY); ?>" data-fancybox="images" data-width="528" data-height="336">▼</a>
|
||||
<?php } else { ?>
|
||||
▼
|
||||
<?php } ?>
|
||||
</span>
|
||||
<span class="eqsl-<?php echo ($row->COL_EQSL_QSL_SENT=='Y')?'green':'red'?>">▲</span>
|
||||
<span class="eqsl-<?php echo ($row->COL_EQSL_QSL_RCVD=='Y')?'green':'red'?>">
|
||||
<?php if($row->COL_EQSL_QSL_RCVD =='Y') { ?>
|
||||
<a class="eqsl-green" href="<?php echo site_url("eqsl/image/".$row->COL_PRIMARY_KEY); ?>" data-fancybox="images" data-width="528" data-height="336">▼</a>
|
||||
<?php } else { ?>
|
||||
▼
|
||||
<?php } ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ function echo_table_header_col($ctx, $name) {
|
|||
case 'IOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_iota').'</th>'; break;
|
||||
case 'SOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_sota').'</th>'; break;
|
||||
case 'WWFF': echo '<th>'.$ctx->lang->line('gen_hamradio_wwff').'</th>'; break;
|
||||
case 'POTA': echo '<th>'.$ctx->lang->line('gen_hamradio_pota').'</th>'; break;
|
||||
case 'State': echo '<th>'.$ctx->lang->line('gen_hamradio_state').'</th>'; break;
|
||||
case 'Grid': echo '<th>'.$ctx->lang->line('gen_hamradio_gridsquare').'</th>'; break;
|
||||
case 'Band': echo '<th>'.$ctx->lang->line('gen_hamradio_band').'</td>'; break;
|
||||
case 'Operator': echo '<th>'.$ctx->lang->line('gen_hamradio_operator').'</th>'; break;
|
||||
|
||||
case 'Operator': echo '<th>'.$ctx->lang->line('gen_hamradio_operator').'</th>'; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -25,6 +25,7 @@ function echo_table_col($row, $name) {
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA) . '</td>'; break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF) . '</td>'; break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF) . '</td>'; break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF) . '</td>'; break;
|
||||
case 'Grid': echo '<td>'; echoQrbCalcLink($row->station_gridsquare, $row->COL_VUCC_GRIDS, $row->COL_GRIDSQUARE); echo '</td>'; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo '<a href="https://db.satnogs.org/search/?q='.$row->COL_SAT_NAME.'" target="_blank">'.$row->COL_SAT_NAME.'</a></td>'; } else { echo strtolower($row->COL_BAND); } echo '</td>'; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE) . '</td>'; break;
|
||||
|
|
@ -183,7 +184,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
|
|||
<span <?php if ($row->COL_EQSL_QSL_SENT == "Y") { $timestamp = strtotime($row->COL_EQSL_QSLSDATE); echo "data-original-title=\"".$this->lang->line('eqsl_short')." ".$this->lang->line('general_word_sent')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="eqsl-<?php echo ($row->COL_EQSL_QSL_SENT=='Y')?'green':'red'?>">▲</span>
|
||||
<span <?php if ($row->COL_EQSL_QSL_RCVD == "Y") { $timestamp = strtotime($row->COL_EQSL_QSLRDATE); echo "data-original-title=\"".$this->lang->line('eqsl_short')." ".$this->lang->line('general_word_received')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="eqsl-<?php echo ($row->COL_EQSL_QSL_RCVD=='Y')?'green':'red'?>">
|
||||
<?php if($row->COL_EQSL_QSL_RCVD =='Y') { ?>
|
||||
<a style="color: green" href="<?php echo site_url("eqsl/image/".$row->COL_PRIMARY_KEY); ?>" data-fancybox="images" data-width="528" data-height="336">▼</a>
|
||||
<a class="eqsl-green" href="<?php echo site_url("eqsl/image/".$row->COL_PRIMARY_KEY); ?>" data-fancybox="images" data-width="528" data-height="336">▼</a>
|
||||
<?php } else { ?>
|
||||
▼
|
||||
<?php } ?>
|
||||
|
|
|
|||
|
|
@ -216,6 +216,13 @@
|
|||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_POTA_REF != null) { ?>
|
||||
<tr>
|
||||
<td><?php echo $this->lang->line('gen_hamradio_pota_reference'); ?></td>
|
||||
<td><a href="https://pota.app/#/park/<?php echo $row->COL_POTA_REF; ?>" target="_blank"><?php echo $row->COL_POTA_REF; ?></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_SIG != null) { ?>
|
||||
<tr>
|
||||
<td><?php echo $this->lang->line('gen_hamradio_sig'); ?></td>
|
||||
|
|
@ -234,12 +241,6 @@
|
|||
case "MQC":
|
||||
echo "<td><a href=\"https://www.mountainqrp.it/awards/referenza.php?ref=".$row->COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."</a></td>";
|
||||
break;
|
||||
case "WWFF":
|
||||
echo "<td><a href=\"https://www.cqgma.org/zinfo.php?ref=".$row->COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."</a></td>";
|
||||
break;
|
||||
case "POTA":
|
||||
echo "<td><a href=\"https://pota.app/#/park/".$row->COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."</a></td>";
|
||||
break;
|
||||
default:
|
||||
echo "<td>".$row->COL_SIG_INFO."</td>";
|
||||
break;
|
||||
|
|
@ -265,19 +266,36 @@
|
|||
<?php if($row->COL_QSL_SENT == "Y" || $row->COL_QSL_RCVD == "Y") { ?>
|
||||
<h3><?php echo $this->lang->line('qslcard_info'); ?></h3>
|
||||
|
||||
<?php if($row->COL_QSL_SENT == "Y" && $row->COL_QSL_SENT_VIA == "B") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_sent_bureau'); ?> <?php $timestamp = strtotime($row->COL_QSLSDATE); echo date($custom_date_format, $timestamp); ?>.</p>
|
||||
<?php } ?>
|
||||
<?php if($row->COL_QSL_SENT == "Y" && $row->COL_QSL_SENT_VIA == "D") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_sent_direct'); ?> <?php $timestamp = strtotime($row->COL_QSLSDATE); echo date($custom_date_format, $timestamp); ?>.</p>
|
||||
<?php if($row->COL_QSL_SENT == "Y") {?>
|
||||
<?php if ($row->COL_QSL_SENT_VIA == "B") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_sent_bureau'); ?>
|
||||
<?php } else if($row->COL_QSL_SENT_VIA == "D") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_sent_direct'); ?>
|
||||
<?php } else if($row->COL_QSL_SENT_VIA == "E") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_sent_electronic'); ?>
|
||||
<?php } else if($row->COL_QSL_SENT_VIA == "M") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_sent_manager'); ?>
|
||||
<?php } else { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_sent'); ?>
|
||||
<?php } ?>
|
||||
<?php $timestamp = strtotime($row->COL_QSLSDATE); echo date($custom_date_format, $timestamp); ?>.</p>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_QSL_RCVD == "Y" && $row->COL_QSL_RCVD_VIA == "B") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_rcvd_bureau'); ?> <?php $timestamp = strtotime($row->COL_QSLRDATE); echo date($custom_date_format, $timestamp); ?>.</p>
|
||||
<?php } ?>
|
||||
<?php if($row->COL_QSL_RCVD == "Y" && $row->COL_QSL_RCVD_VIA == "D") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_rcvd_direct'); ?> <?php $timestamp = strtotime($row->COL_QSLRDATE); echo date($custom_date_format, $timestamp); ?>.</p>
|
||||
<?php if($row->COL_QSL_RCVD == "Y") { ?>
|
||||
<?php if ($row->COL_QSL_RCVD_VIA == "B") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_rcvd_bureau'); ?>
|
||||
<?php } else if($row->COL_QSL_RCVD_VIA == "D") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_rcvd_direct'); ?>
|
||||
<?php } else if($row->COL_QSL_RCVD_VIA == "E") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_rcvd_electronic'); ?>
|
||||
<?php } else if($row->COL_QSL_RCVD_VIA == "M") { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_rcvd_manager'); ?>
|
||||
<?php } else { ?>
|
||||
<p><?php echo $this->lang->line('qslcard_rcvd'); ?>
|
||||
<?php } ?>
|
||||
<?php $timestamp = strtotime($row->COL_QSLRDATE); echo date($custom_date_format, $timestamp); ?>.</p>
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_LOTW_QSL_RCVD == "Y") { ?>
|
||||
|
|
@ -374,6 +392,13 @@
|
|||
<td><?php echo $row->COL_MY_WWFF_REF; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_MY_POTA_REF) { ?>
|
||||
<tr>
|
||||
<td>Station POTA Reference</td>
|
||||
<td><?php echo $row->COL_MY_POTA_REF; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ function echo_table_col($row, $name) {
|
|||
case 'IOTA': echo '<td>' . ($row->COL_IOTA) . '</td>'; break;
|
||||
case 'SOTA': echo '<td>' . ($row->COL_SOTA_REF) . '</td>'; break;
|
||||
case 'WWFF': echo '<td>' . ($row->COL_WWFF_REF) . '</td>'; break;
|
||||
case 'POTA': echo '<td>' . ($row->COL_POTA_REF) . '</td>'; break;
|
||||
case 'Grid': echo '<td>'; echoQrbCalcLink($row->station_gridsquare, $row->COL_VUCC_GRIDS, $row->COL_GRIDSQUARE); echo '</td>'; break;
|
||||
case 'Band': echo '<td>'; if($row->COL_SAT_NAME != null) { echo '<a href="https://db.satnogs.org/search/?q='.$row->COL_SAT_NAME.'" target="_blank">'.$row->COL_SAT_NAME.'</a></td>'; } else { echo strtolower($row->COL_BAND); } echo '</td>'; break;
|
||||
case 'State': echo '<td>' . ($row->COL_STATE) . '</td>'; break;
|
||||
|
|
|
|||
|
|
@ -13,46 +13,6 @@ thead>tr>td {
|
|||
border-width: 2px;
|
||||
}
|
||||
|
||||
.eqsl-green {
|
||||
color: #00A000;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.eqsl-red {
|
||||
color: #F00;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.qsl-green {
|
||||
color: #00A000;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.qsl-red {
|
||||
color: #F00;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.qsl-yellow {
|
||||
color: #d39e00;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.qsl-grey {
|
||||
color: #dddddd;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.lotw-green {
|
||||
color: #00A000;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.lotw-red {
|
||||
color: #F00;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.settings-nav {
|
||||
margin-bottom: 15px;
|
||||
list-style: none;
|
||||
|
|
@ -125,4 +85,4 @@ div.alert-danger {
|
|||
|
||||
.selectize-dropdown, .selectize-dropdown.form-control {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,6 +87,10 @@ thead > tr > td {
|
|||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.qso_panel #pota_ref-selectized {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.qso_panel #darc_dok-selectized {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
|
@ -111,6 +115,10 @@ thead > tr > td {
|
|||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.card-body #pota_ref_edit-selectized {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.card-body #darc_dok_edit-selectized {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
|
@ -146,38 +154,39 @@ TD.eqsl{
|
|||
}
|
||||
|
||||
.eqsl-green{
|
||||
color: #00A000;
|
||||
color: #00A000 !important;
|
||||
font-size: 1.1em;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
.eqsl-red{
|
||||
color: #F00;
|
||||
color: #F00 !important;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.qsl-green{
|
||||
color: #00A000;
|
||||
color: #00A000 !important;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.qsl-red{
|
||||
color: #F00;
|
||||
color: #F00 !important;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.qsl-yellow{
|
||||
color: #d39e00;
|
||||
color: #d39e00 !important;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.qsl-grey{
|
||||
color: #dddddd;
|
||||
color: #dddddd !important;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
TD.lotw{
|
||||
width: 33px;
|
||||
}
|
||||
.lotw-green{
|
||||
color: #00A000;
|
||||
color: #00A000 !important;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.lotw-red{
|
||||
color: #F00;
|
||||
color: #F00 !important;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
|
|
@ -395,3 +404,7 @@ div#station_logbooks_linked_table_paginate {
|
|||
.api-key {
|
||||
font-family: Monospace;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
z-index: 2000;
|
||||
}
|
||||
|
|
@ -20,14 +20,4 @@ $(function () {
|
|||
$('#datetimepicker4').datetimepicker({
|
||||
format: 'DD/MM/YYYY',
|
||||
});
|
||||
});
|
||||
$(function () {
|
||||
$('#datetimepicker5').datetimepicker({
|
||||
format: 'DD/MM/YYYY',
|
||||
});
|
||||
});
|
||||
$(function () {
|
||||
$('#datetimepicker6').datetimepicker({
|
||||
format: 'DD/MM/YYYY',
|
||||
});
|
||||
});
|
||||
|
|
@ -208,6 +208,7 @@ function saveBand(id) {
|
|||
'dok': $(".dok_"+id+" input[type='checkbox']").is(":checked"),
|
||||
'dxcc': $(".dxcc_"+id+" input[type='checkbox']").is(":checked"),
|
||||
'iota': $(".iota_"+id+" input[type='checkbox']").is(":checked"),
|
||||
'pota': $(".pota_"+id+" input[type='checkbox']").is(":checked"),
|
||||
'sig': $(".sig_"+id+" input[type='checkbox']").is(":checked"),
|
||||
'sota': $(".sota_"+id+" input[type='checkbox']").is(":checked"),
|
||||
'uscounties': $(".uscounties_"+id+" input[type='checkbox']").is(":checked"),
|
||||
|
|
@ -218,4 +219,4 @@ function saveBand(id) {
|
|||
success: function (html) {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -490,6 +490,7 @@ function restoreContestSession() {
|
|||
});
|
||||
if (!$.fn.DataTable.isDataTable('.qsotable')) {
|
||||
$('.qsotable').DataTable({
|
||||
"stateSave": true,
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
"scrollY": "400px",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,15 @@
|
|||
$(function () {
|
||||
$('#datetimepicker5').datetimepicker({
|
||||
format: 'DD/MM/YYYY',
|
||||
});
|
||||
});
|
||||
|
||||
$(function () {
|
||||
$('#datetimepicker6').datetimepicker({
|
||||
format: 'DD/MM/YYYY',
|
||||
});
|
||||
});
|
||||
|
||||
function ExportQrz(station_id) {
|
||||
if ($(".alert").length > 0) {
|
||||
$(".alert").remove();
|
||||
|
|
|
|||
|
|
@ -126,6 +126,39 @@ $( document ).ready(function() {
|
|||
$('#wwff_info').attr('title', 'Lookup '+$('#wwff_ref').val()+' reference info on cqgma.org');
|
||||
});
|
||||
|
||||
$('#pota_ref').selectize({
|
||||
maxItems: 1,
|
||||
closeAfterSelect: true,
|
||||
loadThrottle: 250,
|
||||
valueField: 'name',
|
||||
labelField: 'name',
|
||||
searchField: 'name',
|
||||
options: [],
|
||||
create: false,
|
||||
load: function(query, callback) {
|
||||
if (!query || query.length < 3) return callback(); // Only trigger if 3 or more characters are entered
|
||||
$.ajax({
|
||||
url: base_url+'index.php/qso/get_pota',
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
query: query,
|
||||
},
|
||||
error: function() {
|
||||
callback();
|
||||
},
|
||||
success: function(res) {
|
||||
callback(res);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$('#pota_ref').change(function(){
|
||||
$('#pota_info').html('<a target="_blank" href="https://pota.app/#/park/'+$('#pota_ref').val()+'"><img width="32" height="32" src="'+base_url+'images/icons/pota.app.png"></a>');
|
||||
$('#pota_info').attr('title', 'Lookup '+$('#pota_ref').val()+' reference info on pota.co');
|
||||
});
|
||||
|
||||
$('#darc_dok').selectize({
|
||||
maxItems: 1,
|
||||
closeAfterSelect: true,
|
||||
|
|
@ -322,6 +355,9 @@ function reset_fields() {
|
|||
var $select = $('#wwff_ref').selectize();
|
||||
var selectize = $select[0].selectize;
|
||||
selectize.clear();
|
||||
var $select = $('#pota_ref').selectize();
|
||||
var selectize = $select[0].selectize;
|
||||
selectize.clear();
|
||||
var $select = $('#darc_dok').selectize();
|
||||
var selectize = $select[0].selectize;
|
||||
selectize.clear();
|
||||
|
|
@ -360,8 +396,12 @@ $("#callsign").focusout(function() {
|
|||
// Replace / in a callsign with - to stop urls breaking
|
||||
$.getJSON('logbook/json/' + find_callsign.replace(/\//g, "-") + '/' + sat_type + '/' + json_band + '/' + json_mode + '/' + $('#stationProfile').val(), function(result)
|
||||
{
|
||||
// Make sure the typed callsign and temp callsign match
|
||||
if($('#callsign').val = temp_callsign){
|
||||
|
||||
// Make sure the typed callsign and json result match
|
||||
if($('#callsign').val = result.callsign) {
|
||||
|
||||
// Reset QSO fields
|
||||
resetDefaultQSOFields();
|
||||
|
||||
if(result.dxcc.entity != undefined) {
|
||||
$('#country').val(convert_case(result.dxcc.entity));
|
||||
|
|
@ -532,25 +572,8 @@ $("#callsign").focusout(function() {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
/* Reset fields ... */
|
||||
$('#callsign_info').text("");
|
||||
$('#locator_info').text("");
|
||||
$('#country').val("");
|
||||
$('#dxcc_id').val("");
|
||||
$('#cqz').val("");
|
||||
$('#name').val("");
|
||||
$('#qth').val("");
|
||||
$('#locator').val("");
|
||||
$('#iota_ref').val("");
|
||||
$('#sota_ref').val("");
|
||||
$("#locator").removeClass("workedGrid");
|
||||
$("#locator").removeClass("newGrid");
|
||||
$("#callsign").removeClass("workedGrid");
|
||||
$("#callsign").removeClass("newGrid");
|
||||
$('#callsign_info').removeClass("badge-secondary");
|
||||
$('#callsign_info').removeClass("badge-success");
|
||||
$('#callsign_info').removeClass("badge-danger");
|
||||
$('#input_usa_state').val("");
|
||||
// Reset QSO fields
|
||||
resetDefaultQSOFields();
|
||||
}
|
||||
})
|
||||
|
||||
|
|
@ -741,3 +764,27 @@ $("#callsign").keyup(function() {
|
|||
});
|
||||
}
|
||||
});
|
||||
|
||||
//Reset QSO form Fields function
|
||||
function resetDefaultQSOFields() {
|
||||
$('#callsign_info').text("");
|
||||
$('#locator_info').text("");
|
||||
$('#country').val("");
|
||||
$('#dxcc_id').val("");
|
||||
$('#cqz').val("");
|
||||
$('#name').val("");
|
||||
$('#qth').val("");
|
||||
$('#locator').val("");
|
||||
$('#iota_ref').val("");
|
||||
$('#sota_ref').val("");
|
||||
$("#locator").removeClass("workedGrid");
|
||||
$("#locator").removeClass("newGrid");
|
||||
$("#callsign").removeClass("workedGrid");
|
||||
$("#callsign").removeClass("newGrid");
|
||||
$('#callsign_info').removeClass("badge-secondary");
|
||||
$('#callsign_info').removeClass("badge-success");
|
||||
$('#callsign_info').removeClass("badge-danger");
|
||||
$('#input_usa_state').val("");
|
||||
$('#callsign-image').attr('style', 'display: none;');
|
||||
$('#callsign-image-content').text("");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$(document).ready( function () {
|
||||
$('#station_locations_table').DataTable();
|
||||
} );
|
||||
$('#station_locations_table').DataTable({
|
||||
"stateSave": true
|
||||
});
|
||||
} );
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
$(document).ready( function () {
|
||||
$('#station_logbooks_table').DataTable();
|
||||
$('#station_logbooks_table').DataTable({
|
||||
"stateSave": true
|
||||
});
|
||||
} );
|
||||
|
||||
$(document).ready( function () {
|
||||
$('#station_logbooks_linked_table').DataTable();
|
||||
} );
|
||||
$('#station_logbooks_linked_table').DataTable({
|
||||
"stateSave": true
|
||||
});
|
||||
} );
|
||||
|
|
|
|||
39695
assets/json/pota.txt
普通文件
39695
assets/json/pota.txt
普通文件
文件差异内容过多而无法显示
加载差异
|
|
@ -239,6 +239,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"IO-117":{
|
||||
"Modes":{
|
||||
"U":[
|
||||
{
|
||||
"Uplink_Mode":"PKT",
|
||||
"Uplink_Freq":"435310000",
|
||||
"Downlink_Mode":"PKT",
|
||||
"Downlink_Freq":"435310000"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"JO-97":{
|
||||
"Modes":{
|
||||
"U/V":[
|
||||
|
|
@ -566,17 +578,5 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"GREENCUBE":{
|
||||
"Modes":{
|
||||
"U":[
|
||||
{
|
||||
"Uplink_Mode":"PKT",
|
||||
"Uplink_Freq":"435310000",
|
||||
"Downlink_Mode":"PKT",
|
||||
"Downlink_Freq":"435310000"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
二进制
images/icons/pota.app.png
普通文件
二进制
images/icons/pota.app.png
普通文件
二进制文件未显示。
|
之后 宽度: | 高度: | 大小: 22 KiB |
正在加载…
在新工单中引用