get_result(); $nb_result_keywords = $search_keywords->get_nb_results(); $l_typdoc= implode(",",$search_keywords->get_typdocs()); $search_terms = $aq->get_positive_terms($aq->tree); //On enlève le dernier terme car il s'agit de la recherche booléenne complète unset($search_terms[count($search_terms)-1]); $form = "
"; if (function_exists("search_other_function_post_values")){ $form .=search_other_function_post_values(); } $form .= "
"; if($opac_allow_affiliate_search){ if ($auto_submit) { if($nb_result_keywords){ print "
".$form."
"; } } else { $search_result_affiliate_all = str_replace("!!mode!!","keywords",$search_result_affiliate_lvl1); $search_result_affiliate_all = str_replace("!!search_type!!","notices",$search_result_affiliate_all); $search_result_affiliate_all = str_replace("!!label!!",$msg['keywords'],$search_result_affiliate_all); $search_result_affiliate_all = str_replace("!!nb_result!!",$nb_result_keywords,$search_result_affiliate_all); if($nb_result_keywords){ $link = "".$msg['suite']." "; }else $link = ""; $search_result_affiliate_all = str_replace("!!link!!",$link,$search_result_affiliate_all); $search_result_affiliate_all = str_replace("!!style!!","",$search_result_affiliate_all); $search_result_affiliate_all = str_replace("!!user_query!!",rawurlencode(stripslashes((($charset == "utf-8")?$user_query:utf8_encode($user_query)))),$search_result_affiliate_all); $search_result_affiliate_all = str_replace("!!form_name!!","search_keywords",$search_result_affiliate_all); $search_result_affiliate_all = str_replace("!!form!!",$form,$search_result_affiliate_all); print $search_result_affiliate_all; } }else{ if ($nb_result_keywords) { if ($auto_submit) { print $form.""; } else { $mots_cle_chaine = ''; print "
"; print ""; if($opac_allow_tags_search) print $msg['tag']; else print $msg['keywords']; print " ".$nb_result_keywords." ".$msg['results']." "; print "$msg[suite] "; print $form; print "
"; } } } if ($nb_result_keywords) { $_SESSION["level1"]["keywords"]["form"]=$form; $_SESSION["level1"]["keywords"]["count"]=$nb_result_keywords; }