'; echo '  ' .$messTab. ''; echo ''; } // Liste des catégories par blocs include ("./pages/accueil/accueil-M3.reqSelect.php"); $test=count($statusFamTab); $imgFamHeight=400/$test; $imgFamHeight=intval($imgFamHeight). 'px'; // echo $imgFamHeight; for($q=0; $q<$test; $q++) { if ($statusFamTab[$q]!=0) { if (file_exists($grandeImageTab[$q]) && $grandeImageTab[$q]!='' && $grandeImageTab[$q]!='-' ) { // afficher la categorie itemImageNew(0, 1, 1, 'pageAccM3', 'max-height:' .$imgFamHeight. ';', 'span', 'titreFamilleBlocAcc', '-baliseStyle-', 'onClick="self.location.href=\'id=' .$idFamTab[$q]. '-categorie=' .$libFamTab[$q]. '\'"', '-', '', 'imgFamilleBlocAcc', '-icoStyle-', $grandeImageTab[$q], '-champType-', '-champClass-', '-champStyle-', '-champValue-', '-msgStyle-', $libFamTab[$q], 2 ,'-id-'); } else { //echo $libFamTab[$q].'-'.$grandeImageTab[$q]; } } else { //echo 'statusFamTab'.$statusFamTab[$q]; } } ?>