ion();
$current_url = url::site();
$current_url = url::removeParam($current_url, array('ajax', 'id_block'));
$use_categories = Nex::registry('data.useCategories');
$config = Nex::registry('block.config');
$item_url = $this->getUrl('items');
$last_cat = -1 ;
$cat_opened = false ;
$nbr_cat = 0 ;
$count = $this->getResultCount();
$query = $this->getSearchQuery();
$x=0;
?>