59 lines
2.4 KiB
PHP
Executable File
59 lines
2.4 KiB
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
|
|
// -----------------------------------------------------
|
|
// Etre admin
|
|
// -----------------------------------------------------
|
|
if (isset($_SESSION['isAdmin']) && $_SESSION['isAdmin']=='O' ) {
|
|
|
|
echo '<div id="zonePageModales" style="display:flex;width:100%;flex-direction:column;flex-wrap:wrap;margin:auto;" >';
|
|
|
|
// -----------------------------------------------------
|
|
// Titre de la page
|
|
// -----------------------------------------------------
|
|
echo '<div id="zoneTitreWbm" >';
|
|
echo '<span style="cursor:pointer;border-radius:50%;padding:2px;width:30px;height:30px;" id="resize" class="fad fa-arrow-circle-left" onClick="jsResize();"></span> ';
|
|
echo '<span style="font-size: 32px;"> 👤</span>';
|
|
echo '<span class="titreWbm"><b>Contactez-nous</b></span> ';
|
|
include($includePathAdmin. "/zoneMonCompte.php");
|
|
echo '</div>';
|
|
include ("./contact/contact.ressource.php");
|
|
|
|
// -----------------------------------------------------
|
|
// Menu
|
|
// -----------------------------------------------------
|
|
echo '<div id="zoneMenuWbmContainer" >';
|
|
echo '<div id="zoneMenuWbm" >';
|
|
echo '<div style="width:100%; display:flex;flex-wrap:wrap; flex-direction: column;margin:auto; padding:7px;" >';
|
|
echo '<span class="actionMessages" style="padding:5px;"><b><u>'.$contactItem[0].'</b></u></span>';
|
|
echo '</div>';
|
|
echo '</div>';
|
|
echo '</div>';
|
|
|
|
// ---------------------------------------------------
|
|
// Formulaire
|
|
// ---------------------------------------------------
|
|
echo '<div id="zoneFormWbm" class="fondColorListe" style="padding:30px; border:1px solid lightgrey; margin:auto; width:auto; " >';
|
|
echo '<form name="contactF" id="formulaire" method="POST" style="display=contents;" >';
|
|
echo '<input type="hidden" name="codeOpe" id="codeOpe" value="' .$codeOpe. '" >';
|
|
include ("./contact/contact.form.php");
|
|
echo '</form>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Afficher messages webmaster
|
|
// -----------------------------------------------------
|
|
if (!empty($admMsg) || !empty($debugMsg) ) {
|
|
echo '<div id="zoneMsgWbm">';
|
|
include ($includePathAdmin. "/adminMsg.php");
|
|
echo '</div>'; //zoneMsg
|
|
}
|
|
|
|
echo '</div>'; // zone page
|
|
}
|
|
else {
|
|
$confPath="../_conf";
|
|
include ("./adminInclude/redirectionAdmin.php");
|
|
}
|
|
?>
|