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'); } echo ''; $i = 1; foreach ($intials_array as $line) { $date_as_timestamp = strtotime($line->col_time_on ?? '1970-01-01 00:00:00'); echo ''; } echo '
# ' . __("Date") . ' ' . __("Time") . ' ' . __("Callsign") . ' ' . __("Band") . ' ' . __("Mode") . ' ' . __("Gridsquare") . ' ' . __("Distance") . '
' . $i++ . ' ' . date($custom_date_format, $date_as_timestamp) . ' ' . date('H:i', $date_as_timestamp) . ' col_primary_key . ')>' . $line->col_call . ' ' . $line->col_band . ' ' . (empty($line->col_submode) ? ($line->col_mode ?? '') : $line->col_submode) . ' ' . (empty($line->col_vucc_grids) ? ($line->col_gridsquare ?? '') : $line->col_vucc_grids) . ' '.sprintf("%.01f", (floatval($line->col_distance) * $factor)); echo ' '.$unit.'
'; } else { echo __("No EME QSOs were found."); }