getItineraryImages($id); $rsTour = $objTour->getItinerary($id); if (is_resource($rsTour) && mysql_num_rows($rsTour) > 0) $row = mysql_fetch_array($rsTour); /////// **********Display Tailor made Idea **********////// $rsTailorMadeIdea = $objTour->getTailorMadeIdeaByItinerary($id); $rowTailorMadeIdea = ""; if (is_resource($rsTailorMadeIdea) && mysql_num_rows($rsTailorMadeIdea) > 0) { $rowTailorMadeIdea = mysql_fetch_array($rsTailorMadeIdea); } /////////// end /////////// //////********** Display Price Text **********////// $rsPriceText = $objTour->getpricetext_byitinerary($id); if (is_resource($rsPriceText) && mysql_num_rows($rsPriceText) > 0) $rowPriceText = mysql_fetch_array($rsPriceText); else $rowPriceText = ""; /////////// end /////////// //Get Destination(Cities) Lists $rsDest = $objDest->displayAll(); if (is_resource($rsDest) && mysql_num_rows($rsDest) > 0) { while ($rowDest = mysql_fetch_array($rsDest)) { $arrDestination[$rowDest["id"]] = $rowDest["name"]; } } //////********** Display Price Text **********////// $rsPriceText = $objTour->getpricetext_byitinerary($id); $rowPriceText = ""; if (is_resource($rsPriceText) && mysql_num_rows($rsPriceText) > 0) { $rowPriceText = mysql_fetch_array($rsPriceText); } /////////// end /////////// $arrtaglist = array(); $arrItDest = array(); $arrtaglist = explode(",", $row["tour_tag"]); $arrItDest = explode(",", $row["destination_covered"]); $destlist = ""; $destformap1 = ""; for ($i = 0; $i < count($arrItDest); $i++) { $destlist.= "
  • " . $arrDestination[$arrItDest[$i]] . "
  • "; $destformap1.= $arrDestination[$arrItDest[$i]] . " - "; } $destformap1 = substr($destformap1, 0, strlen($destformap1) - 1); $coveredDestination = trim($destformap1, " - "); $rsItinerarySlideImages = $objImage->displayItinerarySlideImages($id); $rsTag = $objTour->displayTag(); $arrTag = array(); while ($rowTag = mysql_fetch_array($rsTag)) { $arrTag[$rowTag["id"]]["tag"] = $rowTag["tag"]; $arrTag[$rowTag["id"]]["image"] = $rowTag["tag_image"]; //$arrTag[$rowTag["id"]]["page_url"] = $rowTag["page_url"]; } $rsTransport = $objTour->getTransport(); $arrtrans = array(); if (is_resource($rsTransport) && mysql_num_rows($rsTransport)) { while ($rowtrans = mysql_fetch_array($rsTransport)) { $arrtrans[$rowtrans["id"]]["name"] = $rowtrans["name"]; $arrtrans[$rowtrans["id"]]["image"] = $rowtrans["imglink"]; } } $rsFaq = $objFaq->getfaqByItinerary($id); if (Mysql_num_rows($rsFaq) <= 0) { $rsFaq = $objFaq->getunallotedfaq(); } $rsCommendation = $objCommendation->getCommendationsByItinerary($id); if (Mysql_num_rows($rsCommendation) <= 0) { $rsCommendation = $objCommendation->getunallotedCommendation(); } $rsDirectory = $objTour->displayDirectory(); $middlepart = ""; $firstPage = ""; $firstPageUrl = ""; if (array_key_exists("HTTP_REFERER", $_SERVER)) { $lastPageUrl = $_SERVER["HTTP_REFERER"]; $baseName = basename($lastPageUrl); if($baseName=="www.unicrystalholidays.com" || $baseName=="unicrystalholidays.com" || strpos($baseName, "php")){ $middlepart = ""; } elseif(strpos($lastPageUrl,"index")){ $middlepart = ""; } elseif (strpos($lastPageUrl, "wishlist")) { $middlepart = "Wish List"; } elseif (strpos($lastPageUrl, "search")) { $middlepart = "Search Result"; } elseif (strpos($lastPageUrl, "photo-gallery-detail")) { $middlepart = "Photo Gallery"; } elseif (strpos($lastPageUrl, "theme-photo-gallery")) { $middlepart = "Theme Photo Gallery"; }else { $path = str_replace("html", "", $baseName); $path = str_replace(".", "", $path); $path = str_replace("-", " ", $path); $middlepart = ucwords($path); } } if (is_resource($rsImage) && mysql_num_rows($rsImage) > 0) { while ($rowImg = mysql_fetch_array($rsImage)) { $arrLarge[] = $rowImg["url_large_img"]; $arrText[] = $rowImg["alt_text"]; } } //print_r($row); //exit(); if ($row["duration"] == 1) $strDay = "Day"; else $strDay = "Days"; $rowitname = $row["name"]; function replaceCityCode($str) { global $arrdest; $arrtemp = explode(",", $str); foreach ($arrtemp as $k => $v) { if ($v != "") $arrtemp[$k] = " " . $arrdest[$v]; } $strNew = implode(" -", $arrtemp); if (substr($strNew, 0, 3) == " - ") { $strNew = substr($strNew, 2); } return $strNew; } ?> <?= $row["page_title"] ?> " /> " />
    0) { if ($s < mysql_num_rows($rsItinerarySlideImages)) { while ($rowSlideImages = mysql_fetch_array($rsItinerarySlideImages)) { if ($rowSlideImages["img_url"] != "") { $slideImagePath = DOMAINPATH . "/" . $rowSlideImages["img_url"]; } else { $slideImagePath = DOMAINPATH . "/images/img_348X247.jpg"; } $slideImagePath = DOMAINPATH . "/" . $rowSlideImages["img_url"]; ?>

     


    Sketch Itinerary :
    -------------------------

    display_itinerary_detail($id); while ($rowDetail = mysql_fetch_array($rsItinerary_detail)) { $distance = ""; if (trim($rowDetail["distance"]) !== "") $distance = "(" . $rowDetail["distance"] . ")"; if ($rowDetail["transport"] == "0") { $transport = ""; } else { $transport = $objTour->getTransportDetail($rowDetail["transport"], "web"); } ?>
    " class="panel-collapse collapse">

    Description:

    getrelatedItineraries($id); mysql_num_rows($rsgetit); if (($rsgetit) && mysql_num_rows($rsgetit) > 0) { $si = 1; while ($rowit = mysql_fetch_array($rsgetit)) { $destformap=$objDest->replaceCityWithCode($rowit["destination_covered"]); $destStr=replaceCityCode($rowit["destination_covered"]); $itPath = DOMAINPATH."/".$rsDirectory[$rowit["id_directory_name"]]."/".$rowit["page_url"]; if ($rowit["duration"] == 1) $strDay = "Day"; else $strDay = "Days"; if ($rowit["small_img_url"] != "") { $urlimg = DOMAINPATH . "/".$rowit["small_img_url"].""; } else { $urlimg = DOMAINPATH . "/images/img_348X247.jpg"; } $itId = $rowit["id"]; $wishListPath = DOMAINPATH."/addtowishlist.html?id=".$rowit["id"].""; $enquiryPath = DOMAINPATH."/enquiry.html?id=".$rowit["id"].""; $tailorMadePath = DOMAINPATH."/tailor-made.html?id=".$rowit["id"].""; $photoGalleryPath = DOMAINPATH."/photo-gallery-detail.html?type=Itinerary&id=".$rowit["id"].""; $mapPath = DOMAINPATH."/map/fullbslmap.php?id=".$rowit["id"]."&destinationcovered=".$destformap."&destinationdesc=".$destDescformap."&destinationimg=".$destImgformap.""; $tagList = $rowit["tour_tag"]; $resultTag = $objTag->displayItineraryTags($tagList); $strTag = ""; while ($rowTag = mysql_fetch_array($resultTag)) { $strTag = $strTag . "" . $rowTag["tag"] . " "; } ?>
    Price Idea
    Enquire Now