displayHoneymoonDestinations("outbound");
if(empty($_GET[city]) )
$_GET[city]=$arrayDestinations[0];
$objSearch=new Search($countryId,$themeId,$city,$keyword,$days);
$rsSearchResult=$objSearch->findItineraryByDestination($_GET[city]);
?>
International Honeymoon to Dubai, Mauritius, Malaysia, Thailand
International Honeymoon Packages
function display($rs)
{
global $page, $displayRecord,$themeId,$city,$keyword,$countryId,$days;
if(is_resource($rs))
{
autoLoad("class.TourPrice.php");
$objTourPrice = new TourPrice();
autoLoad('class.Category.php');
$objCategory=new Category();
autoLoad('class.ImageGallery.php');
$objImageGallery=new ImageGallery();
$start=0;
if((int)$page>=1)
$start=($page-1)*$displayRecord;
if(mysql_num_rows($rs)>0)
mysql_data_seek($rs,$start);
$count=0;
while($row=mysql_fetch_array($rs))
{
$strPrice="";
$priceArr=$objTourPrice->getTourLeastPrice($row[id]);
$categoryDir=$objCategory->findCategoryDir($row[id]);
$rsImage=$objImageGallery->imageGallery($row[id]);
$rowImage="";
if($rsImage!==false)
$rowImage=mysql_fetch_array($rsImage);
if($priceArr[0]>0)
$arrayPrice[$count][0]=$priceArr[0];
else
$arrayPrice[$count][0]=0;
$arrayPrice[$count][1]=$row[name];
$arrayTours[$row[name]][0]=DOMAINPATH.'/'.$categoryDir.'/'.$row[page_url];
$arrayTours[$row[name]][1]=$row[duration];
$arrayTours[$row[name]][2]=$priceArr[0]; //price
$arrayTours[$row[name]][3]=DOMAINPATH.'/'.$rowImage[url_large_img];
$arrayTours[$row[name]][4]=$rowImage[alt_text];
$arrayTours[$row[name]][5]=$priceArr[1]; //roomcategory
$arrayTours[$row[name]][6]=$priceArr[2]; //validto
$arrayTours[$row[name]][7]=$priceArr[3]; //type
$arrayTours[$row[name]][8]=$row[id]; //it id
$arrayTours[$row[name]][9]=$row[destination_covered];
$arrayTours[$row[name]][10]=$row[duration];
$arrayTours[$row[name]][11]=$row[tour_code];
$arrayTours[$row[name]][12]=$row[overview];
$arrayTours[$row[name]][13]=$categoryDir.'/'.$row[page_url];
$count++;
}
$index=0;
sort($arrayPrice,SORT_REGULAR);
while(count($arrayPrice)>$index)
{
$url_booking=bslUrlEncode("url=".$arrayTours[$arrayPrice[$index][1]][13]."&itid=".$arrayTours[$arrayPrice[$index][1]][8]."&price=".$arrayTours[$arrayPrice[$index][1]][2]."&roomcategory=".$arrayTours[$arrayPrice[$index][1]][5]."&validto=".$arrayTours[$arrayPrice[$index][1]][6]."&type=".$arrayTours[$arrayPrice[$index][1]][7]);
?>
$url='searchflag=set&countryid='.$countryId.'&keyword='.$keyword.'&city='.$city.'&themeid='.$themeId.'&days='.$days.'';?>
}?>
=$arrayTours[$arrayPrice[$index][1]][12]?>
» View Detail Itinerary
Destination: =$arrayTours[$arrayPrice[$index][1]][9]?> |
Duration: =$arrayTours[$arrayPrice[$index][1]][10]-1?> Night / =$arrayTours[$arrayPrice[$index][1]][10]?> Days |
Tour Code: =$arrayTours[$arrayPrice[$index][1]][11]?> |
if((int)$arrayTours[$arrayPrice[$index][1]][2] > 0)
{
echo '
Tour Price: '.round($arrayTours[$arrayPrice[$index][1]][2]).'/- Per Person ('.$arrayTours[$arrayPrice[$index][1]][5].' Basis)
';
} ?>
$index++;
}
}
}
?>