Luxury Vacation Rentals World'; } else { $db->query('SELECT id,name,down_level_id FROM category WHERE url="'.$_REQUEST['cat'].'.htm"'); if($db->num_rows() > 0) { $db->next_row(); $categoryId=$db->RECORD['id']; $categoryName=$db->RECORD['name']; $categoryUrl=$db->RECORD['url']; $down_level_id=$db->RECORD['down_level_id']; $extra_condi .=' AND p.category_id IN ('.$db->RECORD['down_level_id'].')'; $qryStr .='&id='.$categoryId; // generate page title, meta keyword and meta description $db->query('SELECT page_title,meta_keywords,meta_desc,about_text FROM category_info WHERE category_id='.$categoryId); if($db->num_rows() > 0) { $db->next_row(); $page_title=$db->RECORD['page_title']; $meta_keyword=$db->RECORD['meta_keywords']; $meta_descripiton=$db->RECORD['meta_desc']; $about_text=$db->RECORD['about_text']; } $mainCategoryLink=getCategoryLink($categoryId, '    '); } } } if($_REQUEST['feature'] == 'all') { $extra_condi .=' AND p.is_feature >= SYSDATE()'; $qryStr .='&feature='.$_REQUEST['feature']; } // get featured properties $featureProp=getFeatureProp($categoryId,$down_level_id,$categoryName); // generate sub level category $subCategory=generateSubLevelCategory($categoryId,$qryStr); $db->query('SELECT COUNT(DISTINCT(p.propid)) as totrec FROM property p LEFT JOIN category ON(p.category_id=category.id) WHERE '.$propStatusCondi.' '.$extra_condi); $db->next_row(); $totRecord=$db->RECORD['totrec']; $db->free(); if($totRecord > 0) { // navigation class include_once 'include/class.paging.php'; $paging=new paging(); $paging->TotalResults = $totRecord; $paging->queryStr=$qryStr; $PageArray=$paging->InfoArray(); $navigation_listing=$PageArray['RESULTS']; $navigation=$paging->displayPages(); $propQry='SELECT DISTINCT(p.propid),p.category_id,p.people_sleep,p.bedrooms,p.bathrooms,p.children,p.airport,p.features,p.pets,p.smoke, p.wheelchair,p.prop_title,p.property_type,prop_date,display_calender,other_url_calender,is_feature,prop_desc FROM property p LEFT JOIN category ON (p.category_id=category.id) WHERE '.$propStatusCondi.' '.$extra_condi; include_once 'include/propertyList.class.php'; $propListing = new propertyListing($propQry); $sortCol=$propListing->sortCol; $propertyListing = $propListing->displayPropertyList(); $page_title_arr[1]='Vacation Rental Homes'; $page_title_arr[2]='Short-Term Rentals'; $page_title_arr[3]='Vacation Homes'; $page_title_arr[4]='Property Rentals'; $page_title_arr[5]='Vacation Homes for Rent'; $page_title_arr[6]='Vacation Rental Deals'; $page_title_arr[7]='Lodging'; $page_title_arr[8]='Luxury Vacation Rentals'; $page_title_arr[9]='Affordable Vacation Rentals'; $page_title_arr[10]='Vacation Rental Properties'; $page_title_arr[11]='Apartment Rentals'; $page_title_arr[12]='Condo Rentals'; $page_title_arr[13]='Cabin Rentals'; $page_title_arr[14]='Lake Rentals'; $page_title_arr[15]='Pet Friendly Rentals'; $page_title_arr[16]='Budget Rentals'; $page_title_arr[17]='Discounted Vacation Rentals'; $page_title_arr[18]='Trusted Vacation Rentals'; $page_title_arr[19]='House Rentals'; $page_title_arr[20]='Villa Rentals'; $page_title_arr[21]='Home Rentals'; $page_title_arr[22]='Townhome Rentals'; $page_title_arr[23]='Studio Rentals'; $page_title_arr[24]='Lodge Rentals'; $page_title_arr[25]='Cottage Rentals'; $page_title_arr[26]='Cheap Vacation Rentals'; $page_title_arr[27]='Inexpensive Vacation Rentals'; $page_title_arr[28]='Last Minute Vacation Rentals'; $page_title_arr[29]='Private Vacation Homes'; $currPage = $_GET['page']; $pharse=$page_title_arr[$currPage-1]; if($pharse!='') $pharse=$page_title_arr[$currPage-1]; else if($currPage > 29) $pharse=$page_title_arr[29]; // create unique meta title by page wise if($currPage > 1 && $pharse != '') { if(!$categoryId) $metaCat = 'World'; else $metaCat = getShortCategory($categoryId,', ',0); $page_meta_title='Luxury '.$pharse.' in '.$metaCat.', Page '.$currPage.' of '.$paging->TotalPages; $page_meta_desc='Luxurious '.$pharse.' in '.$metaCat.' - Browse page '.$currPage.' of '.($categoryName?$categoryName.' ':'').'vacation rentals for high-end lodging in '.($categoryName?$categoryName:'World').'.'; $page_meta_keyword='Luxury, '.$metaCat.', Luxury '.($categoryName?$categoryName.' ':'').$pharse; } include_once 'include/header.php'; require_once 'summary.php'; } else { include_once 'include/header.php'; include_once 'noresult.php'; } include_once("include/footer.php"); ?>