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"];
?>
You have not yet added any tours to your wishlist. Add tours to your wishlist.