num_rows() > 0) { foreach ($query->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'); } ?> config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?> config->item('display_freq') == true) { ?> COL_FREQ != 0) { ?> COL_FREQ_RX != 0) { ?> COL_GRIDSQUARE != null) { ?> COL_GRIDSQUARE != null && strlen($row->COL_GRIDSQUARE) >= 4) { ?> COL_VUCC_GRIDS != null) { ?> qra->distance($row->station_gridsquare, $row->COL_VUCC_GRIDS, $measurement_base, $row->COL_ANT_PATH ?? null); switch ($measurement_base) { case 'M': $distance .= " mi"; break; case 'K': $distance .= " km"; break; case 'N': $distance .= " nmi"; break; } echo $distance; ?> COL_STATE != null) { ?> COL_CNTY != null && $row->COL_CNTY != ",") { ?> COL_NAME != null) { ?> config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?> COL_COMMENT != null) { ?> COL_PROP_MODE != null and $row->COL_PROP_MODE != '') { ?> COL_SAT_NAME != null) { ?> COL_SAT_MODE != null) { ?> COL_ANT_AZ != null) { ?> COL_ANT_EL != null) { ?> name != null) { ?> COL_CONT != null) { ?> contestname != null) { ?> COL_IOTA != null) { ?> COL_SOTA_REF != null) { ?> COL_WWFF_REF != null) { ?> COL_POTA_REF != null) { ?> COL_SIG != null) { ?> COL_SIG) { case "GMA": echo ""; break; default: echo ""; break; } ?> COL_SIG_INFO != null) { ?> COL_SIG) { case "GMA": echo ""; break; case "MQC": echo ""; break; default: echo ""; break; } ?> COL_DARC_DOK != null) { ?> COL_DARC_DOK)) { ?> COL_DARC_DOK)) { ?> COL_DARC_DOK)) { ?> COL_REGION != null) { ?> COL_EMAIL != null) { ?>
COL_TIME_ON); echo date($custom_date_format, $timestamp); $timestamp = strtotime($row->COL_TIME_ON); $time_on = date('H:i', $timestamp); echo " at ".$time_on; ?> COL_TIME_OFF); $time_off = date('H:i', $timestamp); if ($time_on != $time_off) { echo " - ".$time_off; } ?> COL_TIME_ON); echo date($custom_date_format, $timestamp); ?>
COL_CALL)); ?> Lookup <?php echo strtoupper($row->COL_CALL); ?> on QRZ.com Lookup <?php echo strtoupper($row->COL_CALL); ?> on HamQTH Lookup <?php echo strtoupper($row->COL_CALL); ?> on eQSL.cc Clublog Log Search session->userdata('user_show_notes')==1) { ?> " style="margin-left:2px;vertical-align:middle;">
COL_BAND; ?>
frequency->qrg_conversion($row->COL_FREQ); ?>
frequency->qrg_conversion($row->COL_FREQ_RX); ?>
COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE; ?>
COL_RST_SENT; ?> COL_STX) { ?>(COL_STX);?>) COL_STX_STRING) { ?>(COL_STX_STRING;?>)
COL_RST_RCVD; ?> COL_SRX) { ?>(COL_SRX);?>) COL_SRX_STRING) { ?>(COL_SRX_STRING;?>)
Gridsquare: COL_GRIDSQUARE; ?>
COL_ANT_PATH ?? null; $distance = $this->qra->distance($row->station_gridsquare, $row->COL_GRIDSQUARE, $measurement_base, $ant_path); switch ($measurement_base) { case 'M': $distance .= " mi"; break; case 'K': $distance .= " km"; break; case 'N': $distance .= " nmi"; break; } if ($ant_path != null) { switch ($row->COL_ANT_PATH) { case "S": $distance .= ' ' . __("Short Path") . ""; break; case "L": $distance .= ' ' . __("Long Path") . ""; break; case "O": $distance .= ' ' . __("Other Path") . ""; break; case "G": $distance .= ' ' . __("Greyline") . ""; break; default: break; } } echo $distance; ?>
Gridsquare (Multi): COL_VUCC_GRIDS; ?>
: subdivision != '') { echo $row->subdivision.' ('.$row->COL_STATE.')'; } else { echo $row->COL_STATE; } ?>
: COL_CNTY; ?>
COL_NAME; ?>
COL_COMMENT; ?>
COL_PROP_MODE) { case 'AS': echo _pgettext("Propagation Mode", "Aircraft Scatter"); break; case 'AUR': echo _pgettext("Propagation Mode", "Aurora"); break; case 'AUE': echo _pgettext("Propagation Mode", "Aurora-E"); break; case 'BS': echo _pgettext("Propagation Mode", "Back scatter"); break; case 'ECH': echo _pgettext("Propagation Mode", "EchoLink"); break; case 'EME': echo _pgettext("Propagation Mode", "Earth-Moon-Earth"); break; case 'ES': echo _pgettext("Propagation Mode", "Sporadic E"); break; case 'FAI': echo _pgettext("Propagation Mode", "Field Aligned Irregularities"); break; case 'F2': echo _pgettext("Propagation Mode", "F2 Reflection"); break; case 'INTERNET': echo _pgettext("Propagation Mode", "Internet-assisted"); break; case 'ION': echo _pgettext("Propagation Mode", "Ionoscatter"); break; case 'IRL': echo _pgettext("Propagation Mode", "IRLP"); break; case 'MS': echo _pgettext("Propagation Mode", "Meteor scatter"); break; case 'RPT': echo _pgettext("Propagation Mode", "Terrestrial or atmospheric repeater or transponder"); break; case 'RS': echo _pgettext("Propagation Mode", "Rain scatter"); break; case 'SAT': echo _pgettext("Propagation Mode", "Satellite"); break; case 'TEP': echo _pgettext("Propagation Mode", "Trans-equatorial"); break; case 'TR': echo _pgettext("Propagation Mode", "Tropospheric ducting"); break; default: echo __("unknown"); break; } ?>
sat_displayname != null) { echo $row->sat_displayname." (".$row->COL_SAT_NAME.")"; } else { echo $row->COL_SAT_NAME; } ?>
COL_SAT_MODE) == 2 ? (strtoupper($row->COL_SAT_MODE[0]).'/'.strtoupper($row->COL_SAT_MODE[1])) : strtoupper($row->COL_SAT_MODE)); ?>
COL_ANT_AZ, 1); ?>°
COL_ANT_EL, 1); ?>°
adif == '0') { echo $row->name; } else { echo ucwords(strtolower(($row->name)), "- (/"); if ($dxccFlag != null) { echo " ".$dxccFlag; } if ($row->end != null) { echo ' '.__("Deleted DXCC").''; } } ?>
COL_CONT) { case "AF": echo __("Africa"); break; case "AN": echo __("Antarctica"); break; case "AS": echo __("Asia"); break; case "EU": echo __("Europe"); break; case "NA": echo __("North America"); break; case "OC": echo __("Oceania"); break; case "SA": echo __("South America"); break; } ?>
contestname; ?>
COL_IOTA; ?>
COL_SOTA_REF; ?>
COL_WWFF_REF; ?>
COL_POTA_REF); $link_output = ''; foreach ($pota_refs as $pota_ref) { $pota_ref = trim($pota_ref); if (!empty($pota_ref)) { $link_output .= '' . $pota_ref . ', '; } } $link_output = rtrim($link_output, ', '); echo $link_output; ?>
".$row->COL_SIG."".$row->COL_SIG."
COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."COL_SIG_INFO."\" target=\"_blank\">".$row->COL_SIG_INFO."".$row->COL_SIG_INFO."
COL_DARC_DOK; ?> COL_DARC_DOK; ?> COL_DARC_DOK; ?> COL_DARC_DOK; ?>
logbook_model->getLongRegion($row->COL_REGION).' ('.$row->COL_REGION.')'; ?>
COL_EMAIL; ?>
COL_QSL_SENT == "Y" || $row->COL_QSL_RCVD == "Y") { ?>

COL_QSL_SENT == "Y") {?> COL_QSL_SENT_VIA == "B") { ?>

COL_QSL_SENT_VIA == "D") { ?>

COL_QSL_SENT_VIA == "E") { ?>

COL_QSL_SENT_VIA == "M") { ?>

COL_QSLSDATE != null) { ?> COL_QSLSDATE); echo " (".date($custom_date_format, $timestamp).")"; ?>

