140 lines
5.8 KiB
PHP
Executable File
140 lines
5.8 KiB
PHP
Executable File
<?php
|
|
for($const=0; $const<count($thmParamId); $const++) {
|
|
|
|
// ---------------------------------------------------
|
|
// N° du modele page accueil
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 1) {$affPageAcc = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace client
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 2) {$affMenuCli = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace Catalogue
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 3) {$afficherCat = $thmParamVal[$const];}
|
|
if ($thmParamId[$const] == 4) {$afficherSousCat = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace achat
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 5) {$affPanier = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Espace Info
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 6) {$affMenuInfo = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage du bandeau recherche
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 7) {$affRech = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage pub1
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 8) {$affPub1 = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage pub2
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 9) {$affPub2 = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage pub3
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 10) {$affPub3 = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage image de fonds
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 11) {$affImgFonds = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Affichage entete
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 12) {$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) {$nbResPrd = $thmParamVal[$const];}
|
|
|
|
// // ---------------------------------------------------
|
|
// ceux là il me semble in inutile des les decliner sur la carroussel, ca fait trop usine a gaz
|
|
// // ---------------------------------------------------
|
|
|
|
// // ---------------------------------------------------
|
|
// // 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) {$whatsapp = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Aff menu accueil
|
|
// ---------------------------------------------------
|
|
if ($thmParamId[$const] == 22) {
|
|
$_SESSION['affMenuAcc'] = $thmParamVal[$const];
|
|
}
|
|
|
|
// ---------------------------------------------------
|
|
// Aff menu info en haut ou en bas // variable inutilisée, c'est la session qui est utilisée
|
|
// if ($thmParamId[$const] == 23) {$menuInfoHautBas = $thmParamVal[$const];}
|
|
|
|
// ---------------------------------------------------
|
|
// Menu mode de paiement
|
|
// ---------------------------------------------------
|
|
$affMenuModePaie=$menuAfficher[14];
|
|
|
|
// ---------------------------------------------------
|
|
// Menu Mode de livraison
|
|
// ---------------------------------------------------
|
|
$affMenuModeLiv=$menuAfficher[15];
|
|
|
|
// ---------------------------------------------------
|
|
// Qui sommes nous
|
|
// ---------------------------------------------------
|
|
$affMenuKisn=$menuAfficher[17];
|
|
|
|
// ---------------------------------------------------
|
|
// Contact
|
|
// ---------------------------------------------------
|
|
$affMenuContact=$menuAfficher[18];
|
|
|
|
// ---------------------------------------------------
|
|
// CDV
|
|
// ---------------------------------------------------
|
|
$affMenuCdv=$menuAfficher[19];
|
|
}
|
|
?>
|