diff --git a/includes/recherche/recherche_act.php b/includes/recherche/recherche_act.php index 22eddb4d6..52967eca3 100644 --- a/includes/recherche/recherche_act.php +++ b/includes/recherche/recherche_act.php @@ -31,23 +31,11 @@ foreach (array('siret',
- +
- - -
- -
- - / - / - -
- -
- +
diff --git a/includes/recherche/recherche_list.php b/includes/recherche/recherche_list.php index 0d74db95f..6b2aaa9e9 100644 --- a/includes/recherche/recherche_list.php +++ b/includes/recherche/recherche_list.php @@ -154,25 +154,11 @@ if ($typeRech == 'ent') { } } elseif ($typeRech == 'act') { - $actNom = trim($formR['actNom']); - $actPrenom = trim($formR['actPrenom']); - $d = array(); - $d[] = preg_replace('/[^0-9]/', '', trim($formR['naissAAAA'])); - $d[] = preg_replace('/[^0-9]/', '', trim($formR['naissMM'])); - $d[] = preg_replace('/[^0-9]/', '', trim($formR['naissJJ'])); - $dateNaiss = ''; - $i = 0; - foreach ($d as $item) { - if (empty($item)) break; - if ($i>0 && $i'') { } elseif ($typeRech=='act') { try { $O = $client->searchAct( - $actNom, $actPrenom, $dateNaiss, $lieuNaiss, $siret, $pays, $pctMin, $pctMax, + $actNomRs, $cpVille, $siret, $pays, $pctMin, $pctMax, $tabInfo['nbReponses'], 200, false ); echo '';