ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/computer3/litsolide.com/includes/menu/ |
Upload File : |
<?php
// Produits
$pop=0;
foreach ($array AS $noeud) { $pop=$pop+1;
if ($parent == $noeud['parent_id']) {
if ($niveau_precedent < $niveau) {
if ($act_prodmen > 0) {
/////////////////////////////////////////////////////////////////////// Produit a la Une ! $pop = '2' bloquer avec 20000
if ($pop =='2') {
$html .= "\n<ul><li style='display: inline;background: #fff;float: right;margin-top:35px;'><a href=\"produit-".$men['seo']." \" style='margin-left:0;border:1px solid #eee;background: transparent;color: #000; font-weight: bold;padding:20px 0 20px 0' >
<figure class='bloc_une' style='background: transparent; padding: 0; width: 100%; margin-top: 0px; margin-bottom: 0px; margin-left:auto; border:0; border-radius: 0'><img src='uploadfiles/products/mini/" . $menu_image . "' alt='' title='' style='height: 120px;display: inline;margin-top: 5px;border-radius: 4px' />
<figcaption class='bloc_une' style='margin-top:10px'>". $men['name'] ."";
if (!empty($men['lamarque'])) {
$html .= "<br /><span style='font-size: 14px; color: #cc0000;'>". $men['lamarque'] ."</span><br />";
} else {
$html .= "<br />";
}
if ($AffiPrix >0) {
$html .= "";
$price = number_format($men['price'], 2, ',', ' ');
if ($men['discount'] < 1) {
$html .= "<br /><span style='font-size: 24px; color: #cc0000;font-weight:100;'>". $price ." €</span>";
} else {
$prom = $men['price'] - $men['price'] * ($men['discount'] / 100);
$prom = number_format($prom, 2, ',', ' ');
$html .= "<br /><span style='font-size: 18px;color: #000;font-weight:100;text-decoration:line-through'>". $price ." €</span>";
$html .= "<br /><br /><span style='font-size: 24px;color: #cc0000;font-weight:100'>". $prom ." €</span>";
}
} else {
$html .= "<br /><span style='font-size: 22px;color: #000;font-weight:100; '><i class=\"fa fa-eye fa-2x\" ></i></span>";
}
$html .= "</figcaption></figure></a></li>";
} else {
$html .= "\n<ul>\n";
}
/////////////////////////////////////////////////////////////////////// Produit a la Une END !
} else {
$html .= "\n</ul>\n";
}
}
$html .= "<li><a href=\"categorie-" . $noeud['seo'] . "\" class=\"dir\"> " . stripcslashes($noeud['name']) . " </a>";
$niveau_precedent = $niveau;
$html .= afficher_menu($noeud['id'], ($niveau + 1), $array, $pos_menu, $situer, $tslesarticles, $formulaire_contact, $bloc_0, $bloc_1, $bloc_2, $bloc_3, $bloc_4, $bloc_5, $cms, $blog, $marques, $marq_names_menu, $sous_marq, $menu_impro, $txt_events, $act_events, $discount_existe, $margeMenu, $act_marq, $AffiPrix) ;
}
}
if (($niveau_precedent == $niveau) && ($niveau_precedent != 0))
{
$html .= "</ul>\n</li>\n";
}
elseif ($niveau_precedent == $niveau)
{
?>