<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base.html.twig */
class __TwigTemplate_df19d7c3b1ab372854e337f39afbcb94ce0c7911f93d1555cdf912cf7bd27218 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'header' => [$this, 'block_header'],
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>";
// line 5
$this->displayBlock('title', $context, $blocks);
echo "</title>
";
// line 6
$this->displayBlock('stylesheets', $context, $blocks);
// line 9
echo "\t\t";
// line 10
echo "\t\t";
// line 11
echo "\t\t<script
\t\tsrc=\"https://www.paypal.com/sdk/js?client-id=ATCbg2lJSwIQUm-ZgCl5sxyLGMPpzET1NdUzSsYNZZ-LXOSh856XGrpjOhC1lTU6KWL8CANS8-7lAFw_\">
\t\t</script>
\t\t
\t\t<link href=\"https://fonts.googleapis.com/css2?family=Lobster&display=swap\" rel=\"stylesheet\">
\t\t
\t\t
\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/general.css"), "html", null, true);
echo "\">
</head>
<body class=\"toolbar-enabled fond-gris\">
";
// line 21
$this->displayBlock('header', $context, $blocks);
// line 24
echo "\t
\t";
// line 25
$this->displayBlock('body', $context, $blocks);
// line 28
echo "\t\t
";
// line 29
$this->displayBlock('footer', $context, $blocks);
// line 111
echo "\t
";
// line 112
$this->displayBlock('javascripts', $context, $blocks);
// line 252
echo " </body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, (isset($context["company_name"]) || array_key_exists("company_name", $context) ? $context["company_name"] : (function () { throw new RuntimeError('Variable "company_name" does not exist.', 5, $this->source); })()), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
echo "\t
\t\t";
// line 7
echo twig_include($this->env, $context, "modules/__styles.twig");
echo "
\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 21
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 22
echo "\t\t ";
echo twig_include($this->env, $context, "modules/__header.html.twig");
echo "
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 25
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 26
echo "\t\t
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 30
echo "\t <footer class=\"bg-dark pt-5\">
<div class=\"container\">
<div class=\"row pb-2\">
<div class=\"col-md-4 col-sm-6\">
<div class=\"widget widget-links widget-light pb-2 mb-4\">
<h3 class=\"widget-title text-light\">Catégories</h3>
\t\t\t\t
";
// line 37
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\EntrepriseController::menuAction"));
echo "
</div>
</div>
<div class=\"col-md-4 col-sm-6\">
<div class=\"widget widget-links widget-light pb-2 mb-4\">
<h3 class=\"widget-title text-light\">A propos de nous</h3>
<ul class=\"widget-list\">
<li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
echo "\">A propos de nous</a></li>
<li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"";
// line 46
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog.accueil");
echo "\">Blog</a></li>
</ul>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"widget pb-2 mb-4\">
<h3 class=\"widget-title text-light pb-1\">Restez informé</h3>
<form action=\"";
// line 53
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("s_abonner_newsletter");
echo "\" id=\"formNewsletter\" class=\"cz-subscribe-form validate\" name=\"mc-embedded-subscribe-form\" novalidate>
<div class=\"input-group input-group-overlay flex-nowrap\">
<div class=\"input-group-prepend-overlay\"><span class=\"input-group-text text-muted font-size-base\"><i class=\"czi-mail\"></i></span></div>
<input class=\"form-control prepended-form-control\" type=\"email\" name=\"email\" placeholder=\"Votre email\" required>
<div class=\"input-group-append\">
<button id=\"btnSAbonner\" class=\"btn btn-primary\">s'abonner*</button>
</div>
</div>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style=\"position: absolute; left: -5000px;\" aria-hidden=\"true\">
<input class=\"cz-subscribe-form-antispam\" type=\"text\" name=\"b_c7103e2c981361a6639545bd5_29ca296126\" tabindex=\"-1\">
</div><small class=\"form-text text-light opacity-50\">*Abonner vous à notre newsletter pour recevoir nos offres</small>
<div class=\"subscribe-status\"></div>
</form>
</div>
</div>
</div>
</div>
<div class=\"pt-5 bg-darker\">
<div class=\"container\">
";
// line 76
echo " <div class=\"row pb-2\">
<div class=\"col-md-6 text-center text-md-left mb-4\">
<div class=\"text-nowrap mb-4\"><a class=\"d-inline-block align-middle mt-n1 mr-3\" href=\"#\"><img class=\"d-block\" width=\"64\" src=\"";
// line 78
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("image/logo.png"), "html", null, true);
echo "\" alt=\"Virtuel market\"/></a>
<div class=\"btn-group dropdown disable-autohide\">
</div>
</div>
<div class=\"widget widget-links widget-light\">
<ul class=\"widget-list d-flex flex-wrap justify-content-center justify-content-md-start\">
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
// line 85
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("faq");
echo "\">FAQ</a></li>
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
// line 86
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_aide");
echo "\">Support et Aide</a></li>
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
// line 87
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacy");
echo "\">Confidentialité</a></li>
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
// line 88
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("term");
echo "\">Condition d'utilisation</a></li>
</ul>
</div>
</div>
<div class=\"col-md-6 text-center text-md-right mb-4\">
<div class=\"mb-3\"><a class=\"social-btn sb-light sb-facebook ml-2 mb-2\" target=\"_blank\" href=\"https://web.facebook.com/AssieGroup\"><i class=\"czi-facebook\"></i></a>
</div>
</div>
<div class=\"pb-4 font-size-xs text-light opacity-50 text-center text-md-left\">© All rights reserved.<a class=\"text-light\" href=\"https://www.assiegroup.com/\" target=\"_blank\" rel=\"noopener\">Assie Informatique</a></div>
</div>
</div>
</footer>
\t\t";
// line 101
echo "\t\t";
$context["panier"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 101, $this->source); })()), "session", [], "any", false, false, false, 101), "get", [0 => "panier"], "method", false, false, false, 101);
// line 102
echo "\t\t";
$context["nombreProduit"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 102, $this->source); })()), "session", [], "any", false, false, false, 102), "get", [0 => "nombreProduit"], "method", false, false, false, 102);
// line 103
echo "\t\t";
$context["montantProduit"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 103, $this->source); })()), "session", [], "any", false, false, false, 103), "get", [0 => "montantProduit"], "method", false, false, false, 103);
// line 104
echo " <div class=\"cz-handheld-toolbar\">
<div class=\"d-table table-fixed w-100\">";
// line 105
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
echo "<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_wishlist");
echo "\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-heart\"></i></span><span class=\"cz-handheld-toolbar-label\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("entreprise.wishlist"), "html", null, true);
echo "</span></a>";
}
echo "<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"#navbarCollapse\" data-toggle=\"collapse\" onclick=\"window.scrollTo(0, 0)\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-menu\"></i></span><span class=\"cz-handheld-toolbar-label\">Menu</span></a><a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart");
echo "\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-cart\"></i><span class=\"badge badge-primary badge-pill ml-1\">";
echo twig_escape_filter($this->env, (isset($context["nombreProduit"]) || array_key_exists("nombreProduit", $context) ? $context["nombreProduit"] : (function () { throw new RuntimeError('Variable "nombreProduit" does not exist.', 105, $this->source); })()), "html", null, true);
echo "</span></span><span class=\"cz-handheld-toolbar-label\">";
echo twig_escape_filter($this->env, (isset($context["montantProduit"]) || array_key_exists("montantProduit", $context) ? $context["montantProduit"] : (function () { throw new RuntimeError('Variable "montantProduit" does not exist.', 105, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["devise"]) || array_key_exists("devise", $context) ? $context["devise"] : (function () { throw new RuntimeError('Variable "devise" does not exist.', 105, $this->source); })()), "html", null, true);
echo "</span></a>
</div>
</div>
<!-- Back To Top Button--><a class=\"btn-scroll-top\" href=\"#top\" data-scroll><span class=\"btn-scroll-top-tooltip text-muted font-size-sm mr-2\">Top</span><i class=\"btn-scroll-top-icon czi-arrow-up\"> </i></a>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 112
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 113
echo "\t\t
\t";
// line 114
echo twig_include($this->env, $context, "modules/__scripts.twig");
echo "
\t<script type=\"text/javascript\">
\t\t\$(function(){
\t\t\tvar \$btnAddToCart = \$('.btnAddToCart'), \$checkoutItems = \$('#checkout_items');
\t\t\tvar \$removeProductFromCart = \$('.removeProductFromCart');
\t\t\tvar \$formNewsletter = \$('#formNewsletter');
\t\t\tvar \$btnSAbonner = \$('#btnSAbonner');
\t\t\tvar \$btnWishlist = \$('.btn-wishlist');
\t\t\tvar \$siteLocale = \$('#site-locale');
\t\t\t
\t\t\tlet x = document.querySelectorAll(\".formated-number\");
\t\t\tfor (let i = 0, len = x.length; i < len; i++) {
\t\t\t\tlet num = Number(x[i].innerHTML).toLocaleString('";
// line 126
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 126, $this->source); })()), "request", [], "any", false, false, false, 126), "locale", [], "any", false, false, false, 126), "html", null, true);
echo "');
\t\t\t\t//x[i].innerHTML = num;
\t\t\t\t
\t\t\t}
\t\t\t
\t\t\t\$btnWishlist.click(function(e){
\t\t\t\te.preventDefault();
\t\t\t\t
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$(this).attr('name'),
\t\t\t\t\t\tmethod: 'GET',
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\ttoggleToast('success', data);
\t\t\t\t\t\t},
\t\t\t\t\t\t\t
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$btnSAbonner.click(function(e){
\t\t\t\te.preventDefault();
\t\t\t\t
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$formNewsletter.attr('action'),
\t\t\t\t\t\tmethod: 'POST',
\t\t\t\t\t\tdata: \$formNewsletter.serialize(),
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\ttoggleToast('success', data);
\t\t\t\t\t\t\t\$formNewsletter.trigger('reset');
\t\t\t\t\t\t},
\t\t\t\t\t\t\t
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$removeProductFromCart.click(function(e){
\t\t\t\te.preventDefault();
\t\t\t\t\tvar \$monBouton = \$(this);
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$(this).attr('title'),
\t\t\t\t\t\tmethod: 'GET',
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\t\$monBouton.parent().remove();
\t\t\t\t\t\t\ttoggleToast('success', 'Produit retiré');
\t\t\t\t\t\t},
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t\ttoggleToast('success', 'Une erreur est survenue');
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$btnAddToCart.click(function(e){
\t\t\t\t//e.preventDefault();
\t\t\t\t\tvar \$myButton = \$(this);
\t\t\t\t\t\$myButton.attr('disabled', true);
\t\t\t\t\tvar \$form = \$(this).parent();
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$form.attr('action'),
\t\t\t\t\t\tmethod: 'POST',
\t\t\t\t\t\tdata: \$form.serialize(),
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\tvar \$nb = parseInt(\$checkoutItems.text());
\t\t\t\t\t\t\tvar \$montantProduit = \$('#montantProduit');
\t\t\t\t\t\t\t
\t\t\t\t\t\t\tif( \$nb > 0){
\t\t\t\t\t\t\t\t\$nb++;
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t} else{
\t\t\t\t\t\t\t\t\$nb = 1;
\t\t\t\t\t\t\t}
\t\t\t\t\t\t\tconsole.log(data.montantProduit);
\t\t\t\t\t\t\t\$montantProduit.text(formatTheNumber(data.montantProduit, \$siteLocale.text()));
\t\t\t\t\t\t\t\$checkoutItems.text(\$nb);
\t\t\t\t\t\t\ttoggleToast('success', 'Produit ajouté');
\t\t\t\t\t\t\t\$myButton.attr('disabled', false);
\t\t\t\t\t\t},
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t\t\$myButton.attr('disabled', false);
\t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t\$('.home-collection-slide').slick({
\t\t\t infinite: true,
\t\t\t slidesToShow: 4,
\t\t\t slidesToScroll: 4,
\t\t\t autoplay: true,
\t\t\t accessibility: true,
\t\t\t initialSlide: 1,
\t\t\t autoplaySpeed: 4000,
\t\t\t arrows: true,
\t\t\t
\t\t\t
\t\t\t responsive: [
\t\t\t\t\t{
\t\t\t\t\t breakpoint: 1024,
\t\t\t\t\t settings: {
\t\t\t\t\t\tslidesToShow: 2,
\t\t\t\t\t\tslidesToScroll: 2,
\t\t\t\t\t\tinfinite: true,
\t\t\t\t\t\tautoplay: true,
\t\t\t\t\t }
\t\t\t\t\t}
\t\t\t\t]
\t\t\t});
\t\t\t
\t\t});
\t\t
\t\t
\t</script>
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 376 => 126, 361 => 114, 358 => 113, 348 => 112, 318 => 105, 315 => 104, 312 => 103, 309 => 102, 306 => 101, 291 => 88, 287 => 87, 283 => 86, 279 => 85, 269 => 78, 265 => 76, 240 => 53, 230 => 46, 226 => 45, 215 => 37, 206 => 30, 196 => 29, 185 => 26, 175 => 25, 162 => 22, 152 => 21, 140 => 7, 128 => 6, 109 => 5, 97 => 252, 95 => 112, 92 => 111, 90 => 29, 87 => 28, 85 => 25, 82 => 24, 80 => 21, 74 => 18, 65 => 11, 63 => 10, 61 => 9, 59 => 6, 55 => 5, 49 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>{% block title %}{{ company_name }}{% endblock %}</title>
{% block stylesheets %}\t
\t\t{{ include('modules/__styles.twig') }}
\t\t{% endblock stylesheets %}
\t\t{# sandbox: https://api.sandbox.paypal.com #}
\t\t{# live: https://paypal.com #}
\t\t<script
\t\tsrc=\"https://www.paypal.com/sdk/js?client-id=ATCbg2lJSwIQUm-ZgCl5sxyLGMPpzET1NdUzSsYNZZ-LXOSh856XGrpjOhC1lTU6KWL8CANS8-7lAFw_\">
\t\t</script>
\t\t
\t\t<link href=\"https://fonts.googleapis.com/css2?family=Lobster&display=swap\" rel=\"stylesheet\">
\t\t
\t\t
\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('css/general.css') }}\">
</head>
<body class=\"toolbar-enabled fond-gris\">
{% block header %}
\t\t {{ include('modules/__header.html.twig') }}
\t{% endblock header %}
\t
\t{% block body %}
\t\t
\t{% endblock body %}
\t\t
{% block footer %}
\t <footer class=\"bg-dark pt-5\">
<div class=\"container\">
<div class=\"row pb-2\">
<div class=\"col-md-4 col-sm-6\">
<div class=\"widget widget-links widget-light pb-2 mb-4\">
<h3 class=\"widget-title text-light\">Catégories</h3>
\t\t\t\t
{{ render(controller('App\\\\Controller\\\\EntrepriseController::menuAction')) }}
</div>
</div>
<div class=\"col-md-4 col-sm-6\">
<div class=\"widget widget-links widget-light pb-2 mb-4\">
<h3 class=\"widget-title text-light\">A propos de nous</h3>
<ul class=\"widget-list\">
<li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"{{ path('about') }}\">A propos de nous</a></li>
<li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"{{ path('blog.accueil') }}\">Blog</a></li>
</ul>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"widget pb-2 mb-4\">
<h3 class=\"widget-title text-light pb-1\">Restez informé</h3>
<form action=\"{{ path('s_abonner_newsletter') }}\" id=\"formNewsletter\" class=\"cz-subscribe-form validate\" name=\"mc-embedded-subscribe-form\" novalidate>
<div class=\"input-group input-group-overlay flex-nowrap\">
<div class=\"input-group-prepend-overlay\"><span class=\"input-group-text text-muted font-size-base\"><i class=\"czi-mail\"></i></span></div>
<input class=\"form-control prepended-form-control\" type=\"email\" name=\"email\" placeholder=\"Votre email\" required>
<div class=\"input-group-append\">
<button id=\"btnSAbonner\" class=\"btn btn-primary\">s'abonner*</button>
</div>
</div>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style=\"position: absolute; left: -5000px;\" aria-hidden=\"true\">
<input class=\"cz-subscribe-form-antispam\" type=\"text\" name=\"b_c7103e2c981361a6639545bd5_29ca296126\" tabindex=\"-1\">
</div><small class=\"form-text text-light opacity-50\">*Abonner vous à notre newsletter pour recevoir nos offres</small>
<div class=\"subscribe-status\"></div>
</form>
</div>
</div>
</div>
</div>
<div class=\"pt-5 bg-darker\">
<div class=\"container\">
{# <hr class=\"hr-light pb-4 mb-3\"> #}
<div class=\"row pb-2\">
<div class=\"col-md-6 text-center text-md-left mb-4\">
<div class=\"text-nowrap mb-4\"><a class=\"d-inline-block align-middle mt-n1 mr-3\" href=\"#\"><img class=\"d-block\" width=\"64\" src=\"{{ asset('image/logo.png') }}\" alt=\"Virtuel market\"/></a>
<div class=\"btn-group dropdown disable-autohide\">
</div>
</div>
<div class=\"widget widget-links widget-light\">
<ul class=\"widget-list d-flex flex-wrap justify-content-center justify-content-md-start\">
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('faq') }}\">FAQ</a></li>
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('index_aide') }}\">Support et Aide</a></li>
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('privacy') }}\">Confidentialité</a></li>
<li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('term') }}\">Condition d'utilisation</a></li>
</ul>
</div>
</div>
<div class=\"col-md-6 text-center text-md-right mb-4\">
<div class=\"mb-3\"><a class=\"social-btn sb-light sb-facebook ml-2 mb-2\" target=\"_blank\" href=\"https://web.facebook.com/AssieGroup\"><i class=\"czi-facebook\"></i></a>
</div>
</div>
<div class=\"pb-4 font-size-xs text-light opacity-50 text-center text-md-left\">© All rights reserved.<a class=\"text-light\" href=\"https://www.assiegroup.com/\" target=\"_blank\" rel=\"noopener\">Assie Informatique</a></div>
</div>
</div>
</footer>
\t\t{# Toolbar for handheld devices #}
\t\t{% set panier = app.session.get('panier') %}
\t\t{% set nombreProduit = app.session.get('nombreProduit') %}
\t\t{% set montantProduit = app.session.get('montantProduit') %}
<div class=\"cz-handheld-toolbar\">
<div class=\"d-table table-fixed w-100\">{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"{{ path('user_wishlist') }}\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-heart\"></i></span><span class=\"cz-handheld-toolbar-label\">{{ 'entreprise.wishlist' | trans }}</span></a>{% endif %}<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"#navbarCollapse\" data-toggle=\"collapse\" onclick=\"window.scrollTo(0, 0)\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-menu\"></i></span><span class=\"cz-handheld-toolbar-label\">Menu</span></a><a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"{{ path('cart') }}\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-cart\"></i><span class=\"badge badge-primary badge-pill ml-1\">{{ nombreProduit }}</span></span><span class=\"cz-handheld-toolbar-label\">{{ montantProduit }} {{ devise }}</span></a>
</div>
</div>
<!-- Back To Top Button--><a class=\"btn-scroll-top\" href=\"#top\" data-scroll><span class=\"btn-scroll-top-tooltip text-muted font-size-sm mr-2\">Top</span><i class=\"btn-scroll-top-icon czi-arrow-up\"> </i></a>
{% endblock footer %}
\t
{% block javascripts %}
\t\t
\t{{ include('modules/__scripts.twig') }}
\t<script type=\"text/javascript\">
\t\t\$(function(){
\t\t\tvar \$btnAddToCart = \$('.btnAddToCart'), \$checkoutItems = \$('#checkout_items');
\t\t\tvar \$removeProductFromCart = \$('.removeProductFromCart');
\t\t\tvar \$formNewsletter = \$('#formNewsletter');
\t\t\tvar \$btnSAbonner = \$('#btnSAbonner');
\t\t\tvar \$btnWishlist = \$('.btn-wishlist');
\t\t\tvar \$siteLocale = \$('#site-locale');
\t\t\t
\t\t\tlet x = document.querySelectorAll(\".formated-number\");
\t\t\tfor (let i = 0, len = x.length; i < len; i++) {
\t\t\t\tlet num = Number(x[i].innerHTML).toLocaleString('{{ app.request.locale }}');
\t\t\t\t//x[i].innerHTML = num;
\t\t\t\t
\t\t\t}
\t\t\t
\t\t\t\$btnWishlist.click(function(e){
\t\t\t\te.preventDefault();
\t\t\t\t
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$(this).attr('name'),
\t\t\t\t\t\tmethod: 'GET',
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\ttoggleToast('success', data);
\t\t\t\t\t\t},
\t\t\t\t\t\t\t
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$btnSAbonner.click(function(e){
\t\t\t\te.preventDefault();
\t\t\t\t
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$formNewsletter.attr('action'),
\t\t\t\t\t\tmethod: 'POST',
\t\t\t\t\t\tdata: \$formNewsletter.serialize(),
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\ttoggleToast('success', data);
\t\t\t\t\t\t\t\$formNewsletter.trigger('reset');
\t\t\t\t\t\t},
\t\t\t\t\t\t\t
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$removeProductFromCart.click(function(e){
\t\t\t\te.preventDefault();
\t\t\t\t\tvar \$monBouton = \$(this);
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$(this).attr('title'),
\t\t\t\t\t\tmethod: 'GET',
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\t\$monBouton.parent().remove();
\t\t\t\t\t\t\ttoggleToast('success', 'Produit retiré');
\t\t\t\t\t\t},
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t\ttoggleToast('success', 'Une erreur est survenue');
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$btnAddToCart.click(function(e){
\t\t\t\t//e.preventDefault();
\t\t\t\t\tvar \$myButton = \$(this);
\t\t\t\t\t\$myButton.attr('disabled', true);
\t\t\t\t\tvar \$form = \$(this).parent();
\t\t\t\t\t \$.ajax({
\t\t\t\t\t\turl: \$form.attr('action'),
\t\t\t\t\t\tmethod: 'POST',
\t\t\t\t\t\tdata: \$form.serialize(),
\t\t\t\t\t\t//processData: false,
\t\t\t\t\t\t//contentType: false,
\t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
\t\t\t\t\t\t\tvar \$nb = parseInt(\$checkoutItems.text());
\t\t\t\t\t\t\tvar \$montantProduit = \$('#montantProduit');
\t\t\t\t\t\t\t
\t\t\t\t\t\t\tif( \$nb > 0){
\t\t\t\t\t\t\t\t\$nb++;
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t} else{
\t\t\t\t\t\t\t\t\$nb = 1;
\t\t\t\t\t\t\t}
\t\t\t\t\t\t\tconsole.log(data.montantProduit);
\t\t\t\t\t\t\t\$montantProduit.text(formatTheNumber(data.montantProduit, \$siteLocale.text()));
\t\t\t\t\t\t\t\$checkoutItems.text(\$nb);
\t\t\t\t\t\t\ttoggleToast('success', 'Produit ajouté');
\t\t\t\t\t\t\t\$myButton.attr('disabled', false);
\t\t\t\t\t\t},
\t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
\t\t\t\t\t\t\t\$myButton.attr('disabled', false);
\t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
\t\t\t\t\t\t}
\t\t\t\t\t});
\t\t\t});
\t\t\t\$('.home-collection-slide').slick({
\t\t\t infinite: true,
\t\t\t slidesToShow: 4,
\t\t\t slidesToScroll: 4,
\t\t\t autoplay: true,
\t\t\t accessibility: true,
\t\t\t initialSlide: 1,
\t\t\t autoplaySpeed: 4000,
\t\t\t arrows: true,
\t\t\t
\t\t\t
\t\t\t responsive: [
\t\t\t\t\t{
\t\t\t\t\t breakpoint: 1024,
\t\t\t\t\t settings: {
\t\t\t\t\t\tslidesToShow: 2,
\t\t\t\t\t\tslidesToScroll: 2,
\t\t\t\t\t\tinfinite: true,
\t\t\t\t\t\tautoplay: true,
\t\t\t\t\t }
\t\t\t\t\t}
\t\t\t\t]
\t\t\t});
\t\t\t
\t\t});
\t\t
\t\t
\t</script>
\t{% endblock javascripts %}
</body>
</html>
", "base.html.twig", "/home/luxurybeautybarber/public_html/templates/base.html.twig");
}
}