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/cloudlog.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_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); 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_SAT_NAME != null) { ?> COL_SAT_MODE != null) { ?> name != null) { ?> COL_CONT != null) { ?> COL_CONTEST_ID != null) { ?> COL_IOTA != null) { ?> COL_SOTA_REF != null) { ?> COL_WWFF_REF != null) { ?> COL_POTA_REF != null) { ?> COL_SIG != null) { ?> 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_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
COL_BAND; ?>
frequency->hz_to_mhz($row->COL_FREQ); ?>
frequency->hz_to_mhz($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; ?>
qra->distance($row->station_gridsquare, $row->COL_GRIDSQUARE, $measurement_base); switch ($measurement_base) { case 'M': $distance .= " mi"; break; case 'K': $distance .= " km"; break; case 'N': $distance .= " nmi"; break; } echo $distance; ?>
Gridsquare (Multi): COL_VUCC_GRIDS; ?>
: COL_STATE; ?>
: COL_CNTY; ?>
COL_NAME; ?>
COL_COMMENT; ?>
COL_SAT_NAME; ?>
COL_SAT_MODE) == 2 ? (strtoupper($row->COL_SAT_MODE[0]).'/'.strtoupper($row->COL_SAT_MODE[1])) : strtoupper($row->COL_SAT_MODE)); ?>
name)), "- (/"); if (isset($dxccFlag)) { echo " ".$dxccFlag; } if ($row->end != null) { echo ' '.lang('gen_hamradio_deleted_dxcc').''; } ?>
COL_CONT) { case "AF": echo lang('africa'); break; case "AN": echo lang('antarctica'); break; case "AS": echo lang('asia'); break; case "EU": echo lang('europe'); break; case "NA": echo lang('northamerica'); break; case "OC": echo lang('oceania'); break; case "SA": echo lang('southamerica'); break; } ?>
COL_CONTEST_ID; ?>
COL_IOTA; ?>
COL_SOTA_REF; ?>
COL_WWFF_REF; ?>
COL_POTA_REF; ?>
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_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); ?>.

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

eQSL

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

config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
COL_SAT_NAME != null) { $twitter_band_sat = $row->COL_SAT_NAME." \u{1F6F0}\u{FE0F}"; $hashtags = "#hamr #cloudlog #amsat"; } else { $twitter_band_sat = $row->COL_BAND; $hashtags = "#hamr #cloudlog"; } 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 (!isset($distance)) { $twitter_string = urlencode("Just worked ".$row->COL_CALL." "); if ($row->COL_DXCC != 0) { $twitter_string .= urlencode("in ".ucwords(strtolower(($row->COL_COUNTRY)))." "); } $twitter_string .= urlencode("on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags); } else { $twitter_string = urlencode("Just worked ".$row->COL_CALL." "); if ($row->COL_DXCC != 0) { $twitter_string .= urlencode("in ".ucwords(strtolower(($row->COL_COUNTRY)))." "); if (isset($dxccFlag)) { $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 .= urlencode($distancestring." on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags); } ?> session->userdata('user_mastodon_url') != null) { echo ''; } ?>

station_city) { ?> station_country) { ?> COL_OPERATOR) { ?> COL_TX_PWR) { ?> COL_MY_IOTA) { ?> COL_MY_SOTA_REF) { ?> COL_MY_WWFF_REF) { ?> COL_MY_POTA_REF) { ?>
station_callsign; ?>
station_profile_name; ?>
station_gridsquare; ?>
station_city; ?>
station_country)), "- (/"); if ($row->station_end != null) echo ' '.lang('gen_hamradio_deleted_dxcc').''; ?>
COL_OPERATOR; ?>
COL_TX_PWR; ?> W
COL_MY_IOTA; ?>
COL_MY_SOTA_REF; ?>
COL_MY_WWFF_REF; ?>
COL_MY_POTA_REF; ?>

COL_NOTES)) { echo nl2br($row->COL_NOTES); } ?>
config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
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 'eQSL picture'; } ?>
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; } } ?>