Added occupancy default number to 1 in the reservation form
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Oct 2015 18:32:14 +0000 (14:32 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 30 Oct 2015 18:32:14 +0000 (14:32 -0400)
page-150.php

index 84185d7..69c3ba2 100644 (file)
                             if ($arrival == NULL || $departure == NULL){
                                 $arrival = date("m/d/Y", strtotime("+2 days"));
                                 $departure = date("m/d/Y", strtotime($arrival. ' +2 days'));
+                                $occupancy = 1;
                             }
                              //$arrival = date("m/d/Y", strtotime("+2 days"));
                             ?>
-                        <iframe name="res_frame" src="https://weblink.instantsoftware.com/widgetsearch/1134?PropertyLocation=<?php echo urlencode($_REQUEST['PropertyLocation']); ?> &ArrivalDate=<?php echo $arrival ?> &DepartureDate= <?php echo $departure ?>&Occupancy=<?php echo urlencode($_REQUEST['Occupancy']); ?>" height="3300" id="res_frame" width="100%" frameborder="0"></iframe>
+                        <iframe name="res_frame" src="https://weblink.instantsoftware.com/widgetsearch/1134?PropertyLocation=<?php echo urlencode($_REQUEST['PropertyLocation']); ?> &ArrivalDate=<?php echo $arrival ?> &DepartureDate= <?php echo $departure ?>&Occupancy= $occupancy ?>" height="3300" id="res_frame" width="100%" frameborder="0"></iframe>
                 </div>
             </div>
         </div>