253 lines
11 KiB
PHP
Executable File
253 lines
11 KiB
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
$afficherIcones=0;
|
|
|
|
// -----------------------------------------------------
|
|
// Gestionnaire
|
|
// -----------------------------------------------------
|
|
echo '<div class="menuGaucheMenusPrincipaux" onClick="affCacheMenuGauche(1,5);" style="cursor:pointer;" >';
|
|
echo '<span >';
|
|
echo ' <span class="fad fa-user-tie menuGaucheMenusPrincipauxIco" ></span>';
|
|
echo '<span> Gestionnaire</span>';
|
|
echo '<i class="fa-solid fa-caret-down"></i>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Catalogue
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv1" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=8&ongletCatalog=' .$ongletCatalog. '&idFam=' .$idFam. '&affLV=' .$affLV. '" target="_top" data-tooltip="Gestion du catalogue" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-sitemap" ></i>';
|
|
echo '<span class="'; if($affAdmin==8) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Catalogue</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Commandes
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv2" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=9&affCde=' .$affCde. '&affValCde=' .$affValCde. '" target="_top" data-tooltip="Gestion des commandes" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-file-invoice-dollar" ></i>';
|
|
echo '<span class="'; if($affAdmin==9) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Commandes</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Clients
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv3" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=10&affCli=' .$affCli. '&affValCli=' .$affValCli. '" target="_top" data-tooltip="Gestion des clients" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-user-tie"></i>';
|
|
echo '<span class="'; if($affAdmin==10) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Clients</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Fournisseur
|
|
// -----------------------------------------------------
|
|
// echo '<div id="menuDiv5" >';
|
|
// echo '<span class="boitesSousMenuG" >';
|
|
// echo '<a href="./frmAdmin.php?affAdmin=25" target="_top" data-tooltip="Gestion des fournisseurs" >';
|
|
// if ($afficherIcones==1) echo '<i class="fad fa-user-tie"></i>';
|
|
// echo '<span class="'; if($affAdmin==25) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
// echo '">Fournisseurs</span>';
|
|
// echo '</a>';
|
|
// echo '</span>';
|
|
// echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Statistiques
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv4" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=11" target="_top" data-tooltip="Voir le traffic sur le site" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-chart-line"></i>';
|
|
echo '<span class="'; if($affAdmin==11) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Statistiques</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Webmaster Site
|
|
// -----------------------------------------------------
|
|
echo '<div class="menuGaucheMenusPrincipaux" onClick="affCacheMenuGauche(6,10);" style="cursor:pointer;margin-bottom:0;" >';
|
|
echo '<span >';
|
|
echo ' <span class="fad fa-pen-nib menuGaucheMenusPrincipauxIco"></span>';
|
|
echo '<span> WebMaster</span>';
|
|
echo '<i class="fa-solid fa-caret-down"></i>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Themes
|
|
// -----------------------------------------------------
|
|
if (isset($_SESSION['nbLgActives']) && $_SESSION['nbLgActives']>1) {
|
|
echo '<div id="menuDiv6" style="margin-top:0;margin-bottom:0;height:60px;">';
|
|
|
|
// -----------------------------------------------------
|
|
// List box langues
|
|
// -----------------------------------------------------
|
|
$niveau=0;
|
|
$_SESSION['niveau']=0;
|
|
// Sélectionne la langue active dans la box
|
|
include ($includePathAdmin. "/drapeaux/drapeauxLangueActive.php");
|
|
|
|
// -----------------------------------------------------
|
|
// form langue
|
|
// -----------------------------------------------------
|
|
echo '<form method="POST" name="fLangue" id="fLangue" >';
|
|
//echo '<style>.languesListeBox{margin:0px; margin-top:3px; left:10px}; .dropdownCell{margin:0px}</style>';
|
|
echo '<input type="hidden" name="lg" id="lg" value="'.$lg.'" >';
|
|
|
|
// Alimente les langues dans la box
|
|
$lgLien='propager=2';
|
|
include ($includePathAdmin. "/drapeaux/drapeauxListBox.php");
|
|
echo '</form>';
|
|
echo '</div>';
|
|
}
|
|
|
|
// -----------------------------------------------------
|
|
// Agencement Site
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv7">';
|
|
if(isset($_SESSION['numeroMenuPrpal'])) {$numeroMenuPrpal=$_SESSION['numeroMenuPrpal'];}
|
|
if(!isset($numeroMenuPrpal)) {$numeroMenuPrpal=-1;}
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="siteActif" target="_top" data-tooltip="Design" >';
|
|
if ($afficherIcones==1) echo '<i class="fa-solid fa-caret-down"></i>';
|
|
echo '<span class="'; if($affAdmin==2) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Agencement</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// SEO
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv8" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=24&affSeo=' .$affSeo. '" target="_top" class="tooltip-top" data-tooltip="Configurez votre référencement et options de domaine" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-check-double"></i>';
|
|
echo '<span class="'; if($affAdmin==24) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Référencement</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Options
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv9" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=6&optAff=' .$optAff. '&typeOfCommercant=' .$typeOfCommercant. '" target="_top" data-tooltip="Options de paiement, de livraison, pays, informations commerçant" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-check-circle" ></i>';
|
|
echo '<span class="'; if($affAdmin==6) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Options</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Maintenance
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv10" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=13" target="_top" class="tooltip-top" data-tooltip="Mise en maintenance du site, purges des données et sauvegarde" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-tools"></i>';
|
|
echo '<span class="'; if($affAdmin==13) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Maintenance</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Expert
|
|
// -----------------------------------------------------
|
|
if (isset ($_SESSION['adminMail']) && $_SESSION['adminMail']=='testeur@123ventes.com' || $_SESSION['ENVIRONNEMENT']=='local') {
|
|
echo '<div class="menuGaucheMenusPrincipaux" onClick="affCacheMenuGauche(11,15);" style="cursor:pointer;" >';
|
|
echo '<span >';
|
|
echo ' <span class="fad fa-user-crown menuGaucheMenusPrincipauxIco"></span>';
|
|
echo '<span> Expert</span>';
|
|
echo '<i class="fa-solid fa-caret-down"></i>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Creation pages
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv11" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=23" target="_top" data-tooltip="Création et modification de pages" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-plus"></i>';
|
|
echo '<span class="'; if($affAdmin==23) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Pages</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Contenu
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv12" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=4&$refresh=Oui" target="_top" data-tooltip="Tous les textes" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-edit"></i>';
|
|
echo '<span class="'; if($affAdmin==4) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Textes</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// CSS
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv13" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=3" target="_top" data-tooltip="CSS" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-pen-fancy"></i>';
|
|
echo '<span class="'; if($affAdmin==3) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Styles</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Mails
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv14" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=5&typeMails=' .$typeMails. '&affMails=' .$affMails. '" target="_top" data-tooltip="Mails" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-at"></i>';
|
|
echo '<span class="'; if($affAdmin==5) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Mails</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
// -----------------------------------------------------
|
|
// Param / conf
|
|
// -----------------------------------------------------
|
|
echo '<div id="menuDiv15" >';
|
|
echo '<span class="boitesSousMenuG" >';
|
|
echo '<a href="./frmAdmin.php?affAdmin=12" target="_top" class="tooltip-top" data-tooltip="Configuration environnements et paramètrage" >';
|
|
if ($afficherIcones==1) echo '<i class="fad fa-check-double"></i>';
|
|
echo '<span class="'; if($affAdmin==12) echo 'menuGaucheSousMenusActif'; else echo 'menuGaucheSousMenus';
|
|
echo '">Paramètrage</span>';
|
|
echo '</a>';
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
}
|
|
echo '<script type="text/javascript">storageMenuGAffCache(event);</script>';
|
|
?>
|