$masterTypologies = BFCHelper::getMasterTypologies(); // elenco ulteriore filtri possibili $merchantGroups = BFCHelper::getTags($language, "1,4"); $bookingTypes = array(); //$bookingTypes[0] = JTEXT::_('MOD_BOOKINGFORSEARCHFILTER_BOOKINGTYPES_REQUEST'); $bookingTypes[6] = JTEXT::_('MOD_BOOKINGFORSEARCHFILTER_BOOKINGTYPES_BOOK'); $offers = array(); $offers[1] = JTEXT::_('MOD_BOOKINGFORSEARCHFILTER_OFFERS_OFFER'); $pars = BFCHelper::getSearchParamsSession(); // se passo questi dati è una nuova ricerca $masterTypeId = $pars['masterTypeId']; $merchantCategoryId = $pars['merchantCategoryId']; if (!empty($merchantCategoryId)) { // $singeMerchantCategory = BFCHelper::getMerchantCategory($merchantCategoryId); // $services = $singeMerchantCategory->Services; $services = BFCHelper::getServicesByMerchantsCategoryId($merchantCategoryId, $language); } else { $services = BFCHelper::getServicesForSearch($language); } $duration = 1; // $pars['duration']; if (empty($duration)) { $duration = 1; } // è il codice per l'ordinamento a random.... $searchid = JRequest::getVar('searchid'); //$searchid = $this->params['searchid']; $isMerchantResults = $pars['merchantResults']; $filtersEnabled = BFCHelper::getEnabledFilterSearchParamsSession(); //echo '<PRE>';print_r($filtersEnabled);die(); if (isset($filtersEnabled)) {