""){ $sSQLLocal = $sSQLLocal . "equipements.CodeE = ".Stripslashes($CodeE)." and "; $liensLocal = $liensLocal."CodeE=".$CodeE."&"; } if ($Nom <> "") { $sSQLLocal= $sSQLLocal."equipements.Nom Like '".StripSlashes($Nom)."%' and "; $liensLocal = $liensLocal."Nom=".$Nom."&"; } if ($Discription <> "") { $sSQLLocal= $sSQLLocal."equipements.Description Like '".Stripslashes($Discription)."%' and "; $liensLocal = $liensLocal."Description=".$Discription."&"; } if ($TypeUtilisation <> ""){ $sSQLLocal = $sSQLLocal."equipements.TypeUtilisation Like '".Stripslashes($TypeUtilisation)."%' and "; $liensLocal = $liensLocal."TypeUtilisation=".$TypeUtilisation."&"; } if ($StatutLocal <> "" ) { $sSQLLocal = $sSQLLocal."equipements.Statut = '".Stripslashes($StatutLocal)."' and "; $liensLocal = $liensLocal."StatutLocal=".$StatutLocal."&" ; } if ($Capacite <> "" ) { $sSQLLocal = $sSQLLocal."equipements.Capacite = " .$Capacite. " and "; $liensLocal = $liensLocal."Capacite=".$Capacite."&"; } if ($Cout <> "" ) { $sSQLLocal = $sSQLLocal ."equipements.Cout = ".$Cout. " and "; $liensLocal = $liensLocal."Cout=".$Cout."&"; } if ($CoutM <> "" ) { $sSQLLocal = $sSQLLocal ."equipements.CoutM = ".$CoutM. " and "; $liensLocal = $liensLocal."CoutM=".$CoutM."&"; } if ($sSQLLocal == "") header("Location: RechercheEquipementF.php"); if (isset( $_REQUEST["p"]) ) $p = $_REQUEST["p"]; else $p ="1 "; $liensLocal = $liensLocal."p=".$p.""; setcookie('cookie_lienslocal', $liensLocal, (time() + 3600)); $url = "RechercheEquipement.php?".substr($liensLocal, 0, strlen($liensLocal) - 4) ; $sSQL = "SELECT * FROM equipements WHERE ".substr($sSQLLocal, 0,strlen($sSQLLocal) - 4)." order by Nom"; $sql=substr($sSQL, 8); $pagine = pagine($sql,10,"p",$url); $rsQuery1 = mysql_query("SELECT * ".$sql); if (!$rsQuery1) { die('Could not query:' . mysql_error()); } if(!isset($rien)) $rien=false; if (mysql_num_rows($rsQuery1)==0) $rien=true; include "../include/top.inc"; /*********************************************Affichage*****************************/ ?>
 
 
Liste des Equipements

Nom Description Modifier Supprimer
">

  ">

">

  ">