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 . ''; }; 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 . ''; }; 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': echo strlen($row->COL_GRIDSQUARE) == 0 ? $row->COL_VUCC_GRIDS : $row->COL_GRIDSQUARE; break; case 'Distance': echo ($row->COL_DISTANCE ? $row->COL_DISTANCE . ' km' : ''); break; case 'Band': if ($row->COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo strtolower($row->COL_BAND); }; break; case 'State': echo ($row->COL_STATE); break; case 'Operator': echo ($row->COL_OPERATOR); break; case 'Frequency': $CI =& get_instance(); $CI->load->library('frequency'); if ($row->COL_SAT_NAME != null) { echo ''; if ($row->COL_FREQ != null && $CI->frequency->hz_to_mhz($row->COL_FREQ) != null) { echo ' ' . $row->COL_SAT_NAME . ''; } else { echo $row->COL_SAT_NAME; } echo ''; } else { if ($row->COL_FREQ != null && $CI->frequency->hz_to_mhz($row->COL_FREQ) != null) { echo ' ' . $CI->frequency->hz_to_mhz($row->COL_FREQ) . ''; } else { echo strtolower($row->COL_BAND); } } break; case 'State': echo ($row->COL_STATE); break; case 'Operator': echo ($row->COL_OPERATOR); break; case 'Location': echo ($row->station_profile_name); break; case 'Name': echo ($row->COL_NAME); break; default: echo '(unknown col)'; } } ?>
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?> | '; echo_table_header_col($this->session->userdata('user_column1') == "" ? 'Mode' : $this->session->userdata('user_column1')); echo ''; echo ' | '; echo_table_header_col($this->session->userdata('user_column2') == "" ? 'RSTS' : $this->session->userdata('user_column2')); echo ' | '; echo ''; echo_table_header_col($this->session->userdata('user_column3') == "" ? 'RSTR' : $this->session->userdata('user_column3')); echo ' | '; echo ''; echo_table_header_col($this->session->userdata('user_column4') == "" ? 'Band' : $this->session->userdata('user_column4')); echo ' | '; echo ''; echo_table_header_col($this->session->userdata('user_column5') == "" ? 'Country' : $this->session->userdata('user_column5')); echo ' | '; if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>QSL | session->userdata('user_eqsl_name') != "") { ?>eQSL | session->userdata('user_lotw_name') != "") { ?>LoTW | session->userdata('hasQrzKey') != "") { ?>QRZ | config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?> | 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)); ?> | '; echo_table_col($row, $this->session->userdata('user_column1') == "" ? 'Mode' : $this->session->userdata('user_column1')); echo ''; echo_table_col($row, $this->session->userdata('user_column2') == "" ? 'RSTS' : $this->session->userdata('user_column2')); echo ' | '; echo_table_col($row, $this->session->userdata('user_column3') == "" ? 'RSTR' : $this->session->userdata('user_column3')); echo ' | '; echo_table_col($row, $this->session->userdata('user_column4') == "" ? 'Band' : $this->session->userdata('user_column4')); echo ' | '; echo_table_col($row, $this->session->userdata('user_column5') == "" ? 'Country' : $this->session->userdata('user_column5')); echo ' | '; if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?> COL_PRIMARY_KEY . '" style=\'text-align: center\' class="qsl">'; echo 'COL_QSL_SENT != "N") { if ($row->COL_QSLSDATE != null) { $timestamp = ' ' . date($custom_date_format, strtotime($row->COL_QSLSDATE)); } else { $timestamp = ''; } switch ($row->COL_QSL_SENT) { case "Y": echo "class=\"qsl-green\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_sent') . $timestamp; break; case "Q": echo "class=\"qsl-yellow\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_queued') . $timestamp; break; case "R": echo "class=\"qsl-yellow\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_requested') . $timestamp; break; case "I": echo "class=\"qsl-grey\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_invalid_ignore') . $timestamp; break; default: echo "class=\"qsl-red"; break; } } else { echo "class=\"qsl-red"; } if ($row->COL_QSL_SENT_VIA != "") { switch ($row->COL_QSL_SENT_VIA) { case "B": echo " (" . lang('general_word_qslcard_bureau') . ")"; break; case "D": echo " (" . lang('general_word_qslcard_direct') . ")"; break; case "M": echo " (" . lang('general_word_qslcard_via') . ": " . ($row->COL_QSL_VIA != "" ? $row->COL_QSL_VIA : "n/a") . ")"; break; case "E": echo " (" . lang('general_word_qslcard_electronic') . ")"; break; } } echo '">▲'; echo 'COL_QSL_RCVD != "N") { if ($row->COL_QSLRDATE != null) { $timestamp = ' ' . date($custom_date_format, strtotime($row->COL_QSLRDATE)); } else { $timestamp = ''; } switch ($row->COL_QSL_RCVD) { case "Y": echo "class=\"qsl-green\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_received') . $timestamp; break; case "Q": echo "class=\"qsl-yellow\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_queued') . $timestamp; break; case "R": echo "class=\"qsl-yellow\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_requested') . $timestamp; break; case "I": echo "class=\"qsl-grey\" data-bs-toggle=\"tooltip\" title=\"" . lang('general_word_invalid_ignore') . $timestamp; break; default: echo "class=\"qsl-red"; break; } } else { echo "class=\"qsl-red"; } if ($row->COL_QSL_RCVD_VIA != "") { switch ($row->COL_QSL_RCVD_VIA) { case "B": echo " (" . lang('general_word_qslcard_bureau') . ")"; break; case "D": echo " (" . lang('general_word_qslcard_direct') . ")"; break; case "M": echo " (Manager)"; break; case "E": echo " (" . lang('general_word_qslcard_electronic') . ")"; break; } } echo '">▼'; ?> session->userdata('user_eqsl_name') != "") { echo ''; echo 'COL_EQSL_QSL_SENT == "Y") { echo "title=\"" . lang('eqsl_short') . " " . lang('general_word_sent'); if ($row->COL_EQSL_QSLSDATE != null) { $timestamp = strtotime($row->COL_EQSL_QSLSDATE); echo " " . ($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-bs-toggle=\"tooltip\""; } echo ' class="eqsl-'; echo ($row->COL_EQSL_QSL_SENT == 'Y') ? 'green' : 'red'; echo '">▲'; echo 'COL_EQSL_QSL_RCVD == "Y") { echo "title=\"" . lang('eqsl_short') . " " . lang('general_word_received'); if ($row->COL_EQSL_QSLRDATE != null) { $timestamp = strtotime($row->COL_EQSL_QSLRDATE); echo " " . ($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-bs-toggle=\"tooltip\""; } echo ' class="eqsl-'; echo ($row->COL_EQSL_QSL_RCVD == 'Y') ? 'green' : 'red'; echo '">'; if ($row->COL_EQSL_QSL_RCVD == 'Y') { echo 'COL_PRIMARY_KEY); echo '" data-fancybox="images" data-width="528" data-height="336">▼'; } else { echo '▼'; } echo ''; echo ' | '; } ?> session->userdata('user_lotw_name') != "") { echo ''; echo 'COL_LOTW_QSL_SENT == "Y") { echo "title=\"" . lang('lotw_short') . " " . lang('general_word_sent'); if ($row->COL_LOTW_QSLSDATE != null) { $timestamp = strtotime($row->COL_LOTW_QSLSDATE); echo " " . ($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-bs-toggle=\"tooltip\""; } echo ' class="lotw-'; echo ($row->COL_LOTW_QSL_SENT == 'Y') ? 'green' : 'red'; echo '">▲'; echo 'COL_LOTW_QSL_RCVD == "Y") { echo "title=\"" . lang('lotw_short') . " " . lang('general_word_received'); if ($row->COL_LOTW_QSLRDATE != null) { $timestamp = strtotime($row->COL_LOTW_QSLRDATE); echo " " . ($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-bs-toggle=\"tooltip\""; } echo ' class="lotw-'; echo ($row->COL_LOTW_QSL_RCVD == 'Y') ? 'green' : 'red'; echo '">▼'; echo ' | '; } ?> session->userdata('hasQrzKey') != "") { echo ''; echo 'COL_QRZCOM_QSO_UPLOAD_STATUS == "Y") { echo "title=\"QRZ " . lang('general_word_sent'); if ($row->COL_QRZCOM_QSO_UPLOAD_DATE != null) { $timestamp = strtotime($row->COL_QRZCOM_QSO_UPLOAD_DATE); echo " " . ($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-bs-toggle=\"tooltip\""; } echo ' class="qrz-'; echo ($row->COL_QRZCOM_QSO_UPLOAD_STATUS == 'Y') ? 'green' : 'red'; echo '">▲'; echo 'COL_QRZCOM_QSO_DOWNLOAD_STATUS == "Y") { echo "title=\"QRZ " . lang('general_word_received'); if ($row->COL_QRZCOM_QSO_DOWNLOAD_DATE != null) { $timestamp = strtotime($row->COL_QRZCOM_QSO_DOWNLOAD_DATE); echo " " . ($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-bs-toggle=\"tooltip\""; } echo ' class="qrz-'; echo ($row->COL_QRZCOM_QSO_DOWNLOAD_STATUS == 'Y') ? 'green' : 'red'; echo '">▼'; echo ' | '; } ?> station_callsign)) { ?>station_callsign; ?> | config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
---|