[insert_php]
$eZ_chkin = isset($_REQUEST[‘eZ_chkin’])?$_REQUEST[‘eZ_chkin’]:”;
$eZ_chkout = isset($_REQUEST[‘eZ_chkout’])?$_REQUEST[‘eZ_chkout’]:”;
$eZ_Nights = isset($_REQUEST[‘eZ_Nights’])?$_REQUEST[‘eZ_Nights’]:3;
$eZ_adult = isset($_REQUEST[‘eZ_adult’])?$_REQUEST[‘eZ_adult’]:1;
$eZ_child = isset($_REQUEST[‘eZ_child’])?$_REQUEST[‘eZ_child’]:0;
$eZ_room = isset($_REQUEST[‘eZ_room’])?$_REQUEST[‘eZ_room’]:1;
$calformat = isset($_REQUEST[‘calformat’])?$_REQUEST[‘calformat’]:”;
$promotioncode = isset($_REQUEST[‘promotioncode’])?$_REQUEST[‘promotioncode’]:”;
$HotelId = isset($_REQUEST[‘HotelId’])?$_REQUEST[‘HotelId’]:”;
$HotelId = 537;
if($HotelId==”)
{
echo “Hotel Id Missing “;
exit;
}
if($_SERVER[‘HTTP_HOST’]==’192.168.20.65′)
$host=”http://192.168.20.65″;
else
$host=”http://live.ipms247.com”;
$param=”eZ_chkin=”.$eZ_chkin.”&eZ_chkout=”.$eZ_chkout.”&eZ_Nights=”.$eZ_Nights.”&eZ_adult=”.$eZ_adult.”&eZ_child=”.$eZ_child.”&eZ_room=”.$eZ_room.”&calformat=”.$calformat.”&promotioncode=”.$promotioncode.”&HotelId=”.$HotelId;
$url=$host.”/booking/loadroomlisting.php?”.$param;
[/insert_php]