Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Nov 1, 2019
1 parent f9ca772 commit 55f541b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion flightid-overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@

require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.ACARS.php');
require_once('require/class.Language.php');
require_once('require/class.SpotterArchive.php');
$ACARS = new ACARS();
$Spotter = new Spotter();
$SpotterArchive = new SpotterArchive();
$spotter_array = $Spotter->getSpotterDataByID($id);
Expand Down Expand Up @@ -603,6 +605,15 @@
print '</div>';
print '</div>';
}
$LatestACARS = $ACARS->getLiveAcarsData($spotter_item['ident']);
if ($LatestACARS != '') {
print '<div class="detail acars">';
print '<div class="title">'._("Latest ACARS message").'</div>';
print '<div>';
print $LatestACARS;
print '</div>';
print '</div>';
}
print '</div>';
}
print '</div>';
Expand Down Expand Up @@ -644,7 +655,7 @@
$title = "ID";
require_once('header.php');
print '<h1>'._("Error").'</h1>';
print '<p>'._("Sorry, this flight is not in the database. :(").'</p>';
print '<p>'._("Sorry, this flight is not anymore in the database. :(").'</p>';
}
require_once('footer.php');
?>
1 change: 1 addition & 0 deletions robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Disallow: /install
Disallow: /db
Disallow: /data
Disallow: /require
Disallow: /search

0 comments on commit 55f541b

Please sign in to comment.