43 lines
2.1 KiB
PHP
Executable File
43 lines
2.1 KiB
PHP
Executable File
<?php
|
|
// -----------------------------------------------------
|
|
// Post
|
|
// -----------------------------------------------------
|
|
if (isset($_POST['refresh'])) {$refresh=($_POST['refresh']);}
|
|
if (isset($_POST['theLG'])) {$theLG=$_POST['theLG']; $lg=$theLG;}
|
|
|
|
// -----------------------------------------------------
|
|
// Affichage
|
|
// -----------------------------------------------------
|
|
if (isset($_POST['sectionAff'])) $sectionAff=$_POST['sectionAff'];
|
|
if (isset($_GET['sectionAff'])) $sectionAff=$_GET['sectionAff'];
|
|
|
|
if (isset($_SESSION['textesAffSection'])) $textesAffSection=$_SESSION['textesAffSection'];
|
|
if (isset($_GET['textesAffSection'])) $textesAffSection=$_GET['textesAffSection'];
|
|
if (isset($_POST['textesAffSection'])) $textesAffSection=$_POST['textesAffSection'];
|
|
|
|
if (empty($lib)) {$lib="Elément de l'entête";}
|
|
include ("./contenu/contenu.destination.php");
|
|
|
|
if (isset($_SESSION['numTxt'])) $numTxt=$_SESSION['numTxt'];
|
|
if (isset($_GET['numTxt'])) $numTxt=$_GET['numTxt'];
|
|
|
|
// idLanguenav peut venir de menu contextuel dans ce cas c'est le numero de la `sous-table`, sinon il vient du post et c'est le n° de la globalité de la table
|
|
// fait dans contenu : conflit de formulaires
|
|
if (isset($_SESSION['idLanguenav'])) $idLanguenav=$_SESSION['idLanguenav'];
|
|
if (isset($_POST['idLanguenav'])) $idLanguenav=$_POST['idLanguenav'];
|
|
if (isset($_GET['idLanguenav'])) $idLanguenav=$_GET['idLanguenav'];
|
|
|
|
// -----------------------------------------------------
|
|
// Formulaire
|
|
// -----------------------------------------------------
|
|
if (isset($_POST['theValue'])) {$theValue=$_POST['theValue'];}
|
|
if (isset($_POST['thePop'])) {$thePop=$_POST['thePop'];}
|
|
if (isset($_POST['theLien'])) {$theLien=$_POST['theLien'];}
|
|
if (isset($_POST['theAlt'])) {$theAlt=$_POST['theAlt'];}
|
|
if (isset($_POST['theAff'])) {$theAff=$_POST['theAff'];}
|
|
if (isset($_POST['theDesc'])) {$theDesc=$_POST['theDesc'];}
|
|
if (isset($_POST['theClasse'])) {$theClasse=$_POST['theClasse'];}
|
|
if (isset($_POST['theStyle'])) {$theStyle=$_POST['theStyle'];}
|
|
if (isset($_POST['theOldImage'])) {$theOldImage=$_POST['theOldImage'];}
|
|
if (isset($_POST['theImage'])) {$theImage=$_POST['theImage'];}
|
|
?>
|