145 lines
6.3 KiB
PHP
Executable File
145 lines
6.3 KiB
PHP
Executable File
<?php
|
|
for($const=0; $const<count($thmParamId); $const++) {
|
|
|
|
// ---------------------------------------------------
|
|
// N° du modele page accueil
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 1) {$_SESSION['affPageAcc'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace client
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 2) {$_SESSION['affMenuCli'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace Catalogue
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 3) {$_SESSION['afficherCat'] = $thmParamVal[$const];}
|
|
if ($thmParamId[$const] == 4) {$_SESSION['afficherSousCat'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace achat
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 5) {$_SESSION['affPanier'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace Info
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 6) {$_SESSION['affMenuInfo'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage du bandeau recherche
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 7) {$_SESSION['affRech'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage pub1
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 8) {$_SESSION['affPub1'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage pub2
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 9) {$_SESSION['affPub2'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage pub3
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 10) {$_SESSION['affPub3'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage image de fonds
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 11) {$_SESSION['affImgFonds'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage entete
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 12) {$_SESSION['affHeaderContainer'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Ancien Plier / Dérouler le menu du Back Office (1) ou le laisser toujours ouvert (0)
|
|
// ---------------------------------------------------
|
|
// DISPO DISPO DISPO
|
|
// ---------------------------------------------------
|
|
// if ($thmParamId[$const] == 13) {$_SESSION['deplierMenuAdmin'] = $thmParamVal[$const];}
|
|
// ---------------------------------------------------
|
|
|
|
// ---------------------------------------------------
|
|
// Nombre de résultats produits
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 14) {$_SESSION['nbResPrd'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage TTC oui
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 15) {$_SESSION['affTTCOui'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Gestion des stocks
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 16) {$_SESSION['geststockOui'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Quantité par defaut
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 17) {$_SESSION['qDefaut'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Afficher les références
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 18) {$_SESSION['affRef'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Afficher les onglets dans produit details
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 19) {$_SESSION['affOngPrdDet'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Gérer la dispo
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 20) {$_SESSION['Dispo'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Aff btn whats'app
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 21) {$_SESSION['whatsapp'] = $thmParamVal[$const];}
|
|
// echo 'i dans paramConst =' .$const;
|
|
|
|
// ---------------------------------------------------
|
|
// Aff menu accueil
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 22) {$_SESSION['affMenuAcc'] = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Aff menu info en haut ou en bas
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 23) {$_SESSION['menuInfoHautBas'] = $thmParamVal[$const];}
|
|
// echo 'i dans paramConst =' .$const;
|
|
|
|
// ---------------------------------------------------
|
|
// Menu mode de paiement
|
|
// ---------------------------------------------------
|
|
$_SESSION['affMenuModePaie']=$menuAfficher[14];
|
|
|
|
// ---------------------------------------------------
|
|
// Menu Mode de livraison
|
|
// ---------------------------------------------------
|
|
$_SESSION['affMenuModeLiv']=$menuAfficher[15];
|
|
|
|
// ---------------------------------------------------
|
|
// Qui sommes nous
|
|
// ---------------------------------------------------
|
|
$_SESSION['affMenuKisn']=$menuAfficher[17];
|
|
|
|
// ---------------------------------------------------
|
|
// Contact
|
|
// ---------------------------------------------------
|
|
$_SESSION['affMenuContact']=$menuAfficher[18];
|
|
|
|
// ---------------------------------------------------
|
|
// CDV
|
|
// ---------------------------------------------------
|
|
$_SESSION['affMenuCdv']=$menuAfficher[19];
|
|
}
|
|
?>
|