displayDirectory(); if(array_key_exists('itid', $_COOKIE)){ $rsIt=$objTour->getItinerarywithImage($_COOKIE["itid"]); $blankflag = false; }else $blankflag=true; $pageTitle = "Shortlisted Tours"; $rsDirectory=$objTour->displayDirectory(); $rsdestination=$objDestination->displayAll(); if(!empty($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; } $allTags = $objTour->displayAllTag(); $arrTags=array(); if(!empty($allTags)&& mysql_num_rows($allTags)){ while($rowTag=mysql_fetch_array($allTags)){ $arrTags[$rowTag["id"]]["tag"]=$rowTag["tag"]; $arrTags[$rowTag["id"]]["page_url"]=$rowTag["page_url"]; } } function getTagList($tour_tag){ $arrtemp=array(); global $arrTags; $strTag=""; if (strpos($tour_tag,",") !== false) { $arrtemp = explode(",",$tour_tag); }else{ $arrtemp[0]=$tour_tag; } if(count($arrtemp)>0){ $ct=1; foreach($arrtemp as $k=>$v){ $strTag.="".$arrTags[$v]["tag"].""; if($ct%2==0){ $strTag.="
"; } $ct++; } } return $strTag; } $tripCount=""; $count=mysql_num_rows($rsIt); if($count>0){ if($count>1){ $tripCount=" [ ".$count." Trips ]"; }else{ $tripCount=" [ ".$count." Trip ]"; } } $_SESSION["galleryPath"]=$_SERVER["PHP_SELF"]; ?> <?=$pageTitle?>

 

Shortlisted Tours


0){ while($rowIt = mysql_fetch_array($rsIt)){ $destStr=replaceCityCode($rowIt["destination_covered"]); $tagList=getTagList($rowIt["tour_tag"]); $itPath= DOMAINPATH."/".$rsDirectory[$rowIt["id_directory_name"]]."/".$rowIt["page_url"]; $destformap=$objDestination->replaceCityWithCode($rowIt["destination_covered"]); $id=$rowIt["itId"]; if($rowIt["small_img_url"]!="") $itImage=$rowIt["small_img_url"]; else $itImage=DOMAINPATH."/images/900x600.png"; if($rowIt["duration"]==1){ $strNight="Night"; $duration=$rowIt["duration"]; }else{ $strNight="Nights"; $duration=$rowIt["duration"]-1; } ?>
Destinations :
Tour Type :

Tags :



SHARE THIS


You have not yet added any tours to your wishlist. Add tours to your wishlist.







'; }?>