proceed_ajax("fichier",$plugin,$sub); if($file){ include $file; } break; case 'extended_search' : require_once($class_path."/search.class.php"); if(!isset($search_xml_file)) $search_xml_file = ''; if(!isset($search_xml_file_full_path)) $search_xml_file_full_path = ''; $sc=new search(true, $search_xml_file, $search_xml_file_full_path); $sc->proceed_ajax(); break; case 'consult': switch($action) { case "list": if(isset($object_type) && $object_type) { $class_name = 'list_'.$object_type; $filters = (!empty($filters) ? encoding_normalize::json_decode(stripslashes($filters),true) : array()); $pager = (!empty($pager) ? encoding_normalize::json_decode(stripslashes($pager),true) : array()); $instance_class_name = new $class_name($filters, $pager, array('by' => $sort_by, 'asc_desc' => (isset($sort_asc_desc) ? $sort_asc_desc : ''))); print encoding_normalize::utf8_normalize($instance_class_name->get_display_header_list()); print encoding_normalize::utf8_normalize($instance_class_name->get_display_content_list()); } break; } break; }