isDebugMode()) { echo '
#Datum:'.$datum; echo '
#Limit:'.KM_LIMIT; echo '
#Timeline:'.$timeline; echo '
#Layer:' . $layer; echo '
#MilestoneParameter:' . $msParameter; } // if ($buttonClicked) { reactOnButton($gps, $buttonShow, $buttonHide, $rthTest); } // if ($datum != '') { // $geoKoordinaten = getToday($gps, $rthTest); // $geoKoordinaten = getDay($gps, $rthTest, $datum); // $geoKoordinatenLast = getLast($gps, $rthTest); $longi = $geoKoordinatenLast['longitude']; $lati = $geoKoordinatenLast['latitude']; //$timi = europeanDate($geoKoordinatenLast['dateTime']); $timi = showDate($geoKoordinatenLast); // $geoKoordinaten = getDay($gps, $rthTest, $datum); $geoInformationen = getDayInformationen($gps, $rthTest, $datum); $orgKoordinaten = getDistanceTrip($gps, $rthTest, $lati, $longi, 'trip', $datum, $datum); // $datumM = date('Y-m-d', strtotime('-14 day', strtotime($datum))); $datumP = date('Y-m-d', strtotime('+14 day', strtotime($datum))); $orgPMKoordinaten = getDistanceTrip($gps, $rthTest, $lati, $longi, 'trip', $datumM, $datumP); // if ($layer == 'milestones') { $milestones = getMilestonesTrip($gps, $rthTest, $lati, $longi, 'datum', $rthTest, $datum, $datum); $orgMilestones = getMilestonesTrip($gps, $rthTest, $lati, $longi, 'trip', $rthTest, $datum, $datum); $orgPMMilestones = getMilestonesTrip($gps, $rthTest, $lati, $longi, 'trip', $rthTest, $datumM, $datumP); } if ($rthTest->isDebugMode()) { echo '
#longi:'.$longi; echo '
#lati:'.$lati; echo '
OrgK'.$orgKoordinaten; echo '
OrgPMK'.$orgPMKoordinaten; echo '
GeoK'.$geoKoordinaten; echo '
OrgM'.$orgMilestones; echo '
OrgPMM'.$orgPMMilestones; echo '
Mile'.$milestones; } $jc5out .= " Welt"; $jc5points = ''; $jc5points .= '

GPS-Punkte des ' . date('d.m.Y', strtotime($datum)) . '

'; $pagelink = 'http://djc5.de/showday.html?rth=' . $rthGet; if ($rthTest->isDebugMode()) { $pagelink .= '&debug=1'; } $thePreviousDay = date('Ymd', strtotime('-1 day', strtotime($datum))); $thePreviousDayDisplay = date('d.m.Y', strtotime('-1 day', strtotime($datum))); $jc5points .= 'Einen Tag früher: ' . $thePreviousDayDisplay . ''; // $jc5points .= ' oder '; // $theNextDay = date('Ymd', strtotime('+1 day', strtotime($datum))); $theNextDayDisplay = date('d.m.Y', strtotime('+1 day', strtotime($datum))); $jc5points .= 'einen Tag später: ' . $theNextDayDisplay . ''; $koords_array = explode('°',$geoInformationen); $koords_array_size = sizeof($koords_array); // Bestimmen des Zentrum anhand der ausgewaehlten Koordinaten (Achtung: alles doppelt im Array!) $centerpoint = $koords_array[0]; $centerpoint_array = explode('#',$centerpoint); define('CENTER_LATITUDE', $centerpoint_array[10]); define('CENTER_LONGITUDE', $centerpoint_array[12]); // Anzeigen der Informationen zu jedem ausgewaehlten Punkt aus der DB $jc5points .= "
    "; $jc5status = ""; $pointstones = ''; for ($k=0; $k < $koords_array_size; $k++) {# $next_koord = $koords_array[$k]; if ($next_koord != "" and $next_koord != " ") { $next_koord_information_array = explode('#',$next_koord); $follower = $koords_array[$k+1]; $follower_information_array = explode('#',$follower); if ($next_koord_information_array[8] != "STATUS") { $jc5points .= "
  1. " . $next_koord_information_array[0]; $jc5points .= " | " . $next_koord_information_array[10]; $jc5points .= " | " . $next_koord_information_array[12]; $jc5points .= " | " . $next_koord_information_array[18]; $jc5points .= " | " . $next_koord_information_array[8]; if ($pointstones != '') { $pointstones .= ','; } if (($next_koord_information_array[24] + 0) > 0) { $jc5points .= ' | '; // $pointstones .= "[" . $next_koord_information_array[0]; $pointstones .= "," . $next_koord_information_array[10]; $pointstones .= "," . $next_koord_information_array[12]; $pointstones .= "," . ($k + 100); $pointstones .= "," . '14'; $pointstones .= ",'" . $next_koord_information_array[8] . " - HIDDEN'"; $pointstones .= ",'" . $next_koord_information_array[18] . "'"; $pointstones .= "]"; } else { $jc5points .= ' | '; // $pointstones .= "[" . $next_koord_information_array[0]; $pointstones .= "," . $next_koord_information_array[10]; $pointstones .= "," . $next_koord_information_array[12]; $pointstones .= "," . ($k + 100); $pointstones .= "," . '14'; $pointstones .= ",'" . $next_koord_information_array[8] . " - VISIBLE'"; $pointstones .= ",'" . $next_koord_information_array[18] . "'"; $pointstones .= "]"; } $anzeigenParameterStart = '?lat1='.$next_koord_information_array[10].'&lon1='.$next_koord_information_array[12]; $anzeigenParameterStop = '&lat2='.$follower_information_array[10].'&lon2='.$follower_information_array[12]; $jc5points .= ' | anzeigen'; if ($rthTest->isDebugMode()) { $jc5points .= "
    " . $next_koord; } $jc5points .= "
  2. "; } } } $jc5points .= "
"; $jc5points .= $jc5status; if ($milestones != '') { if ($pointstones != '') { $milestones .= ',' . $pointstones; } } else { $milestones = $pointstones; } $milestones = $pointstones; } ?> DJC5
Plate / Nummernschild
Learn more!