Rental Terms & Conditions

Welcome to our terms and conditions of all our rentals.

This is important and affects your legal rights and obligations, so please read them and other terms referenced in this document carefully. Each guest must affirm via electronically or verbally agreement to these terms and conditions and becomes legal binding at the point the reservation is secured by payment. Booking through a 3rd party does not waive SkyRun’s rights under these terms and  conditions.

[[?php

// CODE BLOCK to set:
// $db = connection to mysql
// $JConfig = joomla environment array
// $location = skyrun location info array from srms_location database (new way of storing)
//
// some commonly used variables:
// $location->database = database where legacy data lives
// $location->loc_abbrev."joomla" = database for v3 data (TSTLjoomla or TXHCjoomla for example)
// $location->website_path = path (/var/www/vhosts/skyrun.com/etc) to root for site.

// get joomla configuration
$debug = 0;
if (array_key_exists('debug',$_REQUEST)) $debug = $_REQUEST['debug'];
require_once ('configuration.php' );
$JConfig = new JConfig();

// get access to db using the joomla configuration file from the domain where the script is executing
$db = new mysqli($JConfig->host, $JConfig->user, $JConfig->password, $JConfig->db);
if ($db->connect_error) {
$sqloutput .= "error: " . $db->connect_error;
die($sqloutput);
};
// lookup location info based on domain script is executing
$domain = $_SERVER['SERVER_NAME'];
if (substr($domain,0,2) == 'v3') $domain = substr($domain, 2);
$query = "select * from skyrunjoomla.srms_locations l
left join skyrunjoomla.srms_location_text t on l.id = t.location_id
where lower(`website`)='".$domain."';";
if ($debug) echo $query.'
';
$result = $db->query($query);
if (!$result) {
die("query ".$query." failed: " . $db->error);
};
$location = $result->fetch_object();

echo nl2br($location->terms);
?]]{/skycode}

SkyRun Destin | 30A

174 Watercolor Way #103
Santa Rosa Beach, FL 32459
850-460-3410

Sign Up for Our Special Promotions

Subscribe for special offers and updates on Destin and 30A Events.

{rsform 4}
Log in
Register