116 lines
6.0 KiB
PHP
Executable File
116 lines
6.0 KiB
PHP
Executable File
<?php
|
|
// -----------------------------------------------------
|
|
// post des sections
|
|
// -----------------------------------------------------
|
|
if (isset($_POST['sectionAffValue'])) {$sectionAffValue=($_POST['sectionAffValue']);}
|
|
if (isset($_POST['sectionPosValue'])) {$sectionPosValue=($_POST['sectionPosValue']);}
|
|
if (isset($_POST['sectionEspValue'])) {$sectionEspValue=($_POST['sectionEspValue']);}
|
|
if (isset($_POST['sectionTailleValue'])) {$sectionTailleValue=($_POST['sectionTailleValue']);}
|
|
if (isset($_POST['sectionBordsValue'])) {$sectionBordsValue=($_POST['sectionBordsValue']);}
|
|
if (isset($_POST['sectionCoulValue'])) {$sectionCoulValue=($_POST['sectionCoulValue']);}
|
|
if (isset($_POST['sectionTexteValue'])) {$sectionTexteValue=($_POST['sectionTexteValue']);}
|
|
if (isset($_POST['sectionPoliceValue'])) {$sectionPoliceValue=($_POST['sectionPoliceValue']);}
|
|
if (isset($_POST['sectionImgFondsValue'])) {$sectionImgFondsValue=($_POST['sectionImgFondsValue']);}
|
|
if (isset($_POST['anim'])) {$anim=($_POST['anim']);}
|
|
|
|
// -----------------------------------------------------
|
|
// val des sections
|
|
// -----------------------------------------------------
|
|
echo '<input type="hidden" id="sectionAffValue" name="sectionAffValue" value="' .$sectionAffValue. '" >';
|
|
echo '<input type="hidden" id="sectionPosValue" name="sectionPosValue" value="' .$sectionPosValue. '" >';
|
|
echo '<input type="hidden" id="sectionEspValue" name="sectionEspValue" value="' .$sectionEspValue. '" >';
|
|
echo '<input type="hidden" id="sectionTailleValue" name="sectionTailleValue" value="' .$sectionTailleValue. '" >';
|
|
echo '<input type="hidden" id="sectionBordsValue" name="sectionBordsValue" value="' .$sectionBordsValue. '" >';
|
|
echo '<input type="hidden" id="sectionCoulValue" name="sectionCoulValue" value="' .$sectionCoulValue. '" >';
|
|
echo '<input type="hidden" id="sectionTexteValue" name="sectionTexteValue" value="' .$sectionTexteValue. '" >';
|
|
echo '<input type="hidden" id="sectionPoliceValue" name="sectionPoliceValue" value="' .$sectionPoliceValue. '" >';
|
|
echo '<input type="hidden" id="sectionImgFondsValue" name="sectionImgFondsValue" value="' .$sectionImgFondsValue. '" >';
|
|
echo '<input type="hidden" id="anim" name="anim" value="' .$anim. '" >';
|
|
|
|
if ( $_SESSION['isAgencement'] === true ) echo '<div id="sousMenuPagesWebm" style="height:250px; top:0px; display:flex">';
|
|
else echo '<div id="sousMenuPagesWebm" style="height:120px; top:0px; ; display:flex">';
|
|
|
|
// -----------------------------------------------------
|
|
// Bouton enregistrer
|
|
// -----------------------------------------------------
|
|
echo '<span class="boutonsMenusWbm boutonEnregistrer" >';
|
|
echo ' <i id="btnPub" class=" boutonEnregistrer fad fa-save"></i>';
|
|
echo '<span title="Enregistrer et générer les fichiers CSS du thème" onClick="getCss();" style=" color:white;"> Enregistrer</span> ';
|
|
echo '</span>';
|
|
|
|
// -----------------------------------------------------
|
|
// Boutons des sections
|
|
// -----------------------------------------------------
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(1);" id="btn1" >';
|
|
echo '<i class="fab fa-font-awesome" id="ico1" ></i> ';
|
|
echo '<span >Affichage</span>';
|
|
echo '</span>';
|
|
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(2);" id="btn2" >';
|
|
echo '<i class="fad fa-hand-point-right" id="ico2" ></i> ';
|
|
echo '<span >Position</span>';
|
|
echo '</span>';
|
|
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(3);" id="btn3" >';
|
|
echo '<i class="fad fa-compress-arrows-alt" id="ico3" ></i> ';
|
|
echo '<span >Espacement</span>';
|
|
echo '</span>';
|
|
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(4);" id="btn4" >';
|
|
echo '<i class="fad fa-text-height" id="ico4" ></i> ';
|
|
echo '<span >Taille</span>';
|
|
echo '</span>';
|
|
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(5);" id="btn5" >';
|
|
echo '<i class="fad fa-table" id="ico5" ></i> ';
|
|
echo '<span >Bordures</span>';
|
|
echo '</span>';
|
|
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(6);" id="btn6" >';
|
|
echo '<i class="fad fa-paint-roller" id="ico6" ></i> ';
|
|
echo '<span >Couleur de fonds</span>';
|
|
echo '</span>';
|
|
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(7);" id="btn7" >';
|
|
echo '<i class="fad fa-text" id="ico7" ></i> ';
|
|
echo '<span >Texte</span>';
|
|
echo '</span>';
|
|
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(8);" id="btn8" >';
|
|
echo '<i class="fad fa-font-case" id="ico8" ></i> ';
|
|
echo '<span >Police</span>';
|
|
echo '</span>';
|
|
|
|
// -----------------------------------------------------
|
|
// sectionAffbouton image de fonds
|
|
// -----------------------------------------------------
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(9);" id="btn9" >';
|
|
echo '<i class="fad fa-images" id="ico9"></i> ';
|
|
echo '<span >Image de fonds</span>';
|
|
echo '</span>';
|
|
|
|
// -----------------------------------------------------
|
|
// sectionAffbouton animation
|
|
// -----------------------------------------------------
|
|
echo '<span class="boutonsMenusWbm" onClick="affSection(10);" id="btn10" >';
|
|
echo '<i class="fad fa-coffee-togo fa-spin fa-pulse" id="ico10"></i> ';
|
|
echo '<span >Animation</span>';
|
|
echo '</span>';
|
|
|
|
// -----------------------------------------------------
|
|
// DONNEES POST DEBUG
|
|
// -----------------------------------------------------
|
|
if (isset($debug[7]) && $debug[7] == '1') { $debugMsg .= monDebug(2, [
|
|
'sectionAffValue' => $sectionAffValue,
|
|
'sectionPosValue' => $sectionPosValue,
|
|
'sectionEspValue' => $sectionEspValue,
|
|
'sectionTailleValue' => $sectionTailleValue,
|
|
'sectionBordsValue' => $sectionBordsValue,
|
|
'sectionCoulValue' => $sectionCoulValue,
|
|
'sectionTexteValue' => $sectionTexteValue,
|
|
'sectionPoliceValue' => $sectionPoliceValue,
|
|
'sectionImg' => $sectionImgFondsValue
|
|
], 'css.menu');
|
|
}
|
|
echo '</div>';
|
|
?>
|