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

73 lines
3.8 KiB
PHP
Executable File

<?php
if (isset($_POST['lgCourante'])) {$_SESSION['lgCouranteCode']= $_POST['lgCourante']; }
// pour les variables transverses on ne doit pas avoir besoin de post, il faut utiliser la session : a tester avant de modifier
if (isset($_SESSION['agencementOnglet'])) {$agencementOnglet=$_SESSION['agencementOnglet']; }
if (isset($_GET['agencementOnglet'])) {$agencementOnglet=$_GET['agencementOnglet']; }
if (isset($_POST['agencementOnglet']) && (!empty('agencementOnglet')) ) {$agencementOnglet=$_POST['agencementOnglet'];}
if (isset($_SESSION['numeroMenuPrpal'])) {$numeroMenuPrpal=$_SESSION['numeroMenuPrpal']; }
if (isset($_SESSION['numeroMenuPrpal'])) {$numeroMenuPrpal=$_SESSION['numeroMenuPrpal']; }
if (isset($_GET['numeroMenuPrpal'])) {$numeroMenuPrpal=$_GET['numeroMenuPrpal']; }
if (isset($_POST['numeroMenuPrpal']) && (!empty('numeroMenuPrpal')) ) {$numeroMenuPrpal=$_POST['numeroMenuPrpal'];}
if (isset($_SESSION['numeroSousMenu'])) {$numeroSousMenu=$_SESSION['numeroSousMenu']; }
if (isset($_GET['numeroSousMenu'])) {$numeroSousMenu=$_GET['numeroSousMenu']; }
if (isset($_POST['numeroSousMenu']) && (!empty('numeroSousMenu')) ) {$numeroSousMenu=$_POST['numeroSousMenu'];}
if (isset($_SESSION['icone'])) { $theIco=$_SESSION['icone']; }
if (isset($_GET['theIco'])) { $theIco=$_GET['theIco']; }
if (!empty($_POST['theIco']) && (!empty('theIco')) ) {$theIco=$_POST['theIco'];$_SESSION['icone']=$theIco;}
// theOldImage pour recup dossier, pas pour recup old image...
if (isset($theIco) ) $theOldImage=$theIco;
if (isset($_POST['propager'])) {$propager=$_POST['propager'];} else {$propager=0;}
if (isset($_SESSION['textesAffSection'])) $textesAffSection=$_SESSION['textesAffSection'];
if (isset($_POST['textesAffSection']) && (!empty('textesAffSection')) ) {$textesAffSection=$_POST['textesAffSection'];}
if (isset($_GET['textesAffSection'])) {$textesAffSection=$_GET['textesAffSection'];}
if (isset($_SESSION['idLanguenav'])) {$idLanguenav=$_SESSION['idLanguenav'];}
if (isset($_GET['idLanguenav'])) {$idLanguenav=$_GET['idLanguenav'];}
if (isset($_POST['idLanguenav']) && (!empty('idLanguenav')) ) {$idLanguenav=$_POST['idLanguenav'];}
$_SESSION['idLanguenav']= $idLanguenav;
if (isset($_GET['theIdPage'])) {$theIdPage=$_GET['theIdPage'];}
if (isset($_POST['theIdPage']) && (!empty('theIdPage')) ) {$theIdPage=$_POST['theIdPage'];}
if (isset($_SESSION['nomCss'])) {$nomCss=$_SESSION['nomCss'];}
// if (isset($_GET['nomCss'])) {$nomCss=$_GET['nomCss'];}
if (isset($_POST['nomCss']) && (!empty('nomCss')) ) {$nomCss=$_POST['nomCss'];}
$_SESSION['nomCss']=$nomCss;
if (isset($_SESSION['theVoletCss'])) {$theVoletCss=$_SESSION['theVoletCss'];}
if (isset($_GET['theVoletCss'])) {$theVoletCss=$_GET['theVoletCss'];}
if (isset($_POST['theVoletCss']) && (!empty('theVoletCss')) ) {$theVoletCss=$_POST['theVoletCss'];}
if (isset($theVoletCss) && $theVoletCss!='' ) $_SESSION['theVoletCss']=$theVoletCss;
if (isset($_GET['theIdItem'])) {$theIdItem=$_GET['theIdItem'];}
if (isset($_POST['theIdItem']) && (!empty('theIdItem')) ) {$theIdItem=$_POST['theIdItem'];}
// numero item dans contenu ,pour revenir dessus
// if (isset($_GET['c']) && (!empty('c')) ) {$c=$_GET['c'];}
// if (isset($_POST['c']) && (!empty('c')) ) {$c=$_POST['c'];}
// par defaut
if (!isset($numeroMenuPrpal)) $numeroMenuPrpal=0;
if (!isset($agencementOnglet)) $agencementOnglet=2;
// pour file gallerie
if (isset($_GET['src'])) {$src=$_GET['src']; }
// fa-duotone fa-basket-shopping
if (isset($_GET['appel'])) {$appel=$_GET['appel'];}
if (isset($_POST['appel']) && (!empty('appel')) ) {$appel=$_POST['appel'];}
if (isset($_GET['niveau'])) {$niveau=$_GET['niveau'];}
if (isset($_POST['niveau']) && (!empty('niveau')) ) {$niveau=$_POST['niveau'];}
?>