156 lines
3.3 KiB
PHP
Executable File
156 lines
3.3 KiB
PHP
Executable File
<?php
|
|
// -----------------------------
|
|
// Variables Transverses
|
|
// -----------------------------
|
|
// global $debug;
|
|
// -----------------------------
|
|
for ($i = 0; $i <= 16; $i++) {
|
|
$debug[$i] = '0';
|
|
}
|
|
|
|
// global $codeOpe;
|
|
// global $refresh;=>dans initSessionLg
|
|
global $spinnerMsg;
|
|
global $includePathAdmin;
|
|
global $includeAdminDesign;
|
|
global $includeAdminJs;
|
|
global $includeAdminCss;
|
|
global $admMsg;
|
|
global $debugMsg;
|
|
global $fichierAppelantDebug;
|
|
|
|
$codeOpe='';
|
|
$titre='';
|
|
$usrSiteMsg='';
|
|
|
|
$affAdmin=2;
|
|
$actifOnglet='';
|
|
$jeViensDe='';
|
|
|
|
// $num='';
|
|
$theNum='';
|
|
$uploadOk='';
|
|
$theFichier='';
|
|
$theImage='';
|
|
|
|
$modifLg='';
|
|
$propager='';
|
|
$lgFait=array();
|
|
$trouveLG=true;
|
|
$theMsg='';
|
|
$nbLg='';
|
|
if (isset($lg)) $theLG=$lg; else $theLG="FRA";
|
|
|
|
$affCde=1;
|
|
$affValCde=1;
|
|
$affCli=1;
|
|
$affValCli=1;
|
|
$ongletCatalog=1; // dans menuGauche
|
|
|
|
$affCss=1; // compass ou style (compass en temps reel abandonné for moment, car instabilité du motuer et trop chiant. Si compass: il doit toujours etre actif, robuste, et redemarrer tout seul=> a travailler version ultérieur). pour affichage de la page c'est thme + volet + nomcss
|
|
$typeMails=1;
|
|
$affMails='1';
|
|
$publierAff=1;
|
|
$optAff='1';
|
|
$paramAff=1;
|
|
$affSeo=1;
|
|
|
|
$reglageExtension=5;
|
|
$typeOfCommercant=1;
|
|
|
|
$jeviensDeIndex=1;
|
|
|
|
$aff='0';
|
|
$appel='0';
|
|
$idMail='';
|
|
$admMsgClass='ok';
|
|
|
|
$modeTest=1;
|
|
$niveau=0;
|
|
$_SESSION['niveau']=0;
|
|
|
|
// -----------------------------
|
|
// Catalogue transverse
|
|
// -----------------------------
|
|
$idFam='';
|
|
$libEtat=''; // catalog + cdes
|
|
$idPrd=1;
|
|
$affLV=1; // onglet liste de valeur
|
|
|
|
// -----------------------------
|
|
// Clients
|
|
// -----------------------------
|
|
$txRemiseCli='';
|
|
|
|
// -----------------------------
|
|
// Commandes
|
|
// -----------------------------
|
|
$txRemiseCli='';
|
|
$cdeLiv='1'; // 1 en cours, 0= all
|
|
$cdeJour=1; // 1 du jour, 0= all
|
|
|
|
// -----------------------------
|
|
// Options
|
|
// -----------------------------
|
|
$theIdPays='';
|
|
$theLibPays='';
|
|
$theCoeff='';
|
|
$theZonePays='';
|
|
$theIdContact2='';
|
|
$theLibContact2='';
|
|
$thePopContact2='';
|
|
$theDescContact2='';
|
|
$theLib='';
|
|
$theIdLiv='';
|
|
$activLiv2='';
|
|
$libLiv2='';
|
|
$coeff2='';
|
|
$theIdZone='';
|
|
$theTarif='';
|
|
$theName='';
|
|
$theIdPaie='';
|
|
$activPaie2='';
|
|
$libPaie2='';
|
|
$typeOfCommercant='1';
|
|
|
|
// -----------------------------
|
|
// menus bloc gauche
|
|
// -----------------------------
|
|
global $numeroMenuPrpal;
|
|
$erreurSQL=0;
|
|
|
|
// -----------------------------
|
|
// Css transverse
|
|
// -----------------------------
|
|
// defaut= Eléments d\'entête mais pas sur qu'il faille le mettre, sinon pas de recherche par nom ?
|
|
// -----------------------------
|
|
if(!isset($_SESSION['theVoletCss'])) $_SESSION['theVoletCss']='Eléments d\'entête';
|
|
else $theVoletCss=$_SESSION['theVoletCss'];
|
|
|
|
$cssVolet='';
|
|
$theStyle='';
|
|
$theNumCss='1';
|
|
$nomCss='';
|
|
|
|
// -----------------------------
|
|
// pages
|
|
// -----------------------------
|
|
$theIdItem=1;
|
|
$theIdPage=1;
|
|
$relatif='';
|
|
$theDesc='';
|
|
$idLanguenav='';
|
|
$theValue='';
|
|
$thePop='';
|
|
$theLien='';
|
|
$theAlt='';
|
|
$theClasse='';
|
|
$theStyle='';
|
|
$previewObject=0;
|
|
$thePopup='';
|
|
$theLienExterne='';
|
|
$icone='';
|
|
$aideMsg='';
|
|
$thePage=''; // accueil
|
|
$absolu=''; // download lien
|
|
?>
|