/* Enter paremteres if needed */
$module_id = ""; // Module ID. Leave blank to disable module filter.
$country = "Estonia"; // Default country. Must be defined if the default city is defined.
$city = "Tallinn"; // Default city.
$hid = ""; // Default accomodation ID.
$mode = "all"; // Mode. "all" or "country" or "city" or "minisite"
$lang = "en";
/* DO NOT EDIT ANYTHING BELOW THIS POINT */
$iparams = "";
foreach($_GET as $key => $value){
if($key == «country») $country = $value;
elseif($key == «city») $city = $value;
elseif($key == «hid») $hid = $value;
else $iparams = $iparams . «$key=$value&»;
};
$country = urlencode(ucwords($country));
$city = urlencode(ucwords($city));
$link = $iparams . «mod=$module_id&mode=$mode&country=$country&city=$city&hid=$hid»;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, «https://www.baltroom.com/booking_engine/html.php?$link»);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
echo $output;
curl_close($ch);
?>


