user_input = $user_input; } public function proceed() { global $what, $caller; global $bt_ajouter; global $search_xml_file, $search_field_id; global $selector_data; switch($what) { case 'auteur': $bt_ajouter ="no"; $selector = new selector_author($this->user_input); break; case 'categorie': $bt_ajouter ="no"; $selector = new selector_category($this->user_input); break; case 'editeur': $bt_ajouter ="no"; $selector = new selector_publisher($this->user_input); break; case 'collection': $bt_ajouter ="no"; $selector = new selector_collection($this->user_input); break; case 'subcollection': $bt_ajouter ="no"; $selector = new selector_subcollection($this->user_input); break; case 'serie': $bt_ajouter ="no"; $selector = new selector_serie($this->user_input); break; case 'indexint': $bt_ajouter ="no"; $selector = new selector_indexint($this->user_input); break; case 'titre_uniforme': $bt_ajouter ="no"; $selector = new selector_titre_uniforme($this->user_input); break; case 'authperso' : $selector = new selector_authperso($this->user_input); break; case 'vedette': $selector = new selector_vedette($this->user_input); break; case 'country': $selector = new selector_country($this->user_input); break; case 'lang': $selector = new selector_lang($this->user_input); break; case 'function': $selector = new selector_func($this->user_input); break; case 'music_key' : $selector = new selector_music_key($this->user_input); break; case 'music_form' : $selector = new selector_music_form($this->user_input); break; case 'query_list': $selector = new selector_query_list($this->user_input); $selector->set_search_xml_file($search_xml_file); $selector->set_search_field_id($search_field_id); break; case 'list': $selector = new selector_list($this->user_input); $selector->set_search_xml_file($search_xml_file); $selector->set_search_field_id($search_field_id); break; case 'marc_list': $selector = new selector_marc_list($this->user_input); $selector->set_search_xml_file($search_xml_file); $selector->set_search_field_id($search_field_id); break; case 'calendrier': // include ('./selectors/calendrier.inc.php'); break; case 'emprunteur': $selector = new selector_empr($this->user_input); break; case 'notice': $selector = new selector_notice($this->user_input); break; case 'perio': $selector = new selector_perio($this->user_input); break; case 'bulletin': $selector = new selector_bulletin($this->user_input); break; case 'codepostal': $selector = new selector_codepostal($this->user_input); break; case 'perso': // include('./selectors/perso.inc.php'); break; case 'fournisseur': // include('./selectors/fournisseur.inc.php'); break; case 'coord' : // include('./selectors/coordonnees.inc.php'); break; case 'acquisition_notice': // include('./selectors/acquisition_notice.inc.php'); break; case 'types_produits': // include('./selectors/types_produits.inc.php'); break; case 'rubriques': // include('./selectors/rubriques.inc.php'); break; case 'origine': // include('./selectors/origine.inc.php'); break; case 'synonyms': // include('./selectors/sel_word.inc.php'); break; case 'notes': $selector = new selector_notes($this->user_input); break; case 'ontology' : $bt_ajouter = "no"; $selector = new selector_ontology($this->user_input); break; case 'ontologies' : // include('./selectors/ontologies.inc.php'); break; case 'abts' : $selector = new selector_abts($this->user_input); break; case 'groupexpl' : // include('./selectors/groupexpl.inc.php'); break; case 'oeuvre_event' : // include('./selectors/oeuvre_event.inc.php'); break; case 'bulletins': // include ('./selectors/bulletins.inc.php'); break; case 'commande': // include ('./selectors/commande.inc.php'); break; case 'contribution': $selector = new selector_contribution($this->user_input); break; default: break; } if (isset($selector_data)) { $selector->set_data(stripslashes($selector_data)); } $selector->proceed(); } } ?>