removed an unneeded page template.
authorIan Weller <ian@gaslightmedia.com>
Tue, 27 Jun 2017 13:55:33 +0000 (09:55 -0400)
committerIan Weller <ian@gaslightmedia.com>
Tue, 27 Jun 2017 13:55:33 +0000 (09:55 -0400)
I removed a page template that is no longer needed.

page-150.php [deleted file]

diff --git a/page-150.php b/page-150.php
deleted file mode 100644 (file)
index 68037d8..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php get_header(); ?>
-<main class="page-inside">
-    <div id="head-img">
-        <?php echo glm_get_background(); ?>
-    </div>
-        <div id="content-wrapper">
-            <div class="row">
-                <div class="tag small-11 small-centered columns">
-                    <img class="show-for-small-down" src="<?php echo get_template_directory_uri(); ?>/assets/tagline.jpg">
-                </div>
-                <?php
-                get_template_part('parts/bread-crumbs');
-                ?>
-            </div>
-            <div id="main-content">
-                    <?php if(have_posts()) : while(have_posts()): the_post();?>
-                    <?php the_content();?>
-                    <?php endwhile; else:?>
-                    <p><?php _e('Sorry, no results found.');?></p>
-                    <?php endif;?>
-                    <?php
-                    $formData2 = filter_var_array(
-                        $_POST,
-                        array(
-                            'ArrivalDate'   => array(
-                                'filter'  => FILTER_VALIDATE_REGEXP,
-                                'options' => array(
-                                    'regexp' => '%[0-9]{4}-[0-9]{2}-[0-9]{2}%'
-                                )
-                            ),
-                            'DepartureDate' => array(
-                                'filter'  => FILTER_VALIDATE_REGEXP,
-                                'options' => array(
-                                    'regexp' => '%[0-9]{4}-[0-9]{2}-[0-9]{2}%'
-                                )
-                            ),
-                        )
-                    );
-                    $formData = filter_var_array(
-                        $_POST,
-                        array(
-                            'ArrivalDate'   => array(
-                                'filter'  => FILTER_VALIDATE_REGEXP,
-                                'options' => array(
-                                    'regexp' => '%[0-9]{2}/[0-9]{2}/[0-9]{4}%'
-                                )
-                            ),
-                            'DepartureDate' => array(
-                                'filter'  => FILTER_VALIDATE_REGEXP,
-                                'options' => array(
-                                    'regexp' => '%[0-9]{2}/[0-9]{2}/[0-9]{4}%'
-                                )
-                            ),
-                            'Occupancy'    => FILTER_VALIDATE_INT,
-                            'Location'     => array(
-                                'filter' => FILTER_SANITIZE_STRING,
-                                'flags'  => FILTER_FLAG_NO_ENCODE_QUOTES
-                            ),
-                        )
-                    );
-                    $location  = urlencode($formData['Location']);
-                    $arrival   = urlencode($formData['ArrivalDate']);
-                    if ($formData2['ArrivalDate']) {
-                        $arrival = urlencode( date( "m/d/Y", strtotime( $formData2['ArrivalDate'] ) )  );
-                    }
-                    $departure = urlencode($formData['DepartureDate']);
-                    if ($formData2['DepartureDate']) {
-                        $departure = urlencode( date( "m/d/Y", strtotime( $formData2['DepartureDate'] ) )  );
-                    }
-                    $occupancy = urlencode($formData['Occupancy']);
-                    if ($arrival == NULL || $departure == NULL){
-                        $arrival   = urlencode(date("m/d/Y", strtotime("+3 days")));
-                        $departure = urlencode(date("m/d/Y", strtotime($arrival. ' +3 days')));
-                    }
-                    if ($occupancy == NULL){
-                        $occupancy = urlencode(1);
-                    }
-                    $iframeSrc = "https://weblink.instantsoftware.com/search/1134?ArrivalDate={$arrival}&DepartureDate={$departure}&Occupancy={$occupancy}&Location={$location}";?>
-                    <iframe name="res_frame" src="<?php echo $iframeSrc;?>" height="900" id="res_frame" width="100%" frameborder="0"></iframe>
-            </div>
-        </div>
-</main><!--End of main-->
-<?php get_footer(); ?>