alpha_full/pages/produits/gondole.post.php
2026-04-06 22:58:51 +02:00

45 lines
1.5 KiB
PHP
Executable File

<?php
$borne1=0;
// si carroussel (chargé depuis index.php:requete_themeParam_caroussel_constantes.php, sinon dans la session
if (isset($nbResPrd)) {$nbResAff=$nbResPrd;}
elseif (!empty($_SESSION['nbResPrd'])) $nbResAff=$_SESSION['nbResPrd'];
else $nbResAff=15;
if (isset($_GET['typeDeRecherche'])) {$typeDeRecherche=$_GET['typeDeRecherche'];}
if (isset($_POST['typeDeRecherche'])) {$typeDeRecherche=$_POST['typeDeRecherche'];}
// ---------------------------------------------------
// famille
// ---------------------------------------------------
if (isset($_POST['idFam'])) {$idFam=$_POST['idFam'];}
else
{if (isset($_GET['idFam'])) {$idFam=$_GET['idFam'];}
}
// categorie
if (isset($_POST['idCat'])) {$idCat=$_POST['idCat'];}
else
{if (isset($_GET['idCat'])) {$idCat=$_GET['idCat'];}}
// ---------------------------------------------------
// nomPrd
// ---------------------------------------------------
if (isset($_POST['nomPrd'])) {$nomPrd=$_POST['nomPrd'];}
else
{if (isset($_GET['nomPrd'])) {$nomPrd=$_GET['nomPrd'];}}
if (isset($_GET['idPrd'])) {$idPrd=$_GET['idPrd'];}
// ---------------------------------------------------
// ref
// ---------------------------------------------------
if (isset($_POST['ref'])) {$ref=$_POST['ref'];}
else
{if (isset($_GET['ref'])) {$ref=$_GET['ref'];}}
// ---------------------------------------------------
// bornage
// ---------------------------------------------------
if (isset($_GET['borne1'])) {$borne1=$_GET['borne1'];}
?>