"; $fd=fopen("$scriptfile","r"); while (!feof ($fd)) { $buffer = fgets($fd, 4096); echo $buffer; } fclose ($fd); echo ""; $fd = fopen ("$file", "r"); while (!feof ($fd)) { $buffer = fgets($fd, 4096); echo $buffer; } fclose ($fd); ?> 1)?"$diff nights":"$diff night"; $displaydatefrom=mysql_result($result,0,"displaydatefrom"); $displaydateto=mysql_result($result,0,"displaydateto"); include( "rax.phtml"); # Create new RAX objectS $rax = new RAX(); $rec = new RAX(); # Open the XML document $rax->openfile($file); # Select the individual record delimiter $rax->record_delim = 'room'; # Start parsing the XML document $rax->parse(); # Read the first record $rec=$rax->readRecord(); if (!$rec){include("xml2.phtml");} else { $x=1; ?> \n";} echo "
Hotel Prices Print | Close
Rates in USD PER ROOM PER NIGHT including tax
between
Hotel rooms subject to availablity at time of booking
Click at the price to book, Or if you have any inquire press Contact us
getRow(); $hotel=$row["hotel"]; $sfrom=$row["sfrom"]; $displaydatefrom=$row["displaydatefrom"]; $displaydateto = $row["displaydateto"]; $sto=$row["sto"]; $twin=number_format($row["twin"],2); $single=number_format($row["single"],2); $triple=number_format($row["triple"],2); $quad=number_format($row["quad"],2); $twinchild=number_format($row["twinchild"],2); $cot=$row["cot"]; $bfst=$row["bfst"]; $bfst=($boarddes[$bfst])?($boarddes[$bfst]):(""); $bfst=MyFormat("",$bfst); $pricenote=MyFormat("",$row["pricenote"]); $country=$row["country"]; $city=$row["city"]; $category=str_repeat("* ",$row["category"]); $location=MyFormat("
Location: ",$row["location"]); $note=MyFormat("
Note: ",$row["note"]); $currency=$row["currency"]; $class=MyFormat("
Rooms: ",$row["class"]); $address=MyFormat("",$row["address"]); $amenities=MyFormat("
",$row["amenities"]); $description=MyFormat("
",$row["description"]); $prefix=$row["prefix"]; $phone=$row["phone"]; $phone=($phone)?("
Phone: ". $prefix."-".$phone):(""); $fax=$row["fax"]; $fax=($phone)?("Fax: ". $prefix."-".$fax):(""); $thenote=''; if ($x==1 | $temphotel!=$hotel){ $temphotel=$hotel; if ($x>1){echo "

\n"; if ($x==1){echo "";} $x++; echo "
Hotels in $country $city

$temphotel $category

$note $phone $fax $address $class $amenities $description
\n"; echo "\n\n"; } $thesentence="sentence=Please, I need to book in $temphotel newlineArrival Date : $displaydatefrom newlineDeparture Date : $displaydateto newlineSingle room(s) __ newlineTwin room(s) __newlineTriple room(s) __newline&case=2&dep=hotel-booking"; echo "\n "; $totalprice = "$" .$totalprice * $diff; $totalprice=($thenote)?($thenote):(" $totalprice Valid Between $displaydatefrom and $displaydateto"); $rec = $rax->readRecord(); } if (!$norecords){Echo "
Sorry, there is no match for your query

Please check city spelling again, or contact us by clicking at the link above";} ?>
SingleTwinTripleTwin+ChildValid FromValid To Notes
$single $twin $triple $twinchild $displaydatefrom $displaydateto $pricenote $bfst BOOK