' . __("Mode") . '';
break;
case 'RSTS':
echo '
' . __("RST (S)") . ' | ';
break;
case 'RSTR':
echo '' . __("RST (R)") . ' | ';
break;
case 'Country':
echo '' . __("Country") . ' | ';
break;
case 'IOTA':
echo '' . __("IOTA") . ' | ';
break;
case 'SOTA':
echo '' . __("SOTA") . ' | ';
break;
case 'State':
echo '' . __("State") . ' | ';
break;
case 'Grid':
echo '' . __("Gridsquare") . ' | ';
break;
case 'Distance':
echo '' . __("Distance") . ' | ';
break;
case 'Band':
echo '' . __("Band") . ' | ';
break;
case 'Frequency':
echo '' . __("Frequency") . ' | ';
break;
case 'Operator':
echo '' . __("Operator") . ' | ';
break;
}
}
function echo_table_col($row, $name)
{
$CI = &get_instance();
switch ($name) {
case 'Mode':
echo '';
echo $row->COL_SUBMODE == null ? $row->COL_MODE : $row->COL_SUBMODE . ' | ';
break;
case 'RSTS':
echo '' . $row->COL_RST_SENT;
if ($row->COL_STX) {
echo ' COL_CONTEST_ID : "n/a") . '" class="badge text-bg-light">';
printf("%03d", $row->COL_STX);
echo '';
}
if ($row->COL_STX_STRING) {
echo ' COL_CONTEST_ID : "n/a") . '" class="badge text-bg-light">' . $row->COL_STX_STRING . '';
}
echo ' | ';
break;
case 'RSTR':
echo '' . $row->COL_RST_RCVD;
if ($row->COL_SRX) {
echo ' COL_CONTEST_ID : "n/a") . '" class="badge text-bg-light">';
printf("%03d", $row->COL_SRX);
echo '';
}
if ($row->COL_SRX_STRING) {
echo ' COL_CONTEST_ID : "n/a") . '" class="badge text-bg-light">' . $row->COL_SRX_STRING . '';
}
echo ' | ';
break;
case 'Country':
echo '' . ucwords(strtolower(($row->COL_COUNTRY))) . ' | ';
break;
case 'IOTA':
echo '' . ($row->COL_IOTA) . ' | ';
break;
case 'SOTA':
echo '' . ($row->COL_SOTA_REF) . ' | ';
break;
case 'WWFF':
echo '' . ($row->COL_WWFF_REF) . ' | ';
break;
case 'POTA':
echo '' . ($row->COL_POTA_REF) . ' | ';
break;
case 'Grid':
$CI->load->library('qra');
echo '' . ($CI->qra->echoQrbCalcLink($row->station_gridsquare, $row->COL_VUCC_GRIDS, $row->COL_GRIDSQUARE, true)) . ' | ';
break;
case 'Distance':
echo '' . ($row->COL_DISTANCE ? $row->COL_DISTANCE . ' km' : '') . ' | ';
break;
case 'Band':
echo '';
if ($row->COL_SAT_NAME != null) {
echo ''.$row->COL_SAT_NAME.' | ';
} else {
echo strtolower($row->COL_BAND);
}
echo '';
break;
case 'Frequency':
echo '';
if ($row->COL_SAT_NAME ?? '' != '') {
echo ''.$row->COL_SAT_NAME.' | ';
} else {
if ($row->COL_FREQ != null) {
echo $CI->frequency->qrg_conversion($row->COL_FREQ ?? 0);
} else {
echo strtolower($row->COL_BAND);
}
}
echo '';
break;
case 'State':
echo '' . ($row->COL_STATE) . ' | ';
break;
case 'Operator':
echo '' . ($row->COL_OPERATOR) . ' | ';
break;
}
}
?>
optionslib->get_option('public_maps') ?? 'true';
if ($public_maps_option == 'true') { ?>
| = __("Date"); ?> |
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
= __("Time"); ?> |
= __("Call"); ?> |
session->userdata('user_column1') == "" ? 'Mode' : $this->session->userdata('user_column1'));
echo_table_header_col($this, $this->session->userdata('user_column2') == "" ? 'RSTS' : $this->session->userdata('user_column2'));
echo_table_header_col($this, $this->session->userdata('user_column3') == "" ? 'RSTR' : $this->session->userdata('user_column3'));
echo_table_header_col($this, $this->session->userdata('user_column4') == "" ? 'Band' : $this->session->userdata('user_column4'));
?>
0) {
foreach ($results->result() as $row) { ?>
'; ?>
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/wavelog.php
$custom_date_format = $this->config->item('qso_date_format');
}
?>
COL_TIME_ON);
echo date($custom_date_format, $timestamp); ?> |
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
COL_TIME_ON);
echo date('H:i', $timestamp); ?> |
COL_CALL)); ?>
|
session->userdata('user_column1') == "" ? 'Mode' : $this->session->userdata('user_column1'));
echo_table_col($row, $this->session->userdata('user_column2') == "" ? 'RSTS' : $this->session->userdata('user_column2'));
echo_table_col($row, $this->session->userdata('user_column3') == "" ? 'RSTR' : $this->session->userdata('user_column3'));
echo_table_col($row, $this->session->userdata('user_column4') == "" ? 'Band' : $this->session->userdata('user_column4'));
?>
pagination)) { ?>
';
$config['full_tag_close'] = '';
$config['attributes'] = ['class' => 'page-link'];
$config['first_link'] = false;
$config['last_link'] = false;
$config['first_tag_open'] = '
';
$config['first_tag_close'] = '';
$config['prev_link'] = '«';
$config['prev_tag_open'] = '
';
$config['prev_tag_close'] = '';
$config['next_link'] = '»';
$config['next_tag_open'] = '
';
$config['next_tag_close'] = '';
$config['last_tag_open'] = '
';
$config['last_tag_close'] = '';
$config['cur_tag_open'] = '
';
$config['cur_tag_close'] = '(current)';
$config['num_tag_open'] = '
';
$config['num_tag_close'] = '';
$this->pagination->initialize($config);
?>
pagination->create_links(); ?>
| = __("QSOs Breakdown"); ?> |
| = __("Total"); ?> |
|
| = __("Year"); ?> |
|
| = __("Month"); ?> |
|
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_qsl_sent != 0 || $total_qsl_rcvd != 0 || $total_qsl_requested != 0)) { ?>
| = __("QSL Cards"); ?> |
| = __("Sent"); ?> |
|
| = __("Received"); ?> |
|
| = __("Requested"); ?> |
|
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_eqsl_sent != 0 || $total_eqsl_rcvd != 0)) { ?>
| = __("eQSL Cards"); ?> |
| = __("Sent"); ?> |
|
| = __("Received"); ?> |
|
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_lotw_sent != 0 || $total_lotw_rcvd != 0)) { ?>
| = __("Logbook of the World"); ?> |
| = __("Sent"); ?> |
|
| = __("Received"); ?> |
|