71 lines
3.4 KiB
PHP
Executable File
71 lines
3.4 KiB
PHP
Executable File
<?php
|
|
// -----------------------------------------------------
|
|
// Post page --> voir aussi agencement.post pour les variables communes
|
|
// -----------------------------------------------------
|
|
if (isset($_POST['isHtml'])) {$isHtml=$_POST['isHtml'];}
|
|
|
|
if (isset($_POST['theDescPage'])) $theDescPage=$_POST['theDescPage'];
|
|
if (isset($_POST['theTheme'])) $theTheme=$_POST['theTheme'];
|
|
if (isset($_POST['activPage'])) $activPage=$_POST['activPage'];
|
|
|
|
if (isset($_POST['theMsg'])) $theMsg=$_POST['theMsg'];
|
|
// if (isset($_POST['theMsg'])) $theMsg=htmlspecialchars($_POST['theMsg'], ENT_NOQUOTES, 'UTF-8');
|
|
// Corriger les apostrophes échappées
|
|
|
|
|
|
// -----------------------------------------------------
|
|
// Post Page
|
|
// -----------------------------------------------------
|
|
// Mise en session pour gallerie
|
|
// -----------------------------------------------------
|
|
if (isset($_SESSION['theNomPage']) && empty($_SESSION['theNomPage'])) $theNomPage=$_SESSION['theNomPage'] ;
|
|
if (isset ($_GET['theNomPage']) && !empty($_GET['theNomPage'])) $theNomPage=$_GET['theNomPage'];
|
|
if (isset ($_POST['theNomPage']) && !empty($_POST['theNomPage'])) $theNomPage=$_POST['theNomPage'];
|
|
|
|
if (isset($_SESSION['theEmplacement'])) $theEmplacement=$_SESSION['theEmplacement'];
|
|
if (isset($_POST['theEmplacement'])) $theEmplacement=$_POST['theEmplacement'];
|
|
|
|
if (isset($_SESSION['theFicPage'])) $theFicPage=$_SESSION['theFicPage'];
|
|
if (isset($_POST['theFicPage'])) $theFicPage=$_POST['theFicPage'];
|
|
|
|
// -----------------------------------------------------
|
|
// Post Item
|
|
// -----------------------------------------------------
|
|
// Pour la page preview par objet
|
|
// -----------------------------------------------------
|
|
if (isset($_SESSION['theIdItem'])) $theIdItem=$_SESSION['theIdItem'];
|
|
if (isset($_GET['theIdItem'])) $theIdItem=$_GET['theIdItem'];
|
|
if (isset($_POST['theIdItem'])) $theIdItem=$_POST['theIdItem'];
|
|
|
|
if (isset($_POST['propager'])) $propager=$_POST['propager'];
|
|
|
|
// pas de post
|
|
if (isset($_SESSION['initCreaItem'])) $initCreaItem=$_SESSION['initCreaItem'];
|
|
if (isset($_GET['initCreaItem'])) $initCreaItem=$_GET['initCreaItem'];
|
|
if (isset($_POST['initCreaItem'])) $initCreaItem=$_POST['initCreaItem'];
|
|
// pas de get (ancien dans pages)
|
|
// if (isset($_GET['initCreaItem'])) $initCreaItem=$_GET['initCreaItem'];
|
|
|
|
if (isset($_SESSION['absolu'])) $absolu=$_SESSION['absolu'];
|
|
if (isset($_POST['absolu'])) $absolu=$_POST['absolu'];
|
|
|
|
if (isset($_POST['theNewIdItem'])) $theNewIdItem=$_POST['theNewIdItem'];
|
|
|
|
if (isset( $_SESSION['theItemNom'])) $theItemNom=$_SESSION['theItemNom'];
|
|
if (isset($_POST['theItemNom'])) $theItemNom=$_POST['theItemNom'];
|
|
|
|
if (isset( $_SESSION['theOrdre'])) $theOrdre=$_SESSION['theOrdre'];
|
|
if (isset($_POST['theOrdre'])) $theOrdre=$_POST['theOrdre'];
|
|
if (isset($_POST['oldOrdre'])) $oldOrdre=$_POST['oldOrdre'];
|
|
|
|
if (isset($_SESSION['theType'])) $theType=$_SESSION['theType'];
|
|
if (isset($_GET['theType'])) $theType=$_GET['theType'];
|
|
if (isset($_POST['theType'])) $theType=$_POST['theType'];
|
|
|
|
if (isset( $_SESSION['theFichier'])) $theFichier=$_SESSION['theFichier'];
|
|
if (isset($_POST['theFichier'])) $theFichier=$_POST['theFichier'];
|
|
|
|
if (isset( $_SESSION['theLienExterne'])) $theLienExterne=$_SESSION['theLienExterne'];
|
|
if (isset($_POST['theLienExterne'])) $theLienExterne=$_POST['theLienExterne'];
|
|
|
|
?>
|