-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfleet.php
More file actions
28 lines (26 loc) · 863 Bytes
/
fleet.php
File metadata and controls
28 lines (26 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
$pageTitle = "Melbourne's tram fleet";
$pageDescription = "Tracking the trams of Melbourne";
require_once('includes/Header.php');
include_once('includes/melb-tram-fleet/functions.php');
?>
<p>This should list all trams currently in service with Yarra Trams on the Melbourne tramway network.</p>
<p>Search for tram photos at <a href="http://railgallery.wongm.com/">http://railgallery.wongm.com/</a>.</p>
<ul>
<?php
foreach ($melbourne_trams as $class => $classData)
{
echo "<li><p>$class class:</p><ul>";
foreach ($classData['trams'] as $tram_number)
{
$tram = $class . '.' . $tram_number;
echo '<li><a href="http://railgallery.wongm.com/page/search/' . $tram . '">' . $tram . '</a>';
}
echo "</ul></li>";
}
?>
</ul>
<a href="/">Home</a>
<?php
require_once('includes/Footer.php');
?>