isDebugMode()) { echo '
#Datum:'.$datum; echo '
#Limit:'.KM_LIMIT; echo '
#Timeline:'.$timeline; echo '
#Layer:' . $layer; echo '
#MilestoneParameter:' . $msParameter; } // $showTrips = true; if ($getStart != '') { $actualTrip = getTripThisWeek($gps, $rthTest); $rth = true; } else { $actualTrip = getActualTrip($gps, $rthTest); } $alleTrips = getAlleTrips($gps, $rthTest); // if ($rthTest->isAdminMode()) { if ($rthTest->isDebugMode()) { echo '
#admin:'.$admin.' adminkey:'.$adminkey; } } else { // if ($actualTrip == null) { $info .= '
alle Trips' . sizeof($alleTrips); } else { $info .= '
Trip:'; $info .= ' Start: ' . $actualTrip['start']; $info .= ' Stop: ' . $actualTrip['stop']; $info .= ' Beschreibung: ' . $actualTrip['beschreibung']; $info .= ' Private: ' . $actualTrip['private']; if ($actualTrip['private'] == 0 || $rth == true) { // if (defined(DISPLAY_INITIAL) && DISPLAY_INITIAL == 'Aktuell') { // Aktuellen Trip anzeigen $showTrips = false; } } } } if (!$showTrips || $getStart != '') { // $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); // Wenn Wochenansicht, dann Woche bestimmen! $weekStart = 0; // Sonntag $actTripStartDay = date("w", strtotime($actualTrip['start'])); $actTripStartWeek = date("W", strtotime($actualTrip['start'])); $actTripEndDay = date("w", strtotime($actualTrip['stop'])); $actTripEndWeek = date("W", strtotime($actualTrip['stop'])); $w2 = 0; $wArray = array (); for ($w = $actTripStartWeek; $w < $actTripEndWeek +1; $w++) { if ($w == $actTripStartWeek && $w == $actTripEndWeek) { $wArray[$w2] = array ( $actualTrip['start'], $actualTrip['stop'] ); } else if ($w == $actTripStartWeek) { $wArray[$w2] = array ( $actualTrip['start'], "" ); } else if ($w == $actTripEndWeek) { $wArray[$w2] = array ( "", $actualTrip['stop'] ); } else { $wArray[$w2] = array ( "", "" ); } $w2++; } // $geoKoordinaten = getDistanceTrip($gps, $rthTest, $lati, $longi, $timeline, $actualTrip['start'], $actualTrip['stop']); // if ($layer == 'milestones') { $milestones = getMilestonesTrip($gps, $rthTest, $lati, $longi, $timeline, $rthTest, $actualTrip['start'], $actualTrip['stop']); } if ($layer == 'flickr' && false) { $feedRSSUrl = "http://api.flickr.com/services/feeds/geo/?id=" . FLICKR_ID . "&lang=de-de&format=feed-georss"; $feedRSSContents = file_get_contents($feedRSSUrl); $feedRSSData = filterFlickrFeed($feedRSSContents, $gps, $rthTest); $feedFile = 'flickr_feed.xml'; $fp = fopen($feedFile, "w"); fwrite($fp, $feedRSSData); fclose($fp); } //myTracks suchen und auswerten! //$myTracksArray = array (); //include("myTracks/php/2014-08-23 10_59_34.php"); //$myTracksArray[0] = $myTrackVariable; //include("myTracks/php/2014-08-24 10_28_21.php"); //$myTracksArray[1] = $myTrackVariable; //include("myTracks/php/2014-08-25 10_20_51.php"); //$myTracksArray[2] = $myTrackVariable; // $jc5out .= " Welt"; } ?> DJC5
Plate / Nummernschild
Learn more!