From: Steve Sutton Date: Fri, 20 Nov 2015 16:04:11 +0000 (-0500) Subject: Take the grid row out for iframe X-Git-Tag: v1.0.5^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=b3ec32efc2a355c0cedfb7201767d0643bcb56c0;p=WP-Themes%2Fbpla.git Take the grid row out for iframe --- diff --git a/page-150.php b/page-150.php index 714d941..bb12085 100644 --- a/page-150.php +++ b/page-150.php @@ -12,47 +12,45 @@ get_template_part('parts/bread-crumbs'); ?> -
-
- - - -

- - 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}";?> - -
+
+ + + +

+ + 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}";?> +
diff --git a/style.css b/style.css index 8427989..6310d71 100644 --- 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 */