alert(\"".$msg["connecteurs_no_source"]."\"); history.go(-1);"; exit(); } //Pas trouve, on décale tout !! for ($i=count($search)-1; $i>=0; $i--) { $search[$i+1]=$search[$i]; decale("field_".$i."_".$search[$i],"field_".($i+1)."_".$search[$i]); decale("op_".$i."_".$search[$i],"op_".($i+1)."_".$search[$i]); decale("inter_".$i."_".$search[$i],"inter_".($i+1)."_".$search[$i]); decale("fieldvar_".$i."_".$search[$i],"fieldvar_".($i+1)."_".$search[$i]); } $search[0]="s_2"; $op_0_s_2="EQ"; $field_0_s_2=$source; $inter="inter_1_".$search[1]; global ${$inter}; ${$inter}="and"; $_SESSION["checked_sources"] = $source; } } elseif ($_SESSION["ext_type"]=="multi") { if (is_array($field_0_s_2) && count($field_0_s_2)){ $_SESSION["checked_sources"] = $field_0_s_2; } } if (isset($notice_id)) { $notice_id_info = "¬ice_id=".$notice_id; } else { $notice_id_info = ""; } if ($sc->rec_history) { if (!isset($_SESSION["session_history"])) $_SESSION["session_history"] = array(); if ((string)$page=="") { $_SESSION["CURRENT"]=count($_SESSION["session_history"]); $_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["serialized_search"]=$sc->serialize_search(); $_SESSION["session_history"][$_SESSION["CURRENT"]]["QUERY"]["GET"]=$_GET; $_POST["page"]=0; $page=0; } } //Effectue la recherche et l'affiche $sc->show_results_unimarc("./catalog.php?categ=search&mode=7&sub=launch".$notice_id_info,"./catalog.php?categ=search&mode=7".$notice_id_info,true); if ($sc->rec_history) { if (!isset($_SESSION["session_history"])) $_SESSION["session_history"] = array(); if ($_SESSION["CURRENT"]!==false) { $_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["serialized_search"]=$sc->serialize_search(); $_SESSION["session_history"][$_SESSION["CURRENT"]]["NOTI"]["GET"]=$_GET; } } ?>