".$msg["etageres_see"]."\n"; */ //Création de la recherche équivalente à tous les champs si on est en autolevel //Si le niveau 1 est shunté if (($opac_autolevel2)&&($autolevel1)&&(!$get_last_query)) { //On fait la recherche tous les champs $search_all_fields = new searcher_all_fields(stripslashes($user_query)); $nb_result = $search_all_fields->get_nb_results(); if ($nb_result) { $count=$nb_result; $l_typdoc= implode(",",$search_all_fields->get_typdocs()); $mode="tous"; //définition du formulaire $form_lvl1 = "
"; if (function_exists("search_other_function_post_values")){ $form_lvl1 .=search_other_function_post_values(); } $form_lvl1 .= " "; if($opac_indexation_docnum_allfields) $form_lvl1 .= ""; $form_lvl1 .= "
"; unset($_SESSION["level1"]); $_SESSION["level1"]["tous"]["form"]=$form_lvl1; $_SESSION["level1"]["tous"]["count"]=$nb_result; $_SESSION["search_type"]="simple_search"; rec_history(); $_SESSION["new_last_query"]=$_SESSION["nb_queries"]; } else { $lvl="search_result"; unset($autolevel1); } } if (($_SESSION["nb_queries"])&&($lvl!="search_result")) $navig.="".$msg["actions_last_search"]."\n"; if (($lvl!="more_results")&&($_SESSION["last_query"]!="")) { if ($_SESSION["last_query"]==$_SESSION["nb_queries"]) $search_name=" ".$msg["actions_last_page_last_search"]; else { if ($_SESSION["lq_mode"]=="extended") $search_name=" ".$msg["actions_last_page_extended_search"]." "; else $search_name=" ".$msg["actions_last_page_simple_search"]." "; $search_name.=$msg['number'].$_SESSION["last_query"]; } $navig.="".sprintf($msg["actions_last_page"],$_SESSION["lq_page"],$msg[$_SESSION["list_name_msg"]],$search_name); $navig.="\n"; } if (($_SESSION["nb_queries"])&&($lvl!="search_history")) $navig.="".$msg["actions_history"]."\n"; if (($lvl!="index")&&($lvl!="")) { if ($lvl!="section_see") { $item=""; if ($opac_show_categ_browser) { $item=$msg["navig_categ"]; $class="navig_categ"; } if (($opac_show_dernieresnotices)&&(!$item)) { $item=$msg["navig_lastnotices"]; $class="navig_lastnotices"; } if (($opac_show_etageresaccueil)&&(!$item)) { $item=$msg["navig_etageres"]; $class="navig_etageres"; } if (($opac_show_marguerite_browser)&&(!$item)) { $item=$msg["navig_marguerite"]; $class="navig_marguerite"; } if (($opac_show_100cases_browser)&&(!$item)) { $item=$msg["navig_100cases"]; $class="navig_categ"; } if (!$item) { $item=$msg[avec_recherches]; $class="avec_recherches"; } } else { $item=$msg[avec_recherches]; $class="avec_recherches"; } $navig.="".sprintf($msg["actions_first_screen"],$item)."\n"; if($opac_navig_empr) $navig.="".$msg["empr_bt_show_compte"]."\n"; } if ($_SESSION["user_code"]){ if($opac_show_onglet_empr==3) $navig.="".$msg["empr_bt_show_compte"]."\n"; elseif($opac_show_onglet_empr==4) $navig.="".$msg["empr_bt_show_compte"]."\n"; } if($opac_show_onglet_help && ((($lvl!="index") && ($lvl!="search_type_asked") && ($lvl!="search_result") && ($lvl!=""))||(stristr($_SERVER['REQUEST_URI'], "empr.php")))) $navig .= "".$msg["search_help"]."\n"; if ($navig) { print "\n"; }else{ print ""; } if (((($opac_cart_allow)&&(!$opac_cart_only_for_subscriber))||(($opac_cart_allow)&&($_SESSION["user_code"])))&&($lvl!="show_cart")) print "
"; else print "
"; ?>