Adding old layout and updating Google Map
authorIan Weller <ian@gaslightmedia.com>
Wed, 4 Jan 2017 17:39:13 +0000 (12:39 -0500)
committerIan Weller <ian@gaslightmedia.com>
Wed, 4 Jan 2017 17:39:13 +0000 (12:39 -0500)
I commented out the flight feed code and added back the old sample layout
for the flight feed.  I also added some test content to the interior
Terminal page.

footer.php
front-page.php

index fc83510..16076a0 100644 (file)
@@ -6,7 +6,7 @@
                             <div id="mapContainer" class="text-center small-12 medium-6 columns">
                                 <h2>Getting Here</h2>
 <!--                                <img src="<?php echo esc_url( get_template_directory_uri() ) ;?>/assets/map-fpo.jpg">-->
-                                <div style="width:360px;overflow:hidden;min-height:250px;max-width:100%;margin:0px auto;"><div id="embedded-map-display" style="min-height:250px; width:100%;max-width:100%;"><iframe style="min-height:250px;width:100%;border:0;" frameborder="0" src="https://www.google.com/maps/embed/v1/place?q=Pellston+Regional+Airport,+U.S.+31,+Pellston,+MI,+United+States&key=AIzaSyAN0om9mFmy1QN6Wf54tXAowK4eT0ZUPrU"></iframe></div><a class="google-code" href="https://www.hostingreviews.website/compare/siteground-vs-namecheap" id="authorize-map-data">siteground namecheap</a><style>#embedded-map-display .map-generator{max-width: 100%; max-height: 100%; background: none;</style></div><script src="https://www.hostingreviews.website/google-maps-authorization.js?id=d39797a3-0916-f790-27e2-c4f8b39f290f&c=google-code&u=1458225500" defer="defer" async="async"></script>
+                                <div style="width:360px;overflow:hidden;min-height:250px;max-width:100%;margin:0px auto;"><div id="embedded-map-display" style="min-height:250px; width:100%;max-width:100%;"><iframe style="min-height:250px;width:100%;border:0;" frameborder="0" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2758.6212050244835!2d-84.47651948429129!3d46.25775768816166!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4d3610527f18ebef%3A0xcfdc3e2ab27403d2!2sChippewa+County+International+Airport!5e0!3m2!1sen!2sus!4v1483550737527"></iframe></div><a class="google-code" href="https://www.hostingreviews.website/compare/siteground-vs-namecheap" id="authorize-map-data">siteground namecheap</a><style>#embedded-map-display .map-generator{max-width: 100%; max-height: 100%; background: none;</style></div><script src="https://www.hostingreviews.website/google-maps-authorization.js?id=d39797a3-0916-f790-27e2-c4f8b39f290f&c=google-code&u=1458225500" defer="defer" async="async"></script>
                             </div>
                         </div>
                     </main><!--End of main-->
index 46fe0cf..ad900d6 100644 (file)
@@ -1,7 +1,7 @@
 <?php 
-include 'class_flight.php';
+//include 'class_flight.php';
 get_header(); 
-global $wpdb;
+//global $wpdb;
 
 
 ?>
@@ -14,14 +14,13 @@ 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 class="small-12 columns">
                 <h1>Arrivals:</h1>
-                <?php echo $flight->build_arrivals(); ?>
-<!--
+                <?php //echo $flight->build_arrivals(); ?>
                 <table class="footable arrival">
                     <thead>
                         <tr>
@@ -44,14 +43,12 @@ global $wpdb;
                             <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>
@@ -68,8 +65,7 @@ global $wpdb;
                             <td><nobr>Departed</nobr></td>
                       </tr>
                 </table>
--->
-                <?php echo $flight->last_updated; ?>
+                <?php //echo $flight->last_updated; ?>
             </div>
         </div>
         <div class="row">