34 lines
1.5 KiB
PHP
Executable File
34 lines
1.5 KiB
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
if (!empty($b1)) $test=count($b1);
|
|
|
|
// option afficher les resultats
|
|
if ($catalogAfficher[22]==1) {
|
|
if ( $affMContext === true ) echo '<div id="affRes" ' .$mouseOverMenuContext. ' onContextMenu="return mContextuel( this, \'affRes\', \'Catalogue\', 22, event );" >';
|
|
else echo '<div id="affRes" >';
|
|
if ($catalogAfficher[30]==1 && $resultCmpt >0 ) {
|
|
// msg ==> 6 articles trouvés
|
|
dynamiqItemMessage ( 0, 0, 'msgCatalogue','-', 'span','-', '-action-', 'catalog', 22, $resultCmpt);
|
|
|
|
if ($test >1 ) {
|
|
echo '      ';
|
|
// msg ==> pages 1, 2 ,...
|
|
dynamiqItemMessage( 0, 0, 'msgCatalogue','-', 'span','affRes', '-action-', 'catalog', 30, '');
|
|
if (empty($affPageSite) || !isset($affPageSite) || $affPageSite==''|| $affPageSite==0) $affPageSite=1;
|
|
$affPageSite=1;
|
|
for ($ab=0; $ab<$j; $ab++) {
|
|
echo ' <a href="recherche-p=' .$affPageSite. '-b=' .$b1[$ab]. '-idCat=' .$idCat. '-idFam=' .$idFam. '-afficheRes=oui-typeRecherche=' .$typeDeRecherche. '-nomProduit=' .$nomPrd. '-reference=' .$ref. '"><span >';
|
|
if ($borne1==$b1[$ab])echo '<b>';
|
|
echo ($ab+1);
|
|
if ($borne1==$b1[$ab]) echo '</b>';
|
|
echo '</span> </a> ';
|
|
}
|
|
}
|
|
}
|
|
else {
|
|
dynamiqItemMessage ( 0, 0, 'msgCatalogue', '-', 'span', 'msgCatalogue', '-action-', 'catalog', 19, '-');
|
|
}
|
|
echo '</div>';
|
|
}
|
|
echo '<div class="lignesCatalogue"></div>';
|
|
?>
|