$message = $msg["cart_full"]; } } else { if ($lvl) { switch ($lvl) { case "more_results": //changement de plan ! switch ($mode) { case "tous": $searcher = new searcher_all_fields(stripslashes($user_query)); if (!empty($_SESSION["last_sortnotices"])) { $cart_sort = $_SESSION["last_sortnotices"]; } else { $cart_sort = "default"; } $notices = $searcher->get_sorted_cart_result($cart_sort, 0, $opac_max_cart_items); if (count($notices)) { $notices = implode(",", $notices); } add_notices_to_cart($notices); break; case "title": case "titre": $searcher = new searcher_title(stripslashes($user_query)); if (!empty($_SESSION["last_sortnotices"])) { $cart_sort = $_SESSION["last_sortnotices"]; } else { $cart_sort = "default"; } $notices = $searcher->get_sorted_cart_result($cart_sort, 0, $opac_max_cart_items); if (count($notices)) {