Components

 
$MANUFACTURER"; $col2 = "Catégorie"; $contenu = "family"; } if (isset($FAMILY) AND $FAMILY != "CATEGORIES") { $requete.= "AND family = '$FAMILY'"; $Blanc=ereg_replace(" ", "%20", $FAMILY); $lien1 = "&FAMILY=$Blanc"; $TITLE_COMPOSANT = "CATEGORIE -> $FAMILY" ; $col2 = "Fabricant"; $contenu = "manufacturer"; } // nbre de resultat que la requete renvoie $nbre_total=mysql_num_rows(mysql_query($requete)); //x page de 20 $nbre_page=ceil($nbre_total/50); $page=($_GET[page]) ? "$_GET[page]" : "1"; $debut=($page*50)-50; $requete.= "order by manufacturer ASC"; $requete.=" LIMIT $debut,50"; $resultat=mysql_query($requete); $nb=mysql_num_rows(mysql_query($requete)); // affiche 9 pages max if ($_GET[page]>5 && $_GET[page]<=($nbre_page-4)) {$decale=$_GET[page]-5;} elseif($_GET[page]<5){$decale=0;} elseif($_GET[page]>($nbre_page-5)) {$decale=$nbre_page-9;} //bouton précedent et suivant $plus=($page==$nbre_page) ? "" : "Suivant"; $moins=($page==1) ? "" : "Précédent"; $fin_boucle=($nbre_page<10) ? "$nbre_page" : "".(9+$decale).""; for ($i=1+$decale;$i<=$fin_boucle;$i++) { $menu.=($i==$page) ? " ".$i." " : " ".$i." "; } ?>
 
 
 
Part Number
Description
Stock
WIDTH="150" HEIGHT="20" >   class=texte HEIGHT="20"> class=texte HEIGHT="20"> HEIGHT="20">
2015 FC EQUIPMENTS | Contact us | Admin