<?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;
/* Theme/Produit/Produit/Produit/detailproduit.html.twig */
class __TwigTemplate_ed6f2dc9446faa492a3909f5895f2189f83f19a6bec2ff6faa3715e9889cbe5f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta' => [$this, 'block_meta'],
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'userblog_body' => [$this, 'block_userblog_body'],
'javascripttemplate' => [$this, 'block_javascripttemplate'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Theme/Users/User/layoutuser.html.twig";
}
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", "Theme/Produit/Produit/Produit/detailproduit.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Theme/Produit/Produit/Produit/detailproduit.html.twig"));
$this->parent = $this->loadTemplate("Theme/Users/User/layoutuser.html.twig", "Theme/Produit/Produit/Produit/detailproduit.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_meta($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", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 3
echo "
\t";
// line 4
$this->displayParentBlock("meta", $context, $blocks);
echo "
\t<meta name=\"keywords\" content=\"";
// line 5
echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 5, $this->source); })()), "html", null, true);
echo ", Business, e-commerce,";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 5, $this->source); })()), "souscategorie", [], "any", false, false, false, 5), "nom", [], "any", false, false, false, 5), "html", null, true);
echo ",";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 5, $this->source); })()), "nom", [], "any", false, false, false, 5), "html", null, true);
echo "\"/>
\t<meta name=\"author\" content=\"Noel Kenfack\"/>
\t<meta name=\"description\" content=\"";
// line 7
echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 7, $this->source); })()), "html", null, true);
echo " | ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 7, $this->source); })()), "souscategorie", [], "any", false, false, false, 7), "nom", [], "any", false, false, false, 7), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 7, $this->source); })()), "nom", [], "any", false, false, false, 7), "html", null, true);
echo "\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
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"));
// line 12
echo "\t";
$this->displayParentBlock("title", $context, $blocks);
echo " | ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 12, $this->source); })()), "nom", [], "any", false, false, false, 12), "html", null, true);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 15
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"));
// line 16
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
\t<link rel=\"stylesheet\" href=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/single/css/etalage.css"), "html", null, true);
echo "\"/>
\t<script src=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/single/js/jquery.etalage.min.js"), "html", null, true);
echo "\"></script>
\t<script type=\"text/javascript\">
\t\tjQuery(document).ready(function(\$){
\t\t\t\$('#etalage').etalage({
\t\t\t\tthumb_image_width: 300,
\t\t\t\tthumb_image_height: 400,
\t\t\t\tsource_image_width: 800,
\t\t\t\tsource_image_height: 1000,
\t\t\t\tshow_hint: true,
\t\t\t\tclick_callback: function(image_anchor, instance_id){
\t\t\t\t\talert('Callback example:\\nYou clicked on an image with the anchor: \"'+image_anchor+'\"\\n(in Etalage instance: \"'+instance_id+'\")');
\t\t\t\t}
\t\t\t});
\t\t});
\t</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 37
public function block_userblog_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", "userblog_body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "userblog_body"));
// line 38
echo "
<section style=\"padding: 15px 0px 5px 0px; background: #f7f7f7;\">
\t<div class=\"container\">
\t<div class=\"row\">
\t<div class=\"col-md-8\">
\t\t<ul class=\"breadcrumbs\">
\t\t <li><a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("users_user_acces_plateforme");
echo "\"><i class=\"fa fa-home\" style=\"font-size: 11px;\"></i> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Accueil"), "html", null, true);
echo "</a></li>
\t\t <li><a href=\"";
// line 46
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_acceuil_sousdomaine_type_market_place");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Produits"), "html", null, true);
echo "</a></li>
\t\t <li><a href=\"";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_acceuil_sousdomaine_type_market_place", ["idscat" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 47, $this->source); })()), "souscategorie", [], "any", false, false, false, 47), "id", [], "any", false, false, false, 47)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 47, $this->source); })()), "souscategorie", [], "any", false, false, false, 47), "nom", [], "any", false, false, false, 47), "html", null, true);
echo "</a></li>
\t\t <li>";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 48, $this->source); })()), "nom", [], "any", false, false, false, 48)), "html", null, true);
echo "</li>
\t\t</ul>
\t</div>
\t<div class=\"col-md-4 text-right\">
\t\t";
// line 52
$this->loadTemplate("Theme/General/Template/Menu/contacts.html.twig", "Theme/Produit/Produit/Produit/detailproduit.html.twig", 52)->display($context);
// line 53
echo "\t</div>
\t</div>
\t</div>
</section>
<div class=\"section-content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<div class=\"animecourant-panel\" style=\"display: block;\">
\t\t
</div>
</div>
</div>
<div class=\"row\">
\t<div class=\"col-md-4\" style=\"padding: 3px;\">
\t\t<div class=\"toutleblock\">
\t\t<div class=\"container\" style=\"margin: 7px 0px 0px 0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t<ul class=\"list-group\">
\t\t\t
\t\t\t";
// line 76
$this->loadTemplate("Theme/Produit/Produit/Produit/produitsimilaire.html.twig", "Theme/Produit/Produit/Produit/detailproduit.html.twig", 76)->display($context);
// line 77
echo "\t\t\t
\t\t </ul>
\t\t</div>
\t\t
\t\t<div class=\"container\" style=\"margin: 7px 0px 0px 0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t<ul class=\"list-group\">
\t\t\t
\t\t\t";
// line 84
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Produit\\Produit\\CategorieController:menusouscategorie", ["taille" => 10]));
echo "
\t\t\t
\t\t </ul>
\t\t</div>
\t\t <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 stop-courant-panel\">
\t\t </div>
\t\t </div>
\t</div>
\t<div class=\"col-md-8\" style=\"padding: 3px;\">
\t\t<div class=\"row\" style=\"margin: 7px 0px 15px 0px;\">
\t\t <div class=\"col-md-12\">
\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t";
// line 97
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 97, $this->source); })()), "nom", [], "any", false, false, false, 97)), "html", null, true);
echo " <a href=\"#!\" class=\"flat-busness open-modal-souscription-offert\" style=\"float: right;\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 97, $this->source); })()), "id", [], "any", false, false, false, 97), "html", null, true);
echo "\" name=\"0\"><span class=\"fa fa-cart-plus\" style=\"font-size: 12px;\"></span> Ajouter au panier</a>
\t\t\t</h3>
\t\t </div>
\t\t</div>
\t\t
\t\t<div class=\"row\" style=\"margin: 7px 0px 15px 0px; background: #fafafa;\">
\t\t<article class=\"col-md-6\" style=\"background: #fff; padding-top: 7px;\">
\t\t\t<ul id=\"etalage\" style=\"width: 100%;\">
\t\t\t ";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 105, $this->source); })()), "imgproduits", [], "any", false, false, false, 105));
foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
// line 106
echo "\t\t\t\t<li>
\t\t\t\t\t<img class=\"etalage_thumb_image\" src=\"";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["img"], "getWebpath", [], "any", false, false, false, 107)), "html", null, true);
echo "\" class=\"img-responsive\"/>
\t\t\t\t\t<img class=\"etalage_source_image\" src=\"";
// line 108
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, $context["img"], "getWebpath", [], "any", false, false, false, 108)), "html", null, true);
echo "\" class=\"img-responsive\"/>
\t\t\t\t</li>
\t\t\t ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 111
echo "\t\t\t</ul>
\t\t</article>
\t\t<article class=\"col-md-6 text-left\">
\t\t\t<div class=\"divider\" style=\"border-top: 2px dashed #999;\"></div>
\t\t\t<div class=\"row\" style=\"background: #fafafa;\">
\t\t\t<div class=\"col-md-12\">
\t\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\tDétails du produit
\t\t\t\t</h3>
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t";
// line 123
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 123, $this->source); })()), "nom", [], "any", false, false, false, 123), "html", null, true);
echo "
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t";
// line 127
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 127, $this->source); })()), "description", [], "any", false, false, false, 127), "html", null, true);
echo "
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\tPrix: <strong>";
// line 131
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 131, $this->source); })()), "newprise", [], "any", false, false, false, 131), "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.', 131, $this->source); })()), "html", null, true);
echo "</strong> / <span style=\"text-decoration: line-through;\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 131, $this->source); })()), "ancienPrixProduit", [], "any", false, false, false, 131), "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.', 131, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t
\t\t\t<div class=\"col-md-12\">
\t\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t\tCaractéristiques
\t\t\t\t</h3>
\t\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t
\t\t\t";
// line 142
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["detail_produit"]) || array_key_exists("detail_produit", $context) ? $context["detail_produit"] : (function () { throw new RuntimeError('Variable "detail_produit" does not exist.', 142, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["detail"]) {
// line 143
echo "\t\t\t<div class=\"col-md-6\">
\t\t\t<span class=\"fa fa-check-circle\" style=\"font-size: 12px; color: green;\"></span> ";
// line 144
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["detail"], "nom", [], "any", false, false, false, 144), "html", null, true);
echo "
\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t<div class=\"col-md-6\">
\t\t\t... <span class=\"pull-right\"><span class=\"fa fa-hand-o-right\" style=\"font-size: 12px;\"></span> ";
// line 148
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["detail"], "valeur", [], "any", false, false, false, 148), "html", null, true);
echo " </span>
\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['detail'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 152
echo "\t\t\t<div class=\"-md-12\">
\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t<a href=\"#block-infos-livraison\" class=\"page-scroll-cgu\">Plus d'informations <span class=\"fa fa-chevron-circle-down\" style=\"color: green;\"></span></a>
\t\t\t\t";
// line 155
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_GESTION")) {
// line 156
echo "\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_ajouter_denouveaux_produits_courant_binplace", ["ide" => twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 156, $this->source); })()), "id", [], "any", false, false, false, 156)]), "html", null, true);
echo "\" style=\"float: right; font-size: 10px;\"><span class=\"fa fa-pencil\"></span></a>
\t\t\t\t";
}
// line 158
echo "\t\t\t</h3>
\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t</div>
\t\t</article>
\t\t</div>
\t\t
\t <div class=\"row\" id=\"block-infos-livraison\" style=\"box-shadow:0px 0px 2px rgba(0,0,0,0.0005); background: #fff!important; margin: 0px 0px 10px 0px!important; display: block;\">
\t <div class=\"col-md-12\" style=\"padding: 0px;\">
\t
\t
\t <ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
\t\t <li class=\"nav-item\">
\t\t\t<a class=\"nav-link active\" id=\"home-tab\" data-toggle=\"tab\" href=\"#!\" data-target=\"#home\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">Description</a>
\t\t </li>
\t\t <li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" id=\"profile-tab\" data-toggle=\"tab\" href=\"#!\" data-target=\"#profile\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">Livraison</a>
\t\t </li>
\t\t <li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" id=\"contact-tab\" data-toggle=\"tab\" href=\"#!\" data-target=\"#contact\" role=\"tab\" aria-controls=\"contact\" aria-selected=\"false\">Avis</a>
\t\t </li>
\t\t</ul>
\t\t<div class=\"tab-content\" id=\"myTabContent\">
\t\t <div class=\"tab-pane fade show active\" id=\"home\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
\t\t\t<div class=\"col-md-12\" style=\"margin-top: 15px;\">
\t\t\t\t<h3>";
// line 183
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 183, $this->source); })()), "nom", [], "any", false, false, false, 183), "html", null, true);
echo "</h3>
\t\t\t\t<hr/>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t";
// line 187
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 187, $this->source); })()), "description", [], "any", false, false, false, 187), "html", null, true);
echo "
\t\t\t\t<hr/>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t";
// line 191
echo twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 191, $this->source); })()), "contenu", [], "any", false, false, false, 191);
echo "
\t\t\t</div>
\t\t </div>
\t\t <div class=\"tab-pane fade\" id=\"profile\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">
\t\t\t <div class=\"alert alert-success\" style=\"white-space: normal; border-radius: 0px; margin: 15px 0px 0px 0px;\">
\t\t\t\t<strong><span class=\"fa fa-exclamation-triangle\"></span> Points de livraison du produit <span class=\"fa fa-quote-left\"></span> ";
// line 196
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 196, $this->source); })()), "nom", [], "any", false, false, false, 196), "html", null, true);
echo "</strong>
\t\t\t\t<a href=\"#!\" class=\"flat-busness open-modal-souscription-offert\" style=\"float: right;\" value=\"";
// line 197
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 197, $this->source); })()), "id", [], "any", false, false, false, 197), "html", null, true);
echo "\" name=\"0\"><span class=\"fa fa-cart-plus\" style=\"font-size: 12px;\"></span> Ajouter au panier</a>
\t\t\t\t</br></br>
\t\t\t\t<div>En commandant le produit ci-dessus, vous pouvez être livré à l'un de ces points où à un point que vous définirez lors de la finalisation de votre commande.</div>
\t\t\t </div>
\t\t\t
\t\t\t <div class=\"table-responsive-vertical shadow-z-1\">
\t\t\t\t <table id=\"table\" class=\"table table-hover table-mc-light-blue\">
\t\t\t\t\t <thead>
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t <th>N°</th>
\t\t\t\t\t\t <th>Boutique</th>
\t\t\t\t\t\t <th>Livraison</th>
\t\t\t\t\t\t <th>Coût livraison</th>
\t\t\t\t\t\t</tr>
\t\t\t\t\t </thead>
\t\t\t\t\t <tbody>
\t\t\t\t\t\t";
// line 213
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["liste_point"]) || array_key_exists("liste_point", $context) ? $context["liste_point"] : (function () { throw new RuntimeError('Variable "liste_point" does not exist.', 213, $this->source); })()));
$context['_iterated'] = false;
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["point"]) {
// line 214
echo "\t\t\t\t\t\t<tr>
\t\t\t\t\t\t <td data-title=\"N°\">";
// line 215
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 215), "html", null, true);
echo "</td>
\t\t\t\t\t\t <td data-title=\"Boutique\">";
// line 216
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["point"], "produitboutique", [], "any", false, false, false, 216), null))) {
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["point"], "produitboutique", [], "any", false, false, false, 216), "projet", [], "any", false, false, false, 216), null))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["point"], "produitboutique", [], "any", false, false, false, 216), "projet", [], "any", false, false, false, 216), "nom", [], "any", false, false, false, 216), "html", null, true);
} else {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["point"], "produitboutique", [], "any", false, false, false, 216), "user", [], "any", false, false, false, 216), "name", [0 => 30], "method", false, false, false, 216), "html", null, true);
}
} else {
echo "Aucune";
}
echo "</td>
\t\t\t\t\t\t <td data-title=\"Livraison\">";
// line 217
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["point"], "ville", [], "any", false, false, false, 217), null))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["point"], "ville", [], "any", false, false, false, 217), "nom", [], "any", false, false, false, 217), "html", null, true);
}
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["point"], "quartiertext", [], "any", false, false, false, 217), "html", null, true);
echo "</td>
\t\t\t\t\t\t <td data-title=\"Coût livraison\">";
// line 218
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["point"], "montant", [], "any", false, false, false, 218), "html", null, true);
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.', 218, $this->source); })()), "html", null, true);
echo "</td>
\t\t\t\t\t\t</tr>
\t\t\t\t\t\t";
$context['_iterated'] = true;
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
if (!$context['_iterated']) {
// line 221
echo "\t\t\t\t\t\t<tr>
\t\t\t\t\t\t <td data-title=\"N°\">-</td>
\t\t\t\t\t\t <td data-title=\"Boutique\">-</td>
\t\t\t\t\t\t <td data-title=\"Livraison\">-</td>
\t\t\t\t\t\t <td data-title=\"Coût livraison\">-</td>
\t\t\t\t\t\t <td data-title=\"Op\">-</td>
\t\t\t\t\t\t</tr>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['point'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 229
echo "\t\t\t\t\t </tbody>
\t\t\t\t </table>
\t\t\t </div>
\t\t </div>
\t\t <div class=\"tab-pane fade\" id=\"contact\" role=\"tabpanel\" aria-labelledby=\"contact-tab\">...</div>
\t\t</div>
\t
\t </div>
<div class=\"clearfix\"></div>
\t</div>
\t</div>
</div>
</div>
</div>
<script src=\"";
// line 249
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/js/onvisible.js"), "html", null, true);
echo "\" type=\"text/javascript\"></script>
<!-- END CONTENT -->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 253
public function block_javascripttemplate($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", "javascripttemplate"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripttemplate"));
// line 254
echo "
\$('.courant-souscategorie-";
// line 255
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 255, $this->source); })()), "souscategorie", [], "any", false, false, false, 255), "id", [], "any", false, false, false, 255), "html", null, true);
echo "').css('background','#dadada');
\$('.courant-souscategorie-";
// line 256
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["produit"]) || array_key_exists("produit", $context) ? $context["produit"] : (function () { throw new RuntimeError('Variable "produit" does not exist.', 256, $this->source); })()), "souscategorie", [], "any", false, false, false, 256), "id", [], "any", false, false, false, 256), "html", null, true);
echo "').find('a').css('color','#00bcd4');
var bouge = 1;
var dimension = 200;
function activateelement()
{
var visibility = visibleElement('.animecourant-panel');
if(visibility && bouge == 0){
\tbouge = 1;
\t\$('.toutleblock').css('position','relative');
\t\$('.toutleblock').css('bottom','0px');
}
}
function stopelement()
{
var visibility = visibleElement('.stop-courant-panel');
if(visibility && bouge == 1){
\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t{
\t}else{
\tbouge = 0;
\t\$('.toutleblock').css('position','fixed');
\t\$('.toutleblock').css('width',dimension+'px');
\t\$('.toutleblock').css('bottom','100px');
\t}
}
}
function controlScroll()
{
\tvar largeur = (\$(window).width());
\tdimension = \$('.toutleblock').width();
\tif (largeur >= 768)
\t{
\t\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t\t{
\t\t\$('.toutleblock').css('position','fixed');
\t\t\$('.toutleblock').css('width',dimension+'px');
\t\t}else{
\t\twindow.setInterval(function() { stopelement(); }, 100);
\t\twindow.setInterval(function() { activateelement(); }, 100);
\t\t}
\t\t
\t}
}
controlScroll();
\$('.open-modal-souscription-offert').click(function(){
\t\$('#modal-souscription-offert').modal('show');
\tvar id = \$(this).attr('value');
\tif(\$(this).attr('name') == 0)
\t{
\t\$(this).attr('name', 1);
\t\$('.wait-chargement-content-module').show();
\t\$('.content-module-loading').hide();
\t\$.post('";
// line 314
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_personnaliser_produit_pour_commande");
echo "',{id: id}, function(data){
\t\t\$('.wait-chargement-content-module').hide();
\t\t\$('.content-module-loading').html(data);
\t\t\$('.content-module-loading').show();
\t\t\$('.open-modal-souscription-offert').attr('name', 0);
\t});
\t}
});
\$('a.page-scroll-cgu').click(function(){
if (location.pathname.replace(/^\\//,'') == this.pathname.replace(/^\\//,'') && location.hostname == this.hostname) {
var target = \$(this.hash);
target = target.length ? target : \$('[name=' + this.hash.slice(1) +']');
if (target.length) {
\t\$('html,body').animate({
\t scrollTop: target.offset().top - 40
\t}, 900);
\treturn false;
}
}
});
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Theme/Produit/Produit/Produit/detailproduit.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 653 => 314, 592 => 256, 588 => 255, 585 => 254, 575 => 253, 561 => 249, 539 => 229, 526 => 221, 509 => 218, 501 => 217, 489 => 216, 485 => 215, 482 => 214, 464 => 213, 445 => 197, 441 => 196, 433 => 191, 426 => 187, 419 => 183, 392 => 158, 386 => 156, 384 => 155, 379 => 152, 369 => 148, 362 => 144, 359 => 143, 355 => 142, 335 => 131, 328 => 127, 321 => 123, 307 => 111, 298 => 108, 294 => 107, 291 => 106, 287 => 105, 274 => 97, 258 => 84, 249 => 77, 247 => 76, 222 => 53, 220 => 52, 213 => 48, 207 => 47, 201 => 46, 195 => 45, 186 => 38, 176 => 37, 149 => 19, 145 => 18, 140 => 16, 130 => 15, 115 => 12, 105 => 11, 88 => 7, 79 => 5, 75 => 4, 72 => 3, 62 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"Theme/Users/User/layoutuser.html.twig\" %}
{% block meta %}
\t{{ parent() }}
\t<meta name=\"keywords\" content=\"{{ site }}, Business, e-commerce,{{ produit.souscategorie.nom }},{{ produit.nom }}\"/>
\t<meta name=\"author\" content=\"Noel Kenfack\"/>
\t<meta name=\"description\" content=\"{{ site }} | {{ produit.souscategorie.nom }} - {{ produit.nom }}\"/>
{% endblock %}
{% block title %}
\t{{ parent() }} | {{ produit.nom }}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
\t<link rel=\"stylesheet\" href=\"{{ asset('template/single/css/etalage.css') }}\"/>
\t<script src=\"{{ asset('template/single/js/jquery.etalage.min.js') }}\"></script>
\t<script type=\"text/javascript\">
\t\tjQuery(document).ready(function(\$){
\t\t\t\$('#etalage').etalage({
\t\t\t\tthumb_image_width: 300,
\t\t\t\tthumb_image_height: 400,
\t\t\t\tsource_image_width: 800,
\t\t\t\tsource_image_height: 1000,
\t\t\t\tshow_hint: true,
\t\t\t\tclick_callback: function(image_anchor, instance_id){
\t\t\t\t\talert('Callback example:\\nYou clicked on an image with the anchor: \"'+image_anchor+'\"\\n(in Etalage instance: \"'+instance_id+'\")');
\t\t\t\t}
\t\t\t});
\t\t});
\t</script>
{% endblock %}
{% block userblog_body %}
<section style=\"padding: 15px 0px 5px 0px; background: #f7f7f7;\">
\t<div class=\"container\">
\t<div class=\"row\">
\t<div class=\"col-md-8\">
\t\t<ul class=\"breadcrumbs\">
\t\t <li><a href=\"{{ path('users_user_acces_plateforme') }}\"><i class=\"fa fa-home\" style=\"font-size: 11px;\"></i> {{ 'Accueil'|trans }}</a></li>
\t\t <li><a href=\"{{ path('produit_produit_acceuil_sousdomaine_type_market_place') }}\">{{ 'Produits'|trans }}</a></li>
\t\t <li><a href=\"{{ path('produit_produit_acceuil_sousdomaine_type_market_place', {'idscat': produit.souscategorie.id}) }}\">{{ produit.souscategorie.nom }}</a></li>
\t\t <li>{{ produit.nom|trans }}</li>
\t\t</ul>
\t</div>
\t<div class=\"col-md-4 text-right\">
\t\t{% include \"Theme/General/Template/Menu/contacts.html.twig\" %}
\t</div>
\t</div>
\t</div>
</section>
<div class=\"section-content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<div class=\"animecourant-panel\" style=\"display: block;\">
\t\t
</div>
</div>
</div>
<div class=\"row\">
\t<div class=\"col-md-4\" style=\"padding: 3px;\">
\t\t<div class=\"toutleblock\">
\t\t<div class=\"container\" style=\"margin: 7px 0px 0px 0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t<ul class=\"list-group\">
\t\t\t
\t\t\t{% include \"Theme/Produit/Produit/Produit/produitsimilaire.html.twig\" %}
\t\t\t
\t\t </ul>
\t\t</div>
\t\t
\t\t<div class=\"container\" style=\"margin: 7px 0px 0px 0px; box-shadow:0px 0px 2px rgba(0,0,0,0.01); background: #fff;\">
\t\t<ul class=\"list-group\">
\t\t\t
\t\t\t{{ render(controller(\"App\\\\Controller\\\\Produit\\\\Produit\\\\CategorieController:menusouscategorie\", {'taille': 10})) }}
\t\t\t
\t\t </ul>
\t\t</div>
\t\t <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 stop-courant-panel\">
\t\t </div>
\t\t </div>
\t</div>
\t<div class=\"col-md-8\" style=\"padding: 3px;\">
\t\t<div class=\"row\" style=\"margin: 7px 0px 15px 0px;\">
\t\t <div class=\"col-md-12\">
\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t{{ produit.nom|trans }} <a href=\"#!\" class=\"flat-busness open-modal-souscription-offert\" style=\"float: right;\" value=\"{{ produit.id }}\" name=\"0\"><span class=\"fa fa-cart-plus\" style=\"font-size: 12px;\"></span> Ajouter au panier</a>
\t\t\t</h3>
\t\t </div>
\t\t</div>
\t\t
\t\t<div class=\"row\" style=\"margin: 7px 0px 15px 0px; background: #fafafa;\">
\t\t<article class=\"col-md-6\" style=\"background: #fff; padding-top: 7px;\">
\t\t\t<ul id=\"etalage\" style=\"width: 100%;\">
\t\t\t {% for img in produit.imgproduits %}
\t\t\t\t<li>
\t\t\t\t\t<img class=\"etalage_thumb_image\" src=\"{{ asset(img.getWebpath) }}\" class=\"img-responsive\"/>
\t\t\t\t\t<img class=\"etalage_source_image\" src=\"{{ asset(img.getWebpath) }}\" class=\"img-responsive\"/>
\t\t\t\t</li>
\t\t\t {% endfor %}
\t\t\t</ul>
\t\t</article>
\t\t<article class=\"col-md-6 text-left\">
\t\t\t<div class=\"divider\" style=\"border-top: 2px dashed #999;\"></div>
\t\t\t<div class=\"row\" style=\"background: #fafafa;\">
\t\t\t<div class=\"col-md-12\">
\t\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\tDétails du produit
\t\t\t\t</h3>
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t{{ produit.nom }}
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t{{ produit.description }}
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\tPrix: <strong>{{ produit.newprise }} {{ devise }}</strong> / <span style=\"text-decoration: line-through;\">{{ produit.ancienPrixProduit }} {{ devise }}</span>
\t\t\t\t<hr>
\t\t\t</div>
\t\t\t
\t\t\t<div class=\"col-md-12\">
\t\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t\tCaractéristiques
\t\t\t\t</h3>
\t\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t
\t\t\t{% for detail in detail_produit %}
\t\t\t<div class=\"col-md-6\">
\t\t\t<span class=\"fa fa-check-circle\" style=\"font-size: 12px; color: green;\"></span> {{ detail.nom }}
\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t<div class=\"col-md-6\">
\t\t\t... <span class=\"pull-right\"><span class=\"fa fa-hand-o-right\" style=\"font-size: 12px;\"></span> {{ detail.valeur }} </span>
\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t{% endfor %}
\t\t\t<div class=\"-md-12\">
\t\t\t<h3 class=\"breadcrumbs-title\">
\t\t\t\t<a href=\"#block-infos-livraison\" class=\"page-scroll-cgu\">Plus d'informations <span class=\"fa fa-chevron-circle-down\" style=\"color: green;\"></span></a>
\t\t\t\t{% if is_granted('ROLE_GESTION') %}
\t\t\t\t\t<a href=\"{{ path('produit_produit_ajouter_denouveaux_produits_courant_binplace', {'ide': produit.id }) }}\" style=\"float: right; font-size: 10px;\"><span class=\"fa fa-pencil\"></span></a>
\t\t\t\t{% endif %}
\t\t\t</h3>
\t\t\t<hr style=\"margin-top: 7px;\">
\t\t\t</div>
\t\t\t</div>
\t\t</article>
\t\t</div>
\t\t
\t <div class=\"row\" id=\"block-infos-livraison\" style=\"box-shadow:0px 0px 2px rgba(0,0,0,0.0005); background: #fff!important; margin: 0px 0px 10px 0px!important; display: block;\">
\t <div class=\"col-md-12\" style=\"padding: 0px;\">
\t
\t
\t <ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
\t\t <li class=\"nav-item\">
\t\t\t<a class=\"nav-link active\" id=\"home-tab\" data-toggle=\"tab\" href=\"#!\" data-target=\"#home\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">Description</a>
\t\t </li>
\t\t <li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" id=\"profile-tab\" data-toggle=\"tab\" href=\"#!\" data-target=\"#profile\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">Livraison</a>
\t\t </li>
\t\t <li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" id=\"contact-tab\" data-toggle=\"tab\" href=\"#!\" data-target=\"#contact\" role=\"tab\" aria-controls=\"contact\" aria-selected=\"false\">Avis</a>
\t\t </li>
\t\t</ul>
\t\t<div class=\"tab-content\" id=\"myTabContent\">
\t\t <div class=\"tab-pane fade show active\" id=\"home\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
\t\t\t<div class=\"col-md-12\" style=\"margin-top: 15px;\">
\t\t\t\t<h3>{{ produit.nom }}</h3>
\t\t\t\t<hr/>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t{{ produit.description }}
\t\t\t\t<hr/>
\t\t\t</div>
\t\t\t<div class=\"col-md-12\">
\t\t\t\t{{ produit.contenu|raw }}
\t\t\t</div>
\t\t </div>
\t\t <div class=\"tab-pane fade\" id=\"profile\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">
\t\t\t <div class=\"alert alert-success\" style=\"white-space: normal; border-radius: 0px; margin: 15px 0px 0px 0px;\">
\t\t\t\t<strong><span class=\"fa fa-exclamation-triangle\"></span> Points de livraison du produit <span class=\"fa fa-quote-left\"></span> {{ produit.nom }}</strong>
\t\t\t\t<a href=\"#!\" class=\"flat-busness open-modal-souscription-offert\" style=\"float: right;\" value=\"{{ produit.id }}\" name=\"0\"><span class=\"fa fa-cart-plus\" style=\"font-size: 12px;\"></span> Ajouter au panier</a>
\t\t\t\t</br></br>
\t\t\t\t<div>En commandant le produit ci-dessus, vous pouvez être livré à l'un de ces points où à un point que vous définirez lors de la finalisation de votre commande.</div>
\t\t\t </div>
\t\t\t
\t\t\t <div class=\"table-responsive-vertical shadow-z-1\">
\t\t\t\t <table id=\"table\" class=\"table table-hover table-mc-light-blue\">
\t\t\t\t\t <thead>
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t <th>N°</th>
\t\t\t\t\t\t <th>Boutique</th>
\t\t\t\t\t\t <th>Livraison</th>
\t\t\t\t\t\t <th>Coût livraison</th>
\t\t\t\t\t\t</tr>
\t\t\t\t\t </thead>
\t\t\t\t\t <tbody>
\t\t\t\t\t\t{% for point in liste_point %}
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t <td data-title=\"N°\">{{ loop.index }}</td>
\t\t\t\t\t\t <td data-title=\"Boutique\">{% if point.produitboutique != null %}{% if point.produitboutique.projet != null %}{{ point.produitboutique.projet.nom }}{% else %}{{ point.produitboutique.user.name(30) }}{% endif %}{% else %}Aucune{% endif %}</td>
\t\t\t\t\t\t <td data-title=\"Livraison\">{% if point.ville != null %}{{ point.ville.nom }}{% endif %} - {{ point.quartiertext }}</td>
\t\t\t\t\t\t <td data-title=\"Coût livraison\">{{ point.montant }}{{ devise }}</td>
\t\t\t\t\t\t</tr>
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t<tr>
\t\t\t\t\t\t <td data-title=\"N°\">-</td>
\t\t\t\t\t\t <td data-title=\"Boutique\">-</td>
\t\t\t\t\t\t <td data-title=\"Livraison\">-</td>
\t\t\t\t\t\t <td data-title=\"Coût livraison\">-</td>
\t\t\t\t\t\t <td data-title=\"Op\">-</td>
\t\t\t\t\t\t</tr>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t </tbody>
\t\t\t\t </table>
\t\t\t </div>
\t\t </div>
\t\t <div class=\"tab-pane fade\" id=\"contact\" role=\"tabpanel\" aria-labelledby=\"contact-tab\">...</div>
\t\t</div>
\t
\t </div>
<div class=\"clearfix\"></div>
\t</div>
\t</div>
</div>
</div>
</div>
<script src=\"{{ asset('template/js/onvisible.js') }}\" type=\"text/javascript\"></script>
<!-- END CONTENT -->
{% endblock %}
{% block javascripttemplate %}
\$('.courant-souscategorie-{{ produit.souscategorie.id }}').css('background','#dadada');
\$('.courant-souscategorie-{{ produit.souscategorie.id }}').find('a').css('color','#00bcd4');
var bouge = 1;
var dimension = 200;
function activateelement()
{
var visibility = visibleElement('.animecourant-panel');
if(visibility && bouge == 0){
\tbouge = 1;
\t\$('.toutleblock').css('position','relative');
\t\$('.toutleblock').css('bottom','0px');
}
}
function stopelement()
{
var visibility = visibleElement('.stop-courant-panel');
if(visibility && bouge == 1){
\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t{
\t}else{
\tbouge = 0;
\t\$('.toutleblock').css('position','fixed');
\t\$('.toutleblock').css('width',dimension+'px');
\t\$('.toutleblock').css('bottom','100px');
\t}
}
}
function controlScroll()
{
\tvar largeur = (\$(window).width());
\tdimension = \$('.toutleblock').width();
\tif (largeur >= 768)
\t{
\t\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
\t\t{
\t\t\$('.toutleblock').css('position','fixed');
\t\t\$('.toutleblock').css('width',dimension+'px');
\t\t}else{
\t\twindow.setInterval(function() { stopelement(); }, 100);
\t\twindow.setInterval(function() { activateelement(); }, 100);
\t\t}
\t\t
\t}
}
controlScroll();
\$('.open-modal-souscription-offert').click(function(){
\t\$('#modal-souscription-offert').modal('show');
\tvar id = \$(this).attr('value');
\tif(\$(this).attr('name') == 0)
\t{
\t\$(this).attr('name', 1);
\t\$('.wait-chargement-content-module').show();
\t\$('.content-module-loading').hide();
\t\$.post('{{ path('produit_produit_personnaliser_produit_pour_commande') }}',{id: id}, function(data){
\t\t\$('.wait-chargement-content-module').hide();
\t\t\$('.content-module-loading').html(data);
\t\t\$('.content-module-loading').show();
\t\t\$('.open-modal-souscription-offert').attr('name', 0);
\t});
\t}
});
\$('a.page-scroll-cgu').click(function(){
if (location.pathname.replace(/^\\//,'') == this.pathname.replace(/^\\//,'') && location.hostname == this.hostname) {
var target = \$(this.hash);
target = target.length ? target : \$('[name=' + this.hash.slice(1) +']');
if (target.length) {
\t\$('html,body').animate({
\t scrollTop: target.offset().top - 40
\t}, 900);
\treturn false;
}
}
});
{% endblock %}", "Theme/Produit/Produit/Produit/detailproduit.html.twig", "/home/afhunt/domains/mbill.afhunt.com/public_html/market/templates/Theme/Produit/Produit/Produit/detailproduit.html.twig");
}
}