alpha_full/admin/pages/items/itemCreate.modale.php
2026-04-06 22:58:51 +02:00

31 lines
1.2 KiB
PHP
Executable File

<?php
$nomFicAppelant = basename(__FILE__);
// en creation on part de zero la première fois
if ($initCreaItem==1 && $codeOpe != "majGallerie") {
include ("./agencement/blocDroit/pages/items/reqItem/selectMaxItem.php");
if (isset($_SESSION['tabOrdre'])) {$theOrdre=count($_SESSION['tabOrdre'])+1;} else $theOrdre=1;
$theType='text';
$theStyle='-';
$theFichier='-';
$theLien='-';
$theClasse='-';
$theItemNom="Contenu " .$theNewIdItem;
$theMsg="Entrez un texte";
$_SESSION['theFichier']='';
}
// -----------------------------------------------------
// Titre de page
// -----------------------------------------------------
echo '<span class="libChampsWebmaster" >Création d\'un contenu</span>';
// -----------------------------------------------------
// Champs cachés
// -----------------------------------------------------
echo '<input type="hidden" name="theNewIdItem" value="' .$theNewIdItem. '" >';
// -----------------------------------------------------
// Formulaire commun a create et modify
// -----------------------------------------------------
include ("./agencement/blocDroit/pages/items/itemFormulaire.php");
?>