COL_QSL_RCVD == "Y") { ?> COL_QSL_RCVD_VIA == "B") { ?>

COL_QSL_RCVD_VIA == "D") { ?>

COL_QSL_RCVD_VIA == "E") { ?>

COL_QSL_RCVD_VIA == "M") { ?>

COL_QSLRDATE != null) { ?> COL_QSLRDATE); echo " (".date($custom_date_format, $timestamp).")"; ?>

lotwuser != null) { ?>

: '; ?>lastupload); echo date($custom_date_format, $timestamp); $timestamp = strtotime($row->lastupload); echo " ".date('H:i', $timestamp);?> UTC.

COL_LOTW_QSL_RCVD == "Y" && $row->COL_LOTW_QSLRDATE != null) { ?>

COL_LOTW_QSLRDATE); echo date($custom_date_format, $timestamp); if (date('H:i', $timestamp) != '00:00') { echo " ".date('H:i', $timestamp);?> UTC.

COL_LOTW_QSL_RCVD == "Y" && $row->COL_LOTW_QSLRDATE == null) { ?>

COL_EQSL_QSL_RCVD == "Y" && $row->COL_EQSL_QSLRDATE != null) { ?>

eQSL

COL_EQSL_QSLRDATE); echo date($custom_date_format, $timestamp); ?>. COL_QSLMSG_RCVD)) { ?>
: COL_QSLMSG_RCVD); ?>

