222 lines
4.7 KiB
PHP
Executable File
222 lines
4.7 KiB
PHP
Executable File
<?php
|
|
// ---------------------------------------------------
|
|
// Commun
|
|
// ---------------------------------------------------
|
|
global $pageStat;
|
|
global $compteur;
|
|
global $codeOpe;
|
|
global $lg;
|
|
global $usrSiteMsg;
|
|
global $admMsg;
|
|
global $id;
|
|
global $refresh;
|
|
global $aff;
|
|
global $etape;
|
|
global $includePath;
|
|
global $includePathCli;
|
|
global $includePathDesign;
|
|
global $includePathCde;
|
|
global $includePathCss;
|
|
|
|
// $debug;
|
|
global $debug;
|
|
global $debugStyle;
|
|
|
|
for ($i = 0; $i <= 16; $i++) {
|
|
$debug[$i] = '0';
|
|
}
|
|
|
|
$themeDescription='';
|
|
$nomThemeCss="css_default";
|
|
$numStruct='';
|
|
$affPub='';
|
|
$affBandeau='';
|
|
$affNbCol='';
|
|
$i=0;
|
|
$j=0;
|
|
$ijk=0;
|
|
$target='';
|
|
$action='';
|
|
$dynContenu='';
|
|
$cpt='';
|
|
$tableSiteWidth='';
|
|
$affAdmin=2;
|
|
$theImage='';
|
|
|
|
// ---------------------------------------------------
|
|
// Environnement
|
|
// ---------------------------------------------------
|
|
$host=NULL;
|
|
$navigateur=NULL;
|
|
$city='';
|
|
$regionName='';
|
|
$countryName='';
|
|
|
|
$usrSiteMsgClass='';
|
|
$prodServer='';
|
|
$intServer='';
|
|
$smtpServer='';
|
|
// $siteNom='';=> que dans session
|
|
$localServer='';
|
|
$nomSite='';
|
|
$expediteur='';
|
|
$from_mails='';
|
|
$expediteur_mails='';
|
|
|
|
// ---------------------------------------------------
|
|
// Requetes
|
|
// ---------------------------------------------------
|
|
$admMsgClass='';
|
|
if (!isset($admMsg) ) $admMsg='';
|
|
$reqUpdate='';
|
|
$reqSelect='';
|
|
$reqInsert='';
|
|
$result='';
|
|
$result2='';
|
|
$result3='';
|
|
$icone='';
|
|
$label ='';
|
|
$btnRetour ='';
|
|
$afficheRes ='';
|
|
|
|
// ---------------------------------------------------
|
|
// Connect
|
|
// ---------------------------------------------------
|
|
// non authentifié par defaut
|
|
// ---------------------------------------------------
|
|
if (!isset($_SESSION['authValid'])) $_SESSION['authValid']=false;
|
|
|
|
// site non publié par defaut
|
|
if (!isset($_SESSION['auth'])) $_SESSION['auth'] = 0;
|
|
|
|
$navStyle='';
|
|
$navClass=array();
|
|
if (!isset($_SESSION['connected'])) {$_SESSION['connected']='N';}
|
|
if (!isset($connected) ) {$connected=$_SESSION['connected'];}
|
|
$validLogin='';
|
|
$appel='';
|
|
$pwd='';
|
|
|
|
$idMailRecupBase='';
|
|
$pwdRecupBase='';
|
|
$contLogin='';
|
|
$confirm='';
|
|
$envoiIdentifiant='';
|
|
$mdpOublie='';
|
|
$continue='';
|
|
|
|
// ---------------------------------------------------
|
|
// Menus
|
|
// ---------------------------------------------------
|
|
$classT='';
|
|
$numeroDeMenu ='';
|
|
// session
|
|
$menuDesc=array();
|
|
$menuMsg=array();
|
|
$menuLien=array();
|
|
$menuTitle=array();
|
|
$menuAlt=array();
|
|
$menuNum=array();
|
|
$menuImgPt=array();
|
|
|
|
// ---------------------------------------------------
|
|
// Clients
|
|
// ---------------------------------------------------
|
|
$idMail=NULL;
|
|
$mailTmp='';
|
|
$nom='';
|
|
$civ='';
|
|
$prenom='';
|
|
$cle='';
|
|
|
|
// ---------------------------------------------------
|
|
// Commandes
|
|
// ---------------------------------------------------
|
|
$cdeMsg =array();
|
|
$cdeAfficher=array();
|
|
$cdeTitle =array();
|
|
$nbArtEnCours='';
|
|
$totalTtcCde=NULL;
|
|
$totalCde=NULL;
|
|
$modePaie=NULL;
|
|
|
|
// ---------------------------------------------------
|
|
// langueNav session
|
|
// ---------------------------------------------------
|
|
// accueil
|
|
// ---------------------------------------------------
|
|
$msgAccueilStyle=array();
|
|
|
|
// langues
|
|
// $tableLangueCodeID=array();
|
|
$tableLangueCode=array();
|
|
$langueDesc='';
|
|
$tableLangueDesc=array();
|
|
$tableLangueID=array();
|
|
$tableLangueAfficher=array();
|
|
$tableLangueMsg=array();
|
|
$tableLangueImgPt=array();
|
|
$tableLangueAlt=array();
|
|
$tableLangueTitle=array();
|
|
$tableLangueLien=array();
|
|
|
|
// mails
|
|
$mailDescTab =array();
|
|
$mailImgPtTab =array();
|
|
$mailMsgTab =array();
|
|
$mailIdTab =array();
|
|
|
|
// contacts
|
|
$contactID=array();
|
|
$contactMsg=array();
|
|
$contactDesc=array();
|
|
$contactTitle=array();
|
|
$contactAfficher=array();
|
|
$contactClasse=array();
|
|
$contactStyle=array();
|
|
$contactImgPt=array();
|
|
$contactAlt=array();
|
|
$contactLien=array();
|
|
|
|
// titres
|
|
$titreID=array();
|
|
$titreMsg=array();
|
|
$titreImgPt=array();
|
|
$titreTitle=array();
|
|
$titreAlt=array();
|
|
$titreDesc=array();
|
|
$titreLien=array();
|
|
$titreAfficher=array();
|
|
$titreClasse=array();
|
|
$titreStyle=array();
|
|
|
|
// ---------------------------------------------------
|
|
// Catalogue
|
|
// ---------------------------------------------------
|
|
$catalogTitre=array();
|
|
$catalogAfficher =array();
|
|
$catalogStyle=array();
|
|
|
|
$typeDeRecherche ='';
|
|
$critere ='';
|
|
$order ='';
|
|
$lien ='';
|
|
$afficheCompteur='';
|
|
$src='';
|
|
|
|
$cdeLien=array();
|
|
$gondole='';
|
|
$idCatRech='';
|
|
$idCat='';
|
|
$idFam ='';
|
|
$ref ='';
|
|
$enSavoirPlus ='';
|
|
$qte ='';
|
|
$prixRemis ='';
|
|
$idPrdTmp='';
|
|
$nomCategorie='';
|
|
$descCat='';
|
|
$gondole='';
|
|
$envoyerMail='';
|
|
// $mStyle='';
|
|
?>
|