log($_SESSION, 'SESSION'); isset($_SESSION['recherchehisto']['source'])? $source = $_SESSION['recherchehisto']['source'] : $source=''; isset($_SESSION['recherchehisto']['bodacc'])? $bodacc = $_SESSION['recherchehisto']['bodacc'] : $bodacc=''; isset($_SESSION['recherchehisto']['histo'])? $histo = $_SESSION['recherchehisto']['histo'] : $histo=''; isset($_SESSION['recherchehisto']['annee'])? $annee = $_SESSION['recherchehisto']['annee'] : $annee=''; isset($_SESSION['recherchehisto']['dateparution'])? $dateparution = $_SESSION['recherchehisto']['dateparution'] : $dateparution=''; isset($_SESSION['recherchehisto']['nparution'])? $nparution = $_SESSION['recherchehisto']['nparution'] : $nparution=''; isset($_SESSION['recherchehisto']['bpage'])? $bpage = $_SESSION['recherchehisto']['bpage'] : $bpage = ''; isset($_SESSION['recherchehisto']['nannonce'])? $nannonce = $_SESSION['recherchehisto']['nannonce'] : $nannonce = ''; isset($_SESSION['recherchehisto']['naffaire'])? $naffaire = $_SESSION['recherchehisto']['naffaire'] : $naffaire = '' ; isset($_SESSION['recherchehisto']['txt'])? $txt = $_SESSION['recherchehisto']['txt'] : $txt = ''; isset($_REQUEST['p']) ? $p=$_REQUEST['p'] : $p=0 ; try { $O = $client->rechercheHisto($txt, $annee, $bodacc, $p, $_SESSION['tabInfo']['nbReponses']); $firephp->log($O,'result'); } catch (SoapFault $fault) { require_once 'soaperror.php'; processSoapFault($client,$fault,$tabInfo, true); } ?>
Pas de résultat affiché avec le(s) critère(s) =$strCriteres?>
'; echo $O['nbReponsesTotal'].' réponses. avec les critères '.$strCriteres.''; if ($O['nbReponses']<$O['nbReponsesTotal']) { $totPage = ceil($O['nbReponsesTotal']/$O['nbReponses']); $curPage = ceil($p/$O['nbReponses'])+1; echo $_SESSION['tabInfo']['nbReponses'].' résultats affichés.'; echo 'Page '.$curPage.'/'.$totPage.'.'; $prec = $p-$_SESSION['tabInfo']['nbReponses']; $suiv = $p+$_SESSION['tabInfo']['nbReponses']; } else { $totPage = $curPage = 1; } echo ''; if($p>=200) { ?>Merci d'affiner votre recherche.