<?php
-//include 'class_flight.php';
+include 'class_flight.php';
get_header();
//global $wpdb;
</div>
<?php
// glm_flight::get_flight_data();
-// $flight = new glm_flight();
-// $flight->get_flight_data();
+ $flight = new glm_flight();
+ $flight->get_flight_data();
?>
-<!-- <div id="arrival" class="row">
+ <div id="arrival" class="row">
<div class="small-12 columns">
<h1>Arrivals:</h1>
- <?php //echo $flight->build_arrivals(); ?>
+ <?php echo $flight->build_arrivals(); ?>
+<!--
<table class="footable arrival">
<thead>
<tr>
<td><nobr>On Time</nobr></td>
</tr>
</table>
+-->
</div>
</div>
<div id="depart" class="row">
<div class="small-12 columns">
<h1>Departures:</h1>
- <?php //echo $flight->build_departures(); ?>
+ <?php echo $flight->build_departures(); ?>
+<!--
<table class="footable departure">
<thead>
<tr>
<td><nobr>Departed</nobr></td>
</tr>
</table>
- <?php //echo $flight->last_updated; ?>
+-->
+ <?php echo $flight->last_updated; ?>
</div>
- </div> -->
+ </div>
<div class="row">
<div class="small-12 large-6 columns right">
<div class="row">