result() != NULL) { echo '
'.$this->lang->line('gen_hamradio_callsign').' | ' . $this->lang->line('general_word_date') . ' | '. $this->lang->line('general_word_time') .' | ' . $this->lang->line('gen_hamradio_mode') . ' | ' . $this->lang->line('gen_hamradio_band') . ' | ' . $this->lang->line('gen_hamradio_station') . ' | QSL | '; if ($this->session->userdata('user_eqsl_name') != "") { echo 'eQSL | '; } if($this->session->userdata('user_lotw_name') != "") { echo 'LoTW | '; } echo '|
---|---|---|---|---|---|---|---|---|---|
' . $qsl->COL_CALL . ' | '; echo ''; $timestamp = strtotime($qsl->COL_TIME_ON); echo date($custom_date_format, $timestamp); echo ' | '; echo ''; $timestamp = strtotime($qsl->COL_TIME_ON); echo date('H:i', $timestamp); echo ' | '; echo ''; echo $qsl->COL_SUBMODE==null?$qsl->COL_MODE:$qsl->COL_SUBMODE; echo ' | '; echo ''; if($qsl->COL_SAT_NAME != null) { echo $qsl->COL_SAT_NAME; } else { echo strtolower($qsl->COL_BAND); }; echo ' | '; echo '' . $qsl->station_callsign . ' | '; echo ''; echo 'COL_QSL_SENT != "N") { if ($qsl->COL_QSLSDATE != null) { $timestamp = ' '.date($custom_date_format, strtotime($qsl->COL_QSLSDATE)); } else { $timestamp = ''; } switch ($qsl->COL_QSL_SENT) { case "Y": echo "class=\"qsl-green\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_sent').$timestamp; break; case "Q": echo "class=\"qsl-yellow\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_queued').$timestamp; break; case "R": echo "class=\"qsl-yellow\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_requested').$timestamp; break; case "I": echo "class=\"qsl-grey\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_invalid_ignore').$timestamp; break; default: echo "class=\"qsl-red"; break; } } else { echo "class=\"qsl-red"; } if ($qsl->COL_QSL_SENT_VIA != "") { switch ($qsl->COL_QSL_SENT_VIA) { case "B": echo " (".$this->lang->line('general_word_qslcard_bureau').")"; break; case "D": echo " (".$this->lang->line('general_word_qslcard_direct').")"; break; case "M": echo " (".$this->lang->line('general_word_qslcard_via').": ".($qsl->COL_QSL_VIA!="" ? $qsl->COL_QSL_VIA:"n/a").")"; break; case "E": echo " (".$this->lang->line('general_word_qslcard_electronic').")"; break; } } echo '">▲'; echo 'COL_QSL_RCVD != "N") { if ($qsl->COL_QSLRDATE != null) { $timestamp = ' '.date($custom_date_format, strtotime($qsl->COL_QSLRDATE)); } else { $timestamp = ''; } switch ($qsl->COL_QSL_RCVD) { case "Y": echo "class=\"qsl-green\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_received').$timestamp; break; case "Q": echo "class=\"qsl-yellow\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_queued').$timestamp; break; case "R": echo "class=\"qsl-yellow\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_requested').$timestamp; break; case "I": echo "class=\"qsl-grey\" data-toggle=\"tooltip\" data-original-title=\"".$this->lang->line('general_word_invalid_ignore').$timestamp; break; default: echo "class=\"qsl-red"; break; } } else { echo "class=\"qsl-red"; } if ($qsl->COL_QSL_RCVD_VIA != "") { switch ($qsl->COL_QSL_RCVD_VIA) { case "B": echo " (".$this->lang->line('general_word_qslcard_bureau').")"; break; case "D": echo " (".$this->lang->line('general_word_qslcard_direct').")"; break; case "M": echo " (Manager)"; break; case "E": echo " (".$this->lang->line('general_word_qslcard_electronic').")"; break; } } echo '">▼'; if ($this->session->userdata('user_eqsl_name') != ""){ echo ' | '; echo 'COL_EQSL_QSL_SENT == "Y") { echo "data-original-title=\"".$this->lang->line('eqsl_short')." ".$this->lang->line('general_word_sent'); if ($qsl->COL_EQSL_QSLSDATE != null) { $timestamp = strtotime($qsl->COL_EQSL_QSLSDATE); echo " ".($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-toggle=\"tooltip\""; } echo ' class="eqsl-'; echo ($qsl->COL_EQSL_QSL_SENT=='Y')?'green':'red'; echo '">▲'; echo 'COL_EQSL_QSL_RCVD == "Y") { echo "data-original-title=\"".$this->lang->line('eqsl_short')." ".$this->lang->line('general_word_received'); if ($qsl->COL_EQSL_QSLRDATE != null) { $timestamp = strtotime($qsl->COL_EQSL_QSLRDATE); echo " ".($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-toggle=\"tooltip\""; } echo ' class="eqsl-'; echo ($qsl->COL_EQSL_QSL_RCVD=='Y')?'green':'red'; echo '">▼'; echo ' | '; } if($this->session->userdata('user_lotw_name') != "") { echo ''; echo 'COL_LOTW_QSL_SENT == "Y") { echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_sent'); if ($qsl->COL_LOTW_QSLSDATE != null) { $timestamp = strtotime($qsl->COL_LOTW_QSLSDATE); echo " ".($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-toggle=\"tooltip\""; } echo ' class="lotw-'; echo ($qsl->COL_LOTW_QSL_SENT=='Y')?'green':'red'; echo '">▲'; echo 'COL_LOTW_QSL_RCVD == "Y") { echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_received'); if ($qsl->COL_LOTW_QSLRDATE != null) { $timestamp = strtotime($qsl->COL_LOTW_QSLRDATE); echo " ".($timestamp != '' ? date($custom_date_format, $timestamp) : ''); } echo "\" data-toggle=\"tooltip\""; } echo ' class="lotw-'; echo ($qsl->COL_LOTW_QSL_RCVD=='Y')?'green':'red'; echo '">▼'; echo ' | '; } echo ''; echo ' |