jQuery(document).ready(function(){ jQuery(\"#logbook_poplight\").dialog({ width: 'auto', modal: true }); $('.dialog').dialog('destroy').remove(); });
"; } if ($_REQUEST['call']) { echo $call; $query = "SELECT t1.id, t1.MyCallsign, date_format(t1.Date, \"%d.%m.%Y\") AS Date, t1.Time, t1.Time_off, t1.Callsign, t1.Band, t1.Frequency, t1.Mode, t1.RSTS, t1.RSTR, t1.QSLS, t1.QSLR, t1.refid, t1.booksid, t1.Prop_Mode, ".$wpdb->prefix."logbookRef.* FROM ".$wpdb->prefix."logbook AS t1 INNER JOIN ".$wpdb->prefix."logbookRef ON t1.refid = ".$wpdb->prefix."logbookRef.id WHERE t1.Callsign = '".$_REQUEST['call']."' ORDER BY Date "; if ($wpdb->get_results($query)) { $call = strtoupper($call); $results = $wpdb->get_results($query); $num_rows = $wpdb -> num_rows; echo "
"; echo ""; echo " "; if (get_option( 'logbook_showMyCallsign' ) == "true") echo ""; if (get_option( 'logbook_showDate' ) == "true") echo ""; if (get_option( 'logbook_showTime' ) == "true") echo ""; if (get_option( 'logbook_showTime_off' ) == "true") echo ""; if (get_option( 'logbook_showCall' ) == "true") echo ""; if (get_option( 'logbook_showBand' ) == "true") echo ""; if (get_option( 'logbook_showFreq' ) == "true") echo ""; if (get_option( 'logbook_showMode' ) == "true") echo ""; if (get_option( 'logbook_showProp_Mode' ) == "true") echo ""; if (get_option( 'logbook_showRSTS' ) == "true") echo ""; if (get_option( 'logbook_showRSTR' ) == "true") echo ""; if (get_option( 'logbook_showQSLS' ) == "true") echo ""; if (get_option( 'logbook_showQSLR' ) == "true") echo ""; if (get_option( 'logbook_showRefNO' ) == "true") echo ""; if (get_option( 'logbook_showRefDesc' ) == "true") echo ""; echo " "; foreach ($results as $result){ echo ""; if (get_option( 'logbook_showMyCallsign' ) == "true") echo ""; if (get_option( 'logbook_showDate' ) == "true") echo ""; if (get_option( 'logbook_showTime' ) == "true") echo ""; if (get_option( 'logbook_showTime_off' ) == "true") echo ""; if (get_option( 'logbook_showCall' ) == "true") echo ""; if (get_option( 'logbook_showBand' ) == "true") echo ""; if (get_option( 'logbook_showFreq' ) == "true") echo ""; if (get_option( 'logbook_showMode' ) == "true") echo ""; if (get_option( 'logbook_showProp_Mode' ) == "true") echo ""; if (get_option( 'logbook_showRSTS' ) == "true") echo ""; if (get_option( 'logbook_showRSTR' ) == "true") echo ""; if (get_option( 'logbook_showQSLS' ) == "true") echo ""; if (get_option( 'logbook_showQSLR' ) == "true") echo ""; if (get_option( 'logbook_showRefNO' ) == "true") echo ""; if (get_option( 'logbook_showRefDesc' ) == "true") echo ""; echo ""; } echo "
Call sign usedDateTime onTime offCallsignBandFrequencyModePropagation ModeRSTsRSTrQSLsQSLrReferenceReference Description
".$result->MyCallsign."".$result->Date."".$result->Time."".$result->Time_off."".$result->Callsign."".$result->Band."".$result->Frequency."".$result->Mode."".$result->Prop_Mode."".$result->RSTS."".$result->RSTR."".$result->QSLS."".$result->QSLR."".$result->refnumber."".$result->refdescription."
"; echo "

WordPress ADIF Log Search Widget

"; echo "
"; logbook_search_form(); } else{ echo "
Sorry, nothing found in the logbook!
"; logbook_search_form(); } } else { logbook_search_form(); } ?>