diff --git a/application/views/awards/pota/index.php b/application/views/awards/pota/index.php index 65d4abe8..a5f2b942 100644 --- a/application/views/awards/pota/index.php +++ b/application/views/awards/pota/index.php @@ -4,39 +4,50 @@ 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'); + } ?> -
| Reference | -Date/Time | -Callsign | -Band | -RST Sent | -RST Received | +lang->line('gen_hamradio_pota_reference') ?> | +lang->line('general_word_date') ?> | +lang->line('general_word_time') ?> | +lang->line('gen_hamradio_callsign') ?> | +lang->line('gen_hamradio_band') ?> | +lang->line('gen_hamradio_rsts') ?> | +lang->line('gen_hamradio_rstr') ?> |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - COL_POTA_REF; ?> - | -COL_TIME_ON); echo date('d/m/y', $timestamp); ?> - COL_TIME_ON); echo date('H:i', $timestamp); ?> | -COL_CALL; ?> | -COL_BAND; ?> | -COL_RST_SENT; ?> | -COL_RST_RCVD; ?> | +COL_POTA_REF; ?> | +COL_TIME_ON); echo date($custom_date_format, $timestamp); ?> | +COL_TIME_ON); echo date('H:i', $timestamp); ?> | +COL_CALL; ?> | +COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo $row->COL_BAND; } ?> | +COL_RST_SENT; ?> | +COL_RST_RCVD; ?> |