<div id="MYLIST1" class="centertable">
<?php # DIV,P or TD container with an "id" is REQUIRED.
$partner = "AGENCY.DOMAIN"; # replace it by your R24-registered domain name. Required.
$region = "huahin"; # replace "huahin" by whatever region you want to call initially
$defcur = "EUR"; # optional. To set a DEFAULT currency
# $province = NN # optional. Use province code instead of region (alternative to 'region' parameter)
# $sorting = "l"; # optional. To set a DEFAULT sorting [n]=name, [l]=location, [r]rates
# $search = "..."; # optional. Search/filter by a name/location substring (overwrites region and province)
# $promote = "1"; # optional. To filter by recommended and promoted hotels
# $rating = "3"; # optional. To set a star rating range
# $frame = "_self"; # optional. To set a target frame for hotelpages, e.a. same window. Default is _blank
$target = "http://www.sawadee.com/hotel/"; # set your own destination domain for hotel pages
# don't change remaining code below this line
$thispage = "http://".$_SERVER['HTTP_HOST'].$_SERVER["SCRIPT_NAME"]."&ip=".$_SERVER['REMOTE_ADDR']."&cooki=".$_COOKIE['paramsR24'];
$thelink = "http://www.R24DB.com/R24a/R24.php?p=".$partner."&r=".$region."&pv=".$province."&cur=".$defcur."&loc=".urlencode($search);
$thelink .= "&sorts=".$sorting."&promo=".$promote."&stars=".$ratings."&domain=".urlencode($target)."&caller=".$thispage;
echo file_get_contents ($thelink);
?>
</div>
V.2.01 tested on: IE8, FF3 [another version with left alignment is here]
This document ...
Sorry, can't open this: http://www.r24ssl.com/xml/xmlR24.php?p=AGENCY.DOMAIN&r=huahin&c=EUR&s=location,-rate&src=R24modList.php
more of this document