Ejemplo n.º 1
0
 case 'perso_expl':
     require_once $class_path . '/parametres_perso.class.php';
     $p_perso = new parametres_perso('notices');
     $array_selector = $p_perso->get_ajax_list($persofield, $start);
     $origine = 'ARRAY';
     break;
 case 'perso_empr':
     require_once $class_path . '/parametres_perso.class.php';
     $p_perso = new parametres_perso('notices');
     $array_selector = $p_perso->get_ajax_list($persofield, $start);
     $origine = 'ARRAY';
     break;
 case 'perso_collstate':
     require_once $class_path . '/parametres_perso.class.php';
     $p_perso = new parametres_perso('notices');
     $array_selector = $p_perso->get_ajax_list($persofield, $start);
     $origine = 'ARRAY';
     break;
 case "suggestions":
     $fontsize = "12px";
     require_once $class_path . '/suggest.class.php';
     $suggestion = new suggest($start);
     $array_selector = array();
     if (count($suggestion->arrayResults)) {
         foreach ($suggestion->arrayResults as $v) {
             if (str_word_count($v["field_content"]) > 10) {
                 //$array_selector[]=array($v["field_content"]." <small>dans <i>".$v["field_name"]."</i></small>"=>implode(" ",$v["field_content_search"]));
                 $array_selector[] = array($v["field_content"] . " <small></small>" => implode(" ", $v["field_content_search"]));
             } else {
                 //$array_selector[]=array($v["field_content"]." <small>dans <i>".$v["field_name"]."</i></small>"=>$v["field_clean_content"]);
                 $array_selector[] = array($v["field_content"] . " <small></small>" => $v["field_clean_content"]);