COL_EQSL_QSL_RCVD == "Y" && $row->COL_EQSL_QSLRDATE == null) { ?>

eQSL

COL_QRZCOM_QSO_DOWNLOAD_STATUS == "Y" && $row->COL_QRZCOM_QSO_DOWNLOAD_DATE != null) { ?>

QRZ.com

COL_QRZCOM_QSO_DOWNLOAD_DATE); echo date($custom_date_format, $timestamp); ?>.

COL_QRZCOM_QSO_DOWNLOAD_STATUS == "Y" && $row->COL_QRZCOM_QSO_DOWNLOAD_DATE == null) { ?>

QRZ.com

COL_CLUBLOG_QSO_DOWNLOAD_STATUS == "Y" && $row->COL_CLUBLOG_QSO_DOWNLOAD_DATE != null) { ?>

COL_CLUBLOG_QSO_DOWNLOAD_DATE); echo date($custom_date_format, $timestamp); ?>.

COL_CLUBLOG_QSO_DOWNLOAD_STATUS == "Y" && $row->COL_CLUBLOG_QSO_DOWNLOAD_DATE == null) { ?>

COL_DCL_QSL_RCVD == "Y" && $row->COL_DCL_QSLRDATE != null) { ?>

COL_DCL_QSLRDATE); echo date($custom_date_format, $timestamp); ?>.

COL_DCL_QSL_RCVD == "Y" && $row->COL_DCL_QSLRDATE == null) { ?>

config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
COL_PRIMARY_KEY)) { ?>
COL_SAT_NAME != null) { $twitter_band_sat = $row->COL_SAT_NAME." \u{1F6F0}\u{FE0F}"; if($row->COL_ANT_EL != null && $row->COL_ANT_AZ != null ) { $twitter_band_sat .= " (".$row->COL_ANT_EL."° el / ".$row->COL_ANT_AZ."° az)"; } $hashtags = "#hamr #wavelog #amsat"; } else { $twitter_band_sat = $row->COL_BAND; $hashtags = "#hamr #wavelog"; } if($row->COL_IOTA != null) { $hashtags .= " #IOTA ".$row->COL_IOTA; } if($row->COL_SOTA_REF != null) { $hashtags .= " #SOTA ".$row->COL_SOTA_REF; } if($row->COL_POTA_REF != null) { $hashtags .= " #POTA ".$row->COL_POTA_REF; } if($row->COL_WWFF_REF != null) { $hashtags .= " #WWFF ".$row->COL_WWFF_REF; } if($row->COL_SIG != null && $row->COL_SIG_INFO != null) { $hashtags .= " #".$row->COL_SIG." ".$row->COL_SIG_INFO; } if($row->COL_MODE == "CW") { $hashtags .= " #cwfe"; } if (!isset($distance)) { $twitter_string = "Just worked ".$row->COL_CALL." "; if ($row->COL_DXCC != 0) { $twitter_string .= "in ".ucwords(strtolower(($row->COL_COUNTRY)))." "; } $twitter_string .= "on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags; } else { $twitter_string = "Just worked ".$row->COL_CALL." "; if ($row->COL_DXCC != 0) { $twitter_string .= "in ".ucwords(strtolower(($row->COL_COUNTRY)))." "; if ($dxccFlag != null) { $twitter_string .= $dxccFlag." "; } } $distancestring = ''; if ($row->COL_VUCC_GRIDS == null) { $distancestring = "(Gridsquare: ".$row->COL_GRIDSQUARE." / distance: ".$distance.")"; } else { if (substr_count($row->COL_VUCC_GRIDS, ',') == 1) { $distancestring = "(Gridline: ".preg_replace('/\s+/', '', $row->COL_VUCC_GRIDS)." / distance: ".$distance.")"; } else if (substr_count($row->COL_VUCC_GRIDS, ',') == 3) { $distancestring = "(Gridcorner: ".preg_replace('/\s+/', '', $row->COL_VUCC_GRIDS)." / distance: ".$distance.")"; } else { $distancestring = "(Grids: ".$row->COL_VUCC_GRIDS.")"; } } $twitter_string .= $distancestring." on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags; } ?>

