1108 |
$sql .= " AND p.price='".$_GET['search_montant_ht']."'"; |
$sql .= " AND p.price='".$_GET['search_montant_ht']."'"; |
1109 |
} |
} |
1110 |
if ($sall) $sql.= " AND (s.nom like '%".$sall."%' OR p.note like '%".$sall."%' OR pd.description like '%".$sall."%')"; |
if ($sall) $sql.= " AND (s.nom like '%".$sall."%' OR p.note like '%".$sall."%' OR pd.description like '%".$sall."%')"; |
1111 |
if ($_GET['socidp']) |
if ($socidp) $sql .= ' AND s.idp = '.$socidp; |
|
{ |
|
|
$sql .= ' AND s.idp = '.$_GET['socidp']; |
|
|
} |
|
1112 |
if ($_GET['viewstatut'] <> '') |
if ($_GET['viewstatut'] <> '') |
1113 |
{ |
{ |
1114 |
$sql .= ' AND p.fk_statut in ('.$_GET['viewstatut'].')'; |
$sql .= ' AND p.fk_statut in ('.$_GET['viewstatut'].')'; |