$spotter_array = $Spotter->getSpotterDataByIdent($_GET['ident'], $limit_start . "," . $absolute_difference);
 }
 if (!empty($spotter_array)) {
     $title = 'Detailed View for ' . $spotter_array[0]['ident'];
     $ident = $spotter_array[0]['ident'];
     if (isset($spotter_array[0]['latitude'])) {
         $latitude = $spotter_array[0]['latitude'];
     }
     if (isset($spotter_array[0]['longitude'])) {
         $longitude = $spotter_array[0]['longitude'];
     }
     require 'header.php';
     if (isset($globalArchive) && $globalArchive) {
         // Requirement for altitude graph
         print '<script type="text/javascript" src="https://www.google.com/jsapi"></script>';
         $all_data = $SpotterArchive->getAltitudeSpeedArchiveSpotterDataById($spotter_array[0]['flightaware_id']);
         if (isset($globalTimezone)) {
             date_default_timezone_set($globalTimezone);
         } else {
             date_default_timezone_set('UTC');
         }
         if (count($all_data) > 0) {
             print '<div id="chart6" class="chart" width="100%"></div>
                 <script> 
                     google.load("visualization", "1.1", {packages:["line","corechart"]});
                   google.setOnLoadCallback(drawChart6);
                   function drawChart6() {
                     var data = google.visualization.arrayToDataTable([
                         ["Hour","Altitude","Speed"], ';
             $altitude_data = '';
             foreach ($all_data as $data) {