Take the grid row out for iframe
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Nov 2015 16:04:11 +0000 (11:04 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Nov 2015 16:04:11 +0000 (11:04 -0500)
page-150.php
style.css

index 714d941..bb12085 100644 (file)
                 get_template_part('parts/bread-crumbs');
                 ?>
             </div>
-            <div class="row">
-                <div id="main-content" class="small-12 columns">
-                        <?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 $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']);
-                        $departure = urlencode($formData['DepartureDate']);
-                        $occupancy = urlencode($formData['Occupancy']);
-                        if ($arrival == NULL || $departure == NULL || $occupancy == NULL){
-                            $arrival   = urlencode(date("m/d/Y", strtotime("+2 days")));
-                            $departure = urlencode(date("m/d/Y", strtotime($arrival. ' +2 days')));
-                            $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 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 $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']);
+                    $departure = urlencode($formData['DepartureDate']);
+                    $occupancy = urlencode($formData['Occupancy']);
+                    if ($arrival == NULL || $departure == NULL || $occupancy == NULL){
+                        $arrival   = urlencode(date("m/d/Y", strtotime("+2 days")));
+                        $departure = urlencode(date("m/d/Y", strtotime($arrival. ' +2 days')));
+                        $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-->
index 8427989..6310d71 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: BigPowderhornLodging
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for BigPowderhornLodging
-Version: 1.0.4
+Version: 1.0.5
 */