$mc['serialized_search'], 'search_type' => $mc['search_type'] )); unset($search); global $search; //On redéclare $search en globale pour la suite global $op_0_s_4; $op_0_s_4="EQ"; global $inter_0_s_4; $inter_0_s_4=""; $search=array(); $search[0]="s_4"; if (isset($_SESSION['opac_view']) && $_SESSION['opac_view']) { $query = "select opac_view_query from opac_views where opac_view_id = ".$_SESSION['opac_view']; $result = pmb_mysql_query($query); if ($result && pmb_mysql_num_rows($result)) { $row = pmb_mysql_fetch_object($result); $serialized = $row->opac_view_query; } if ($serialized) { global $field_1_s_4; $field_1_s_4[]=serialize(array( 'serialized_search' => $serialized, 'search_type' => "search_fields" )); global $op_1_s_4; $op_1_s_4="EQ"; global $inter_1_s_4; $inter_1_s_4="and"; $search[1]="s_4"; } } $es = new search(); $alert_see_mc_values = $es->make_hidden_search_form("./index.php?lvl=more_results","mc_values","",true);