alpha_full/admin/catalog/articles/art.post.php
2026-04-06 22:58:51 +02:00

98 lines
5.1 KiB
PHP
Executable File

<?php
// ------------------------------------------------------
// formulaire
// ------------------------------------------------------
if (!empty($_GET['affOngArt'])) {$affOngArt=($_GET['affOngArt']);$active=$affOngArt;}
else
if (!empty($_POST['affOngArt'])) {$affOngArt=($_POST['affOngArt']);$active=$affOngArt;}
if (isset($_POST['codeOpeDeplacement'])) {$codeOpeDeplacement=$_POST['codeOpeDeplacement'];}
if (isset($_POST['idFamRech']) && !empty($_POST['idFamRech'])) {$idFamRech=$_POST['idFamRech'];}
if (isset($_GET['idFamRech']) && !empty($_GET['idFamRech'])) {$idFamRech=$_GET['idFamRech'];}
if (isset($_POST['idCatRech'])) {$idCatRech=$_POST['idCatRech'];}
if (isset($_POST['nomPrdRech'])) {$nomPrdRech=$_POST['nomPrdRech'];}
if (isset($_POST['idPrdRech'])) {$idPrdRech=$_POST['idPrdRech'];}
if (isset($_GET['idPrdRech'])) {$idPrdRech=$_GET['idPrdRech'];}
if (empty($idPrdRech) && isset($idPrd)) $idPrdRech=$idPrd;
if (isset($_POST['idRefRech'])) {$idRefRech=$_POST['idRefRech'];}
// ------------------------------------------------------
// produit libellés
// ------------------------------------------------------
if (isset($_POST['refPrd'])) {$refPrd=$_POST['refPrd'];}
if (isset($_POST['nomPrd'])) {$nomPrd=$_POST['nomPrd'];}
if (isset($_POST['descCourt'])) {$descCourt=$_POST['descCourt'];}
if (isset($_POST['descLong'])) {$descLong=$_POST['descLong'];}
// ------------------------------------------------------
// caracteristiques secondaires
// ------------------------------------------------------
if (isset($_POST['lienImgPrdPt'])) {$lienImgPrdPt=$_POST['lienImgPrdPt'];}
if (isset($_POST['lienImageGd'])) {$lienImageGd=$_POST['lienImageGd'];}
if (isset($_POST['promo'])) {$promo=$_POST['promo'];}
if (isset($_POST['gondole'])) {$gondole=$_POST['gondole'];}
if (isset($_POST['nouveaute'])) {$nouveaute=$_POST['nouveaute'];}
if (isset($_POST['prixHt'])) {$prixHt=$_POST['prixHt'];}
if (isset($_POST['prixTtc'])) {$prixTtc=$_POST['prixTtc'];}
if (isset($_POST['idTVA'])) {$idTVA=$_POST['idTVA'];}
if (isset($_POST['idEtat'])) {$idEtat=$_POST['idEtat'];}
if (isset($_POST['delais'])) {$delais=$_POST['delais'];}
if (isset($_POST['poids'])) {$poids=$_POST['poids'];}
if (isset($_POST['uniteDelais'])) {$uniteDelais=$_POST['uniteDelais'];}
if (isset($_POST['unitePoids'])) {$unitePoids=$_POST['unitePoids'];}
if (isset($_POST['annee'])) {$annee=$_POST['annee'];}
if (isset($_POST['stock'])) {$stock=$_POST['stock'];}
if (isset($_POST['idPaysPrd'])) {$idPaysPrd=$_POST['idPaysPrd'];}
if (isset($_POST['idMailVendeur'])) {$idMailVendeur=$_POST['idMailVendeur'];}
// ------------------------------------------------------
// Caracteristiques detaillées
// ------------------------------------------------------
if (isset($_POST['couleur1'])) {$couleur1=$_POST['couleur1'];}
if (isset($_POST['couleur2'])) {$couleur2=$_POST['couleur2'];}
if (isset($_POST['couleur3'])) {$couleur3=$_POST['couleur3'];}
if (isset($_POST['idLargeur'])) {$idLargeur=$_POST['idLargeur'];}
if (isset($_POST['uniteLarg'])) {$uniteLarg=$_POST['uniteLarg'];}
if (isset($_POST['idHauteur'])) {$idHauteur=$_POST['idHauteur'];}
if (isset($_POST['uniteHaut'])) {$uniteHaut=$_POST['uniteHaut'];}
if (isset($_POST['idLongueur'])) {$idLongueur=$_POST['idLongueur'];}
if (isset($_POST['uniteLong'])) {$uniteLong=$_POST['uniteLong'];}
if (isset($_POST['idDates'])) {$idDates=$_POST['idDates'];}
// ------------------------------------------------------
// caracteristiques dyn
// ------------------------------------------------------
if (isset($_POST['idType1'])) {$idType1=$_POST['idType1'];}
if (isset($_POST['idType2'])) {$idType2=$_POST['idType2'];}
if (isset($_POST['idType3'])) {$idType3=$_POST['idType3'];}
if (isset($_POST['idType4'])) {$idType4=$_POST['idType4'];}
if (isset($_POST['idType5'])) {$idType5=$_POST['idType5'];}
if (isset($_POST['idType6'])) {$idType6=$_POST['idType6'];}
if (isset($_POST['idType7'])) {$idType7=$_POST['idType7'];}
if (isset($_POST['idType8'])) {$idType8=$_POST['idType8'];}
if (isset($_POST['idType9'])) {$idType9=$_POST['idType9'];}
if (isset($_POST['idType10'])) {$idType10=$_POST['idType10'];}
if (isset($_POST['idType11'])) {$idType11=$_POST['idType11'];}
if (isset($_POST['idType12'])) {$idType12=$_POST['idType12'];}
if (isset($_POST['idType13'])) {$idType13=$_POST['idType13'];}
if (isset($_POST['idType14'])) {$idType14=$_POST['idType14'];}
if (isset($_POST['idType15'])) {$idType15=$_POST['idType15'];}
if (isset($_POST['idType16'])) {$idType16=$_POST['idType16'];}
if (isset($_POST['idType17'])) {$idType17=$_POST['idType17'];}
if (isset($_POST['idType18'])) {$idType18=$_POST['idType18'];}
if (isset($_POST['idType19'])) {$idType19=$_POST['idType19'];}
if (isset($_POST['idType20'])) {$idType20=$_POST['idType20'];}
if (isset($_POST['idType21'])) {$idType21=$_POST['idType21'];}
if (isset($_POST['idType22'])) {$idType22=$_POST['idType22'];}
if (isset($_POST['idType23'])) {$idType23=$_POST['idType23'];}
if (isset($_POST['lienNotice'])) {$lienNotice=$_POST['lienNotice'];}
?>