"; $v_hotel_group=ereg_replace('_', ' ', $v_hotel_group); $v_display_title = "$v_hotel_group - India Hotels - Hotels Directory Of India"; } else{ $v_hotel_group = ""; $v_display_title = "Hotel Chains in India - Hotel Group in India - Chain Hotels in India - India Group Of Hotels"; } ////////////// if (isset($_SESSION['SESSION_USER_ID']) and $_SESSION['SESSION_USER_ID'] != ""){ $TextSign = ""; $TextSign .= "[ Sign Out ]"; $TextSign .= ""; $TextWelcome = ""; $TextWelcome .= "Welcome "; $TextWelcome .= ucfirst($_SESSION['SESSION_USER_NAME']) . ""; //Print $TextSignOut; } else { $TextSign = ""; $TextSign .= "[ Sign In ]"; $TextSign .= ""; $TextWelcome = ""; $TextWelcome .= "Welcome Guest"; //Print $TextSignIn; } ?> <?=$v_display_title?>
hotels in india,tourism,hotel reservations in india,travel agents,heritage hotels in india,travel guides to india,hotels in new delhi,cheap hotels in india,travel agency,travel packages,car rental,the taj mahal,tourism in rajasthan,tourism in kerala,desert safaris,desert tours,elephant ride,goa,mumbai,bangalore,jaisalmer,jaipur,agra,udaipur
 
modify bookings - cancellation - contact us - join us -
 
home   hotel packages    booking basket
 


Sorry ! Unable To Connect To The Server.
Please Try Again !!!

"; print "

Error performing query : " . mysql_error() . "

"; exit(); } mysql_select_db("$vMySQLDatabase", $conn); if (! @mysql_select_db("hodindia") ){ print "



Sorry ! Unable To Locate The Database At This Time.
Please Try Again !!!

"; print "

Error performing query : " . mysql_error() . "

"; mysql_close($conn); exit(); } if($v_hotel_group == ""){ $Result = ""; $Result = "
"; $Result .= ""; $Result .=""; $Result .=""; $Result .=""; $Result .="
"; $Result .="Hotel Group in India"; $Result .="
"; print $Result; $Result = ""; // execute query $QueryChain = "SELECT H_Chain_Id, H_Chain_Name FROM Hotel_Chain_Mast Where H_Chain_Status = 't' Order By H_Chain_Name"; $ResultChain = mysql_query($QueryChain, $conn); $NoOfRecord = mysql_num_rows($ResultChain); $Result .= ""; $Result .=""; $Result .= ""; $Result .= ""; $Result .="
"; $Result .="
"; while($RecordChain = mysql_fetch_assoc($ResultChain)){ $v_class_name = $RecordChain["H_Chain_Name"]; $v_chain_id = $RecordChain["H_Chain_Id"]; // search again hotels in the city $QueryHotel = "SELECT H_Id FROM Hotel_Mast Where H_Chain_Id = $v_chain_id AND H_Status = 't' "; $ResultHotel = mysql_query($QueryHotel, $conn); $no_of_hotels = mysql_num_rows($ResultHotel); if ($no_of_hotels > 0) { $v_class_name=ereg_replace(' ', '_', $v_class_name); $Result .= " "; $v_class_name=ereg_replace('_', ' ', $v_class_name); $Result .= $v_class_name; $Result .= ""; $Result .= "
"; }// end if - no_of_hotels }//end while $Result .="
"; $Result .= "
"; $Result .= "
"; $Result .= "
"; print $Result; }// else{ $v_hotel_group = ucwords($v_hotel_group); $QueryChain = "SELECT H_Chain_Id FROM Hotel_Chain_Mast Where H_Chain_Name = '$v_hotel_group'"; $ResultChain = mysql_query($QueryChain, $conn); $RecordChain = mysql_fetch_assoc($ResultChain); $v_chain_id = $RecordChain["H_Chain_Id"]; //print "v_class_id = $v_class_id"; $QueryCity = "SELECT City_Id, City_Name FROM City_Mast Order By City_Name"; $ResultCity = mysql_query($QueryCity, $conn); //$RecordCity = mysql_fetch_assoc($ResultCity); //print "v_city_id = $v_city_id"; $Result = ""; $Result .= "

"; $Result .= ""; $Result .= ""; $Result .= ""; $Result .= ""; $Result .= "
"; $Result .= " $v_hotel_group"; $Result .= "
"; print $Result; $Result = ""; $Result .= ""; $Result .= "
"; while($RecordCity = mysql_fetch_assoc($ResultCity)){ $v_city_id = $RecordCity["City_Id"]; $v_city_name = $RecordCity["City_Name"]; // search again hotels in the city $QueryHotel = "SELECT H_Login, H_Name FROM Hotel_Mast Where City_Id = $v_city_id And H_Chain_Id = $v_chain_id AND H_Status = 't'"; $ResultHotel = mysql_query($QueryHotel, $conn); $no_of_ctg_hotels = mysql_num_rows($ResultHotel); if ($no_of_ctg_hotels != 0){ $Result .= ""; $Result .= ""; //$Result .= "$v_ctg_id
"; } }//end while $Result .= "
"; $Result .= ""; $Result .= ""; $Result .= $RecordCity["City_Name"]; $Result .= ""; $Result .= ""; $Result .= " ["; $Result .= $no_of_ctg_hotels; $Result .= "]"; $Result .= "
"; while($RecordHotel = mysql_fetch_assoc($ResultHotel)){ $v_hotel_login = $RecordHotel["H_Login"]; $Result .= "  "; $Result .= ""; $Result .= ""; $Result .= trim($RecordHotel["H_Name"]); $Result .= "
"; }//end inner while $Result .= "
"; $Result .= "
"; $Result .= "

"; print $Result; } mysql_close($conn); ?>