result() != NULL) { Echo 'The following QSOs were found to have an incorrect CQ zone that this DXCC normally has:'; 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/cloudlog.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 '
Date Time '.$this->lang->line('gen_hamradio_callsign').' ' . $this->lang->line('gen_hamradio_mode') . ' ' . $this->lang->line('gen_hamradio_band') . ' CQ Zone DXCC CQ Zone DXCC ' . $this->lang->line('gen_hamradio_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 '' . $qso->COL_CQZ . '' . $qso->correctcqzone . '' . ucwords(strtolower($qso->COL_COUNTRY), "- (/") . '' . $qso->station_callsign . '
'; ?> ×No duplicate QSO\'s were found.'; } ?>