1
0
mirror of synced 2025-12-28 00:23:25 +00:00

feat(navigate) navigation available and most usefull features)

This commit is contained in:
Valentin
2024-06-13 00:30:42 +02:00
parent 10825d7598
commit ab210c98fe
15 changed files with 335 additions and 108 deletions

View File

@@ -3,18 +3,23 @@
<thead>
<tr>
<th>Direction</th>
<th>Prochain départ</th>
<th>Prochain suivant</th>
<th>Next train</th>
<th>Following departure</th>
</tr>
</thead>
<tbody>
<?php foreach ($directions as $direction): ?>
<?php
if (empty($finalDirections)) {
echo '<tr><td colspan="3">This train no longer takes passengers</td></tr>';
}
foreach ($finalDirections as $direction):
?>
<tr>
<td><?php echo $direction['direction']; ?></td>
<td><?php echo $direction['next_departure']; ?></td>
<td><?php echo $direction['following_departure']; ?></td>
<td><?php echo htmlspecialchars($direction['direction']); ?></td>
<td><?php echo htmlspecialchars($direction['next_departure']); ?></td>
<td><?php echo htmlspecialchars($direction['following_departure']); ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>