'Htl by Interest','Itinerary'=>'Ity by Interest','Experience'=>'U E Interest'); if(array_key_exists($listfor,$iarray)){ $ifor = $iarray[$listfor]; $sqlhi=mysql_query("Select * from tbl_TagConfi where `Status`='Active' and `Tag_Type` like '".$ifor."%'"); $arrayi=array(); while($rowi = mysql_fetch_array($sqlhi)) { array_push($arrayi,$rowi['Tag_Id']); } } $iname = array('Hotel'=>'Hotel_Name','City'=>'City_Name','Festival'=>'Fest_Name','Experience'=>'Exp_Name','Itinerary'=>'Itinerary_Name'); if(array_key_exists($listfor,$iname)){ $namex = $iname[$listfor]; } $url = array('Hotel'=>'Hotel_Url','City'=>'City_Url','Festival'=>'Fest_Url','Experience'=>'Exp_Url','Itinerary'=>'Itinerary_Url'); if(array_key_exists($listfor,$url)){ $furl = $url[$listfor]; } $folder = array('Hotel'=>'hotel','City'=>'city','Festival'=>'festival','Experience'=>'experience','Itinerary'=>''); if(array_key_exists($listfor,$folder)){ $fldr = $folder[$listfor]; $fldrpth = $fldr."/"; } $tarry = array('Hotel'=>'tbl_Hotel','City'=>'tbl_City','Itinerary'=>'tbl_Itinerary','Festival'=>'tbl_Festival','Experience'=>'tbl_Experience'); if(array_key_exists($listfor,$tarry)){ $tble = $tarry[$listfor]; } $tbid = array('Hotel'=>'Hotel_Id','City'=>'City_Id','Itinerary'=>'Itinerary_Id','Festival'=>'Fest_Id','Experience'=>'Exp_Id'); if(array_key_exists($listfor,$tbid)) { $tbi = $tbid[$listfor]; } $tbalias = array('Hotel'=>'th','City'=>'tc','Itinerary'=>'ti','Festival'=>'tf','Experience'=>'te'); if(array_key_exists($listfor,$tbalias)) { $tba = $tbalias[$listfor]; } $iddarr = array(); $title = stripslashes($row[5]); $description = stripslashes($row[6]); $keywords = stripslashes($row[7]); $listh = $row[3]; $pagee = $listh; $listd = $row[4]; $lists = $row[2]; $addid= unserialize($row[10]); $addf = unserialize($row[11]); $addp = unserialize($row[12]); $addsq = unserialize($row[14]); $addr = unserialize($row[13]); $addt = unserialize($row[15]); $text1 = unserialize($row[16]); $text2 = unserialize($row[17]); $stext = unserialize($row[18]); $seq = unserialize($row[20]); $fseq = array_flip($seq); $countf = count($fseq); ksort($fseq); $images = unserialize($row[19]); $flipseq = array_flip($seq); $keyseq = array_keys($flipseq); $flipkey = array_flip($keyseq); ksort($flipkey); $searche = json_decode($row[9],true); foreach($searche as $key=>$value){$$key = $value ;} $server = $_SERVER['HTTP_HOST']; $listh1 = preg_replace('/\s+/', '%20', $listh); ?> <?php echo $title; ?> "; } echo $datam;?>
'.$text1[$fseq[$j]].'
'.$text2[$fseq[$j]].'
'.$stext[$fseq[$j]].'
'; } echo $divt; ?>

"; $sadd .= "
"; } echo $sadd;}?>