diff --git a/TODO b/TODO
new file mode 100644
index 0000000..a64d90e
--- /dev/null
+++ b/TODO
@@ -0,0 +1 @@
+* Envoi de photo
diff --git a/index.php b/index.php
index 9556c37..0bd09ff 100644
--- a/index.php
+++ b/index.php
@@ -119,8 +119,8 @@
Temps |
".htmlspecialchars($liste_stations[$trajet['start']]['name'])." | ".htmlspecialchars($liste_stations[$trajet['end']]['name'])." | ".(int) $trajet['min']."min ".(int) $trajet['sec']."s | ";
+ for($i = count($data) - 1; $i > max(count($data) - 11, 0); $i--) {
+ echo "".htmlspecialchars($liste_stations[$data[$i]['start']]['name'])." | ".htmlspecialchars($liste_stations[$data[$i]['end']]['name'])." | ".(int) $data[$i]['min']."min ".(int) $data[$i]['sec']."s |
";
}
?>