result() != NULL) { Echo 'The following QSOs were found on the same band, mode, date and time difference 30 minutes:'; 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 '
Occurrence '.lang('gen_hamradio_callsign').' Min date Min time Max date Max time ' . lang('gen_hamradio_mode') . ' ' . lang('gen_hamradio_band') . ' ' . lang('gen_hamradio_station') . '
' . $qso->occurence . '
' . $qso->COL_CALL . '
'; $timestamp = strtotime($qso->Mintime); echo date($custom_date_format, $timestamp); echo ''; $timestamp = strtotime($qso->Mintime); echo date('H:i', $timestamp); echo ''; $timestamp = strtotime($qso->Maxtime); echo date($custom_date_format, $timestamp); echo ''; $timestamp = strtotime($qso->Maxtime); echo date('H:i', $timestamp); echo ''; 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->station_callsign . '
'; ?> No duplicate QSO\'s were found.'; } ?>