Tours and Expeditions India
= $strDay ?> = $rowIt["name"] ?>
Destination to visit : = $destStr ?>
Trip overview :
=html_entity_decode($rowIt["tour_highlights"])?>Ask us to design custom made Trips of India
"); }?>
displayAll(); if (is_resource($rsdestination) && mysql_num_rows($rsdestination)) { while ($rowdest = mysql_fetch_array($rsdestination)) $arrdest[$rowdest["id"]] = $rowdest["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; } $filterflag = false; $searchStr = ""; if($_POST){ if($_POST['search']=='form'){ $filterflag = 1; $destinationstr = ""; if($_POST['destination']!=''){ $destinationstr = "Destination - ".$objRegion->getRegionName($_POST['destination']).", "; } $themestr = ""; if($_POST['theme']!=''){ $themestr = $objSubTravelTheme->getSelectedSubTheme($_POST['theme']); $themestr = "Interests - ".$themestr[1].", "; } $durationstr = ""; if($_POST['duration']==1){ $durationstr = "Duration - ".$_POST['duration']." Day"; } if($_POST['duration']>1 && $_POST['duration']<=30 ){ $durationstr = "Duration - ".$_POST['duration']." Days"; } if($_POST['duration']>30 ){ $durationstr = "Duration - More Than 30 Days"; } if($_POST['destination']=='' && $_POST['duration']==0 && $_POST['theme']==''){ $destinationstr = "Destination - All Destination, "; $themestr = "Interest - All Interest, "; $durationstr = "Duration - Any duration, "; } $searchStr = $themestr.$destinationstr.$durationstr; $destination = $_POST['destination']; $theme = $_POST['theme']; $duration = $_POST['duration']; //$searchStr = $_POST['keyword']; $resultItinerary = $objTour->detailSearch($destination, $theme, $duration); } else { $filterflag = 1; //$searchStr = $_POST["keyword"]; if (array_key_exists("keyword", $_POST)) { $resultItinerary = $objTour->SearchItinerarybyKeyword($_POST["keyword"]); $resultTag = $objTour->SearchTagbyKeyword($_POST['keyword'],1); } } }elseif ($_GET) { if (array_key_exists("tagId", $_GET)) { $resultItinerary = $objTour->displayItinerarybytagMod($_GET["tagId"]); } $tag=$_GET["tagId"]; $arrdestination = $objTag->getSelectedtag($tag); $destination = $arrdestination[1]; $filterflag = 2; } else { header("Location: index.html"); } $total=mysql_num_rows($resultItinerary) + mysql_num_rows($resultTag); ?>
Destination to visit : = $destStr ?>
Trip overview :
=html_entity_decode($rowIt["tour_highlights"])?>