result() != NULL) { echo __("The following QSOs were found to have an incorrect ITU zone that this DXCC normally has (a maximum of 5000 QSOs are shown):"); echo ''; // Get Date format 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/wavelog.php $custom_date_format = $this->config->item('qso_date_format'); } $i = 0; foreach ($qsos->result() as $qso) { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
' . __("Date") . ' ' . __("Time") . ' ' . __("Callsign") . ' ' . __("Mode") . ' ' . __("Band") . ' ' . __("Gridsquare") . ' ' . __("ITU Zone") . ' ' . __("DXCC ITU Zone") . ' ' . __("DXCC") . ' ' . __("Station") . '
'; $timestamp = strtotime($qso->COL_TIME_ON); echo date($custom_date_format, $timestamp); echo ''; $timestamp = strtotime($qso->COL_TIME_ON); echo date('H:i', $timestamp); echo '' . str_replace("0","Ø",strtoupper($qso->COL_CALL)) . ''; echo $qso->COL_SUBMODE==null?$qso->COL_MODE:$qso->COL_SUBMODE; echo ''; if($qso->COL_SAT_NAME != null) { echo $qso->COL_SAT_NAME; } else { echo strtolower($qso->COL_BAND); }; echo ''; echo strlen($qso->COL_GRIDSQUARE ?? '')==0?$qso->COL_VUCC_GRIDS:$qso->COL_GRIDSQUARE; echo '' . $qso->COL_ITUZ . '' . $qso->correctituzone . '' . ucwords(strtolower($qso->COL_COUNTRY), "- (/") . '' . $qso->station_callsign . '
'; ?> ' . __("No incorrect CQ Zones were found.") . ''; } ?>