station_city) { ?> station_country) { ?> COL_OPERATOR) { ?> COL_TX_PWR) { ?> station_iota) { ?> station_sota) { ?> station_wwff) { ?> station_pota) { ?> station_sig) { ?>
station_callsign)); ?>
station_profile_name; ?>
station_gridsquare; ?>
station_city; ?>
station_country)), "- (/"); if ($row->station_end != null) echo ' '.__("Deleted DXCC").''; ?>
COL_OPERATOR; ?>
COL_TX_PWR; ?> W
station_iota; ?>
station_sota; ?>
station_wwff; ?>
station_pota; ?>
station_sig; ?>
station_sig_info; ?>

COL_NOTES)) { echo nl2br($row->COL_NOTES); } ?>
config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
config->item('disable_qsl') ?? false)) { if (count($qslimages) > 0) { echo ''; foreach ($qslimages as $qsl) { echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
' . __("QSL image file") . '
' . $qsl->filename . '
'; } ?>

load->view('qslcard/qslcarousel', $qslimages); ?>
eqsl_image_file != null) { echo '' . __('; } ?>
COL_GRIDSQUARE != null && strlen($row->COL_GRIDSQUARE) >= 4) { $stn_loc = $this->qra->qra2latlong(trim($row->COL_GRIDSQUARE)); if($stn_loc[0] != 0) { $lat = $stn_loc[0]; $lng = $stn_loc[1]; } } elseif($row->COL_VUCC_GRIDS != null) { $grids = explode(",", $row->COL_VUCC_GRIDS); if (count($grids) == 2) { $grid1 = $this->qra->qra2latlong(trim($grids[0])); $grid2 = $this->qra->qra2latlong(trim($grids[1])); $coords[]=array('lat' => $grid1[0],'lng'=> $grid1[1]); $coords[]=array('lat' => $grid2[0],'lng'=> $grid2[1]); $midpoint = $this->qra->get_midpoint($coords); $lat = $midpoint[0]; $lng = $midpoint[1]; } if (count($grids) == 4) { $grid1 = $this->qra->qra2latlong(trim($grids[0])); $grid2 = $this->qra->qra2latlong(trim($grids[1])); $grid3 = $this->qra->qra2latlong(trim($grids[2])); $grid4 = $this->qra->qra2latlong(trim($grids[3])); $coords[]=array('lat' => $grid1[0],'lng'=> $grid1[1]); $coords[]=array('lat' => $grid2[0],'lng'=> $grid2[1]); $coords[]=array('lat' => $grid3[0],'lng'=> $grid3[1]); $coords[]=array('lat' => $grid4[0],'lng'=> $grid4[1]); $midpoint = $this->qra->get_midpoint($coords); $lat = $midpoint[0]; $lng = $midpoint[1]; } } else { if(isset($row->lat)) { $lat = $row->lat; } else { $lat = 0; } if(isset($row->long)) { $lng = $row->long; } else { $lng = 0; } } ?>