var/cache/dev/twig/5c/5cb4542f334f0823bff2ae6451c86a4c.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Flexy\FrontBundle/templates/announce/singleAnnounce/singleAnnounce.html.twig */
  14. class __TwigTemplate_cc61d89892253bc7f5f9d3f5db701b7c extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body' => [$this'block_body'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@Flexy/FrontBundle/templates/announce/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy\\FrontBundle/templates/announce/singleAnnounce/singleAnnounce.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy\\FrontBundle/templates/announce/singleAnnounce/singleAnnounce.html.twig"));
  39.         $this->parent $this->loadTemplate("@Flexy/FrontBundle/templates/announce/layout.html.twig""@Flexy\\FrontBundle/templates/announce/singleAnnounce/singleAnnounce.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_body($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         // line 4
  55.         echo "<style>
  56. .countersection .count{
  57.     padding:10px !important;
  58.     font-size:18px;
  59. }
  60. .lbwLaz {
  61.     display: flex;
  62.     -webkit-box-pack: center;
  63.     justify-content: center;
  64.     -webkit-box-align: center;
  65.     align-items: center;
  66.     height: 40px;
  67.     border: 1px solid rgb(36, 85, 204);
  68.     border-radius: 4px;
  69.     color: rgb(102, 102, 102);
  70.     font-size: 16px;
  71.     font-weight: 500;
  72.     letter-spacing: 1px;
  73. }
  74. .jTSsep {
  75.     position: relative;
  76.     padding: 16px;
  77.     background-color: white;
  78.     border-radius: 4px;
  79.     box-shadow: rgb(0 0 0 / 32%) 1px 1px 20px -4px, rgb(0 0 0 / 12%) 0px 0px 6px -2px;
  80.     margin: 3.4em 16px 16px;
  81.     height: 100%;
  82.     box-sizing: border-box;
  83.     max-width: 900px;
  84.     z-index: 1050;
  85.     animation: 0.3s ease 0s 1 normal backwards running pop-in;
  86. }
  87. </style>
  88.  <div class=\"body-wrapper\">
  89.             <!-- Begin Header Area -->
  90.             <!-- Header Area End Here -->
  91.             <!-- Begin Li's Breadcrumb Area -->
  92.             <div class=\"breadcrumb-area menu-item\">
  93.                 <div class=\"container simple-container\">
  94.                     <div class=\"breadcrumb-content\">
  95.                         <ul>
  96.                             <li><a href=\"";
  97.         // line 49
  98.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_home");
  99.         echo "\">Accueil</a></li>
  100.                             ";
  101.         // line 51
  102.         $context['_parent'] = $context;
  103.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'51$this->source); })()), "categoriesProduct", [], "any"falsefalsefalse51));
  104.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  105.             // line 52
  106.             echo "
  107.                             <li ><a href=\"";
  108.             // line 53
  109.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("single_category_product", ["id" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse53)]), "html"nulltrue);
  110.             echo "\">";
  111.             echo twig_escape_filter($this->env$context["category"], "html"nulltrue);
  112.             echo "</a></li>
  113.                             ";
  114.         }
  115.         $_parent $context['_parent'];
  116.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  117.         $context array_intersect_key($context$_parent) + $_parent;
  118.         // line 56
  119.         echo "                            <li class=\"active\">";
  120.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'56$this->source); })()), "name", [], "any"falsefalsefalse56), "html"nulltrue);
  121.         echo "</li>
  122.                             
  123.                         </ul>
  124.                     </div>
  125.                 </div>
  126.             </div>
  127.             <!-- Li's Breadcrumb Area End Here -->
  128.             <!-- content-wraper start -->
  129.             <div class=\"content-wraper\">
  130.                 <div class=\"container\">
  131.                     <div class=\"row single-product-area\">
  132.                         <div class=\"col-lg-8 col-md-5\">
  133.                            <!-- Details de produit Left -->
  134.                             <div class=\"product-details-left sp-tab-style-left-page\">
  135.                                 <div class=\"product-details-images slider-navigation-1\">
  136.                                     <div class=\"lg-image menu-item\">
  137.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/";
  138.         // line 77
  139.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'77$this->source); })()), "image", [], "any"falsefalsefalse77)), "html"nulltrue);
  140.         echo "\" data-gall=\"myGallery\">
  141.                                             <img  src=\"/uploads/";
  142.         // line 78
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'78$this->source); })()), "image", [], "any"falsefalsefalse78)), "html"nulltrue);
  144.         echo "\" alt=\"";
  145.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'78$this->source); })()), "name", [], "any"falsefalsefalse78), "html"nulltrue);
  146.         echo "\">
  147.                                         </a>
  148.                                     </div>
  149.                                     ";
  150.         // line 82
  151.         $context['_parent'] = $context;
  152.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'82$this->source); })()), "images", [], "any"falsefalsefalse82));
  153.         foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  154.             // line 83
  155.             echo "                                    <div class=\"lg-image  menu-item\">
  156.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/images/products";
  157.             // line 84
  158.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "path", [], "any"falsefalsefalse84)), "html"nulltrue);
  159.             echo "\" data-gall=\"myGallery\">
  160.                                             <img  src=\"/uploads/images/products";
  161.             // line 85
  162.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "path", [], "any"falsefalsefalse85)), "html"nulltrue);
  163.             echo "\" alt=\"";
  164.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "alt", [], "any"falsefalsefalse85), "html"nulltrue);
  165.             echo "\">
  166.                                         </a>
  167.                                     </div>
  168.                                     ";
  169.         }
  170.         $_parent $context['_parent'];
  171.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  172.         $context array_intersect_key($context$_parent) + $_parent;
  173.         // line 89
  174.         echo "
  175.                                     
  176.                                 </div>
  177.                                 <div class=\"tab-style-left\">
  178.                                     <div class=\"sm-image\"><img  src=\"/uploads/";
  179.         // line 98
  180.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'98$this->source); })()), "image", [], "any"falsefalsefalse98)), "html"nulltrue);
  181.         echo "\" alt=\"";
  182.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'98$this->source); })()), "name", [], "any"falsefalsefalse98), "html"nulltrue);
  183.         echo "\"></div>
  184.                                     ";
  185.         // line 99
  186.         $context['_parent'] = $context;
  187.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'99$this->source); })()), "images", [], "any"falsefalsefalse99));
  188.         foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  189.             // line 100
  190.             echo "                                        <div class=\"sm-image\"><img  src=\"/uploads/images/products";
  191.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "path", [], "any"falsefalsefalse100)), "html"nulltrue);
  192.             echo "\" alt=\"";
  193.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "alt", [], "any"falsefalsefalse100), "html"nulltrue);
  194.             echo "\"></div>
  195.                                     ";
  196.         }
  197.         $_parent $context['_parent'];
  198.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  199.         $context array_intersect_key($context$_parent) + $_parent;
  200.         // line 102
  201.         echo "                                
  202.                                 </div>
  203.                             </div>
  204.                             <!--// Details de produit Left -->
  205.                         </div>
  206.                         <div class=\"col-lg-4 col-md-5\">
  207.                             <div class=\"product-details-view-content pt-60\">
  208.                                 <div class=\"product-info\">
  209.                                     
  210.                                     <h2>";
  211.         // line 112
  212.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'112$this->source); })()), "name", [], "any"falsefalsefalse112), "html"nulltrue);
  213.         echo "</h2>
  214.                                    
  215.                                     <p class=\"sell-by\">
  216.                                     
  217.                                     ";
  218.         // line 118
  219.         if (twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'118$this->source); })()), "brand", [], "any"falsefalsefalse118)) {
  220.             echo " Marque: <a href=\"#\">";
  221.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'118$this->source); })()), "brand", [], "any"falsefalsefalse118), "html"nulltrue);
  222.             echo "</a>";
  223.         }
  224.         echo "  ";
  225.         if (twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'118$this->source); })()), "vendor", [], "any"falsefalsefalse118)) {
  226.             echo " / <a href=\"#\"> Par ";
  227.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'118$this->source); })()), "vendor", [], "any"falsefalsefalse118), "html"nulltrue);
  228.             echo " </a>";
  229.         }
  230.         echo "</span>
  231.                                     
  232.                                     
  233.                                     
  234.                                     </p>
  235.                                     ";
  236.         // line 123
  237.         if (twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'123$this->source); })()), "skuCode", [], "any"falsefalsefalse123)) {
  238.             // line 124
  239.             echo "                                    <span class=\"product-details-ref d-none\">Reference: ";
  240.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'124$this->source); })()), "skuCode", [], "any"falsefalsefalse124), "html"nulltrue);
  241.             echo "</span>
  242.                                     ";
  243.         }
  244.         // line 126
  245.         echo "                                   
  246.                                     <div class=\"price-box pt-20\">
  247.                                         <span class=\"new-price new-price-2\" style=\"color:#e9a124 \">";
  248.         // line 128
  249.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'128$this->source); })()), "price", [], "any"falsefalsefalse128), "html"nulltrue);
  250.         echo " MAD  </span>
  251.                                         
  252.                                     </div>
  253.                                      
  254.                                                 
  255.                                     
  256.                                     <div style=\"margin-top:15px;\" class=\"product-desc\">
  257.                                         <p>
  258.                                             <span>
  259.                                             ";
  260.         // line 138
  261.         echo twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'138$this->source); })()), "shortDescription", [], "any"falsefalsefalse138);
  262.         echo "
  263.                                             </span>
  264.                                         </p>
  265.                                     </div>
  266.                                                 
  267.                                      
  268.                                     
  269.                                    
  270.                                     
  271.                                     <div class=\"single-add-to-cart\">
  272.  
  273.                                          <a class=\"review-links add-cart add-to-cart mt-3\" style=\"c\" href=\"#\" data-toggle=\"modal\" data-target=\"#book-modal\"> <i style=\"font-size: 20px;\" class=\"fa fa-phone\" aria-hidden=\"true\"></i> Afficher le numĂ©ro</a>
  274.                                          
  275.                                           
  276.                                         
  277.                                     </div>
  278.                                     <div class=\"booking-form-modal\" >
  279.                                     
  280.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  281.                                     <div class=\"modal fade modal-wrapper\" style=\"max-width: 500px;margin:auto;\" id=\"book-modal\" >
  282.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  283.                                             <div class=\"modal-content\">
  284.                                                  
  285.                                           
  286.                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  287.                                             <span aria-hidden=\"true\">&times;</span>
  288.                                             </button>
  289.                                             
  290.                                                 <div class=\"modal-body \">
  291.                                                    
  292.                                                     <div class=\"modal-inner-area row \">
  293.                                                         <div class=\"col-12 p-3 text-center\" >
  294.                                                             <img style=\"width:50%;\" src=\"https://cdn.dribbble.com/users/1785628/screenshots/5721540/media/0a509383df0fc8df325a7049dac555d1.gif\"  />
  295.                                                             <h6 style=\"color: #ff5c5c\">Attention</h6>
  296.                                                             <p>
  297.                                                                 Il ne faut jamais envoyer de l’argent Ă  l’avance au vendeur par virement bancaire ou Ă  travers une agence de transfert d’argent lors de l’achat des biens disponibles sur le site.
  298.                                                             </p>
  299.                                                         
  300.                                                         </div>
  301.                                                         
  302.                                                         <div class=\"col-12 text-center\">
  303.                                                             <div class=\"li-review-content\">
  304.                                                                 <!-- Begin Feedback Area -->
  305.                                                                 <div class=\"feedback-area\">
  306.                                                                     <div class=\"feedback\">
  307.                                                         <form action=\"#\" class=\"cart-quantity\">
  308.                                                                             
  309.                                                                             
  310.                                                                             
  311.                                                                             <div class=\"row\" >
  312.                                                                                 <div class=\"col-12 menu-item\"  >
  313.                                                                                         <p class=\"feedback-form\">
  314.                                                                                             ";
  315.         // line 199
  316.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'199$this->source); })()), "vendor", [], "any"falsefalsefalse199) && (twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'199$this->source); })()), "vendor", [], "any"falsefalsefalse199) != null))) {
  317.             // line 200
  318.             echo "                                                                                        <label for=\"feedback\"> Appeler  ";
  319.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'200$this->source); })()), "vendor", [], "any"falsefalsefalse200), "fullName", [], "any"falsefalsefalse200), "html"nulltrue);
  320.             echo "</label>
  321.  
  322.                                                                                          
  323.                                                                                          <a  href=\"tel:";
  324.             // line 203
  325.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'203$this->source); })()), "vendor", [], "any"falsefalsefalse203), "tel", [], "any"falsefalsefalse203), "html"nulltrue);
  326.             echo "\" class=\"btn btn-outline-primary btn-lg\" > <i class=\"fa fa-phone\" ></i> ";
  327.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'203$this->source); })()), "vendor", [], "any"falsefalsefalse203), "tel", [], "any"falsefalsefalse203), "html"nulltrue);
  328.             echo "</a>
  329.                                                                                         ";
  330.         } else {
  331.             // line 206
  332.             echo "                                                                                        <label for=\"feedback\"> Appeler  ";
  333.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'206$this->source); })()), "customer", [], "any"falsefalsefalse206), "firstName", [], "any"falsefalsefalse206), "html"nulltrue);
  334.             echo "  ";
  335.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'206$this->source); })()), "customer", [], "any"falsefalsefalse206), "lastName", [], "any"falsefalsefalse206), "html"nulltrue);
  336.             echo "</label>
  337.  
  338.                                                                                          
  339.                                                                                          <a  href=\"tel:";
  340.             // line 209
  341.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'209$this->source); })()), "customer", [], "any"falsefalsefalse209), "firstName", [], "any"falsefalsefalse209), "html"nulltrue);
  342.             echo "\" class=\"btn btn-outline-primary btn-lg\" > <i class=\"fa fa-phone\" ></i> ";
  343.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'209$this->source); })()), "customer", [], "any"falsefalsefalse209), "phone", [], "any"falsefalsefalse209), "html"nulltrue);
  344.             echo "</a>
  345.                                                                                          ";
  346.         }
  347.         // line 212
  348.         echo "                                                                                        
  349.                                                                                         </p>
  350.                                                                             
  351.                                                                                 </div>
  352.                                                                                 
  353.                                                                                
  354.                                                                             </div>
  355.                                                                             
  356.                                                                              
  357.                                                                             
  358.                                                                             
  359.                                                                             <div class=\"feedback-input\">
  360.                                                                               
  361.                                                                                 
  362.                                                                                 <div class=\"feedback-btn pb-15\">
  363.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Annuler</a>
  364.                                                                                     
  365.                                                                                      </div>
  366.                                                                             </div>
  367.                                                                         </form>
  368.                                                                     </div>
  369.                                                                 </div>
  370.                                                                 <!-- Feedback Area End Here -->
  371.                                                             </div>
  372.                                                         </div>
  373.                                                         
  374.                                                     </div>
  375.                                                 </div>
  376.                                             </div>
  377.                                         </div>
  378.                                     </div>   
  379.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  380.                                     </div>
  381.                                     <div class=\"menu-item product-additional-info pt-25\">
  382.                                         <div class=\"product-social-sharing pt-25\">
  383.                                             <ul>
  384.                                                 <li class=\"facebook\"><a href=\"#\"><i class=\"fa fa-facebook\"></i>Facebook</a></li>
  385.                                                 <li class=\"twitter\"><a href=\"#\"><i class=\"fa fa-twitter\"></i>Twitter</a></li>
  386.                                                 <li class=\"google-plus\"><a href=\"#\"><i class=\"fa fa-google-plus\"></i>Google +</a></li>
  387.                                                 <li class=\"instagram\"><a href=\"#\"><i class=\"fa fa-instagram\"></i>Instagram</a></li>
  388.                                             </ul>
  389.                                         </div>
  390.                                     </div>
  391.                                     
  392.                                 </div>
  393.                             </div>
  394.                         </div> 
  395.                      <!-- <div class=\"col-lg-3 col-md-3 \">
  396.                                                             <div class=\"block-reassurance \">
  397.                                             <div class=\"row \" > 
  398.                                             ";
  399.         // line 276
  400.         if (twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'276$this->source); })()), "vendor", [], "any"falsefalsefalse276)) {
  401.             // line 277
  402.             echo "                                                <div class=\"col-12 p-3 \" >
  403.                                                         <div class=\"card actions p-3\">
  404.                                                             <h5>Vendeur : <span class=\"badge badge-warning\" >";
  405.             // line 279
  406.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'279$this->source); })()), "vendor", [], "any"falsefalsefalse279), "html"nulltrue);
  407.             echo "</span></h5>
  408.                                                                 <div>
  409.                                                                     <p>
  410.                                                                     <small>
  411.                                                                     100% Evaluation du vendeur<br>
  412.                                                                     67 abonnĂ©s <br>
  413.                                                                     </small>
  414.                                                                     <h6>Performance vendeur</h6>
  415.                                                                     <p>
  416.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Expeditions : <span class=\"badge badge-success text-white\" >Excellent</span>
  417.                                                                     <br>
  418.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> QualitĂ© : <span class=\"badge badge-warning text-white\" >Moyen</span>
  419.                                                                     <br>
  420.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Avis consommateurs : <span class=\"badge badge-warning text-white\" >Moyen</span>
  421.                                                                     
  422.                                                                     </p>
  423.                                                                     </p>
  424.                                                                 </div>
  425.                                                    
  426.                                                          </div>
  427.                                                 </div>
  428.                                                 ";
  429.         }
  430.         // line 303
  431.         echo "                                                    
  432.                                                 </div>
  433.                                         
  434.                                     </div>
  435.                         </div>-->
  436.                     </div>
  437.                 </div>
  438.             </div>
  439.             <!-- content-wraper end -->
  440.             <!-- Begin Product Area -->
  441.             <div class=\"product-area pt-35\">
  442.                 <div class=\"container\">
  443.                     <div class=\"row\">
  444.                         <div class=\"col-lg-12\">
  445.                             <div class=\"li-product-tab\">
  446.                                 <ul class=\"nav li-product-menu\">
  447.                                    <li><a class=\"active\" data-toggle=\"tab\" href=\"#description\" id=\"description_pro\"><span>Description</span></a></li>
  448.                                   <!-- <li><a data-toggle=\"tab\" href=\"#product-details\" id=\"description_technique\"><span>Descriptif technique</span></a></li>-->
  449.                                      <!-- <li><a data-toggle=\"tab\" href=\"#reviews\" id=\"comments\"><span>Avis</span></a></li>-->
  450.                                 </ul>               
  451.                             </div>
  452.                             <!-- Begin Li's Tab Menu Content Area -->
  453.                         </div>
  454.                     </div>
  455.                     <div class=\"tab-content\">
  456.                         <div id=\"description\" class=\"tab-pane active show\" role=\"tabpanel\">
  457.                             <div class=\"product-description\">
  458.                                 <span>
  459.                                     ";
  460.         // line 332
  461.         echo twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'332$this->source); })()), "description", [], "any"falsefalsefalse332);
  462.         echo "
  463.                                 </span>
  464.                             </div>
  465.                         </div>
  466.                         <div id=\"product-details\" class=\"tab-pane p-5\" role=\"tabpanel\">
  467.                                 <table class=\"table table-sm  \">
  468.                                             
  469.                                             <tbody>
  470.                                                 <tr>
  471.                                                 <th scope=\"row\">Modele</th>
  472.                                                 <td>MOD";
  473.         // line 342
  474.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'342$this->source); })()), "skuCode", [], "any"falsefalsefalse342), "html"nulltrue);
  475.         echo "</td>
  476.                                                 </tr>
  477.                                                 <tr>
  478.                                                 <th scope=\"row\">Marque</th>
  479.                                                 <td>";
  480.         // line 346
  481.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'346$this->source); })()), "brand", [], "any"falsefalsefalse346), "html"nulltrue);
  482.         echo "</td>
  483.                                                 </tr>
  484.                                                 <tr>
  485.                                                 <th scope=\"row\">SKU</th>
  486.                                                 <td>";
  487.         // line 350
  488.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'350$this->source); })()), "skuCode", [], "any"falsefalsefalse350), "html"nulltrue);
  489.         echo "</td>
  490.                                                 </tr>
  491.                                                 <tr>
  492.                                                 <th scope=\"row\">Poids (Kg)</th>
  493.                                                 <td>0.9 </td>
  494.                                                 </tr>
  495.                                                 
  496.                                                 
  497.                                                 
  498.                                                 
  499.                                             </tbody>
  500.                                             </table>
  501.                         </div>
  502.                         <div id=\"reviews\" class=\"tab-pane\" role=\"tabpanel\">
  503.                             <div class=\"product-reviews\">
  504.     <div class=\"container\">\t\t
  505. \t\t<div class=\"row\">
  506. \t\t\t<div class=\"col-sm-3\">
  507. \t\t\t\t<div class=\"rating-block\">
  508. \t\t\t\t\t<h4>AVIS </h4>
  509. \t\t\t\t\t<h2 class=\"bold padding-bottom-7\"> ";
  510.         // line 371
  511.         echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'371$this->source); })()), "rating", [], "any"falsefalsefalse371), 1"."","), "html"nulltrue);
  512.         echo " <small>/ 5</small></h2>
  513. \t\t\t\t\t
  514.                    ";
  515.         // line 374
  516.         if ((twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'374$this->source); })()), "rating", [], "any"falsefalsefalse374), 1"."",") > 0)) {
  517.             // line 375
  518.             echo "                     ";
  519.             $context['_parent'] = $context;
  520.             $context['_seq'] = twig_ensure_traversable(range(1twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'375$this->source); })()), "rating", [], "any"falsefalsefalse375))));
  521.             foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  522.                 // line 376
  523.                 echo "
  524.                       <button type=\"button\" class=\"btn btn-warning btn-sm\" aria-label=\"Left Align\">
  525. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  526. \t\t\t\t\t    </button>  
  527.                          ";
  528.             }
  529.             $_parent $context['_parent'];
  530.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  531.             $context array_intersect_key($context$_parent) + $_parent;
  532.             // line 381
  533.             echo "
  534.                                               ";
  535.             // line 382
  536.             if ((twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'382$this->source); })()), "rating", [], "any"falsefalsefalse382)) < 5)) {
  537.                 // line 383
  538.                 echo "                                                ";
  539.                 $context['_parent'] = $context;
  540.                 $context['_seq'] = twig_ensure_traversable(range(twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'383$this->source); })()), "rating", [], "any"falsefalsefalse383)), 4));
  541.                 foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  542.                     // line 384
  543.                     echo "                        <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\">
  544. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  545. \t\t\t\t\t</button>
  546.                                                 ";
  547.                 }
  548.                 $_parent $context['_parent'];
  549.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  550.                 $context array_intersect_key($context$_parent) + $_parent;
  551.                 // line 388
  552.                 echo "                                            ";
  553.             }
  554.             // line 389
  555.             echo "                           ";
  556.         } else {
  557.             echo "  
  558.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  559.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  560.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  561.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  562.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  563.             
  564.                              ";
  565.         }
  566.         // line 397
  567.         echo "                 
  568.                     
  569. \t\t\t\t</div>
  570. \t\t\t</div>
  571. \t\t\t<div class=\"col-sm-3\">
  572. \t\t\t\t<h4> &nbsp;</h4>
  573. \t\t\t\t<div class=\"pull-left\">
  574. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  575. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">5   <i class=\"fa fa-star\"></i> </div>
  576. \t\t\t\t\t</div>
  577. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  578. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  579.                             ";
  580.         // line 410
  581.         $context["percentage"] = 0;
  582.         // line 411
  583.         echo "                            ";
  584.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'411$this->source); })()), "getStars5", [], "any"falsefalsefalse411) > 0)) {
  585.             // line 412
  586.             echo "                            ";
  587.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'412$this->source); })()), "getStars5", [], "any"falsefalsefalse412) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'412$this->source); })()), "comments", [], "any"falsefalsefalse412))) * 100);
  588.             // line 413
  589.             echo "                            ";
  590.         }
  591.         // line 414
  592.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"5\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  593.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'414$this->source); })()), "html"nulltrue);
  594.         echo "%\">
  595. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  596. \t\t\t\t\t\t  </div>
  597. \t\t\t\t\t\t</div>
  598. \t\t\t\t\t</div>
  599. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\"> ";
  600.         // line 419
  601.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'419$this->source); })()), "getStars5", [], "any"falsefalsefalse419), "html"nulltrue);
  602.         echo "</div>
  603. \t\t\t\t</div>
  604. \t\t\t\t<div class=\"pull-left\">
  605. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  606. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">4  <i class=\"fa fa-star\"></i> </div>
  607. \t\t\t\t\t</div>
  608. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  609. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  610.                             ";
  611.         // line 427
  612.         $context["percentage"] = 0;
  613.         // line 428
  614.         echo "                            ";
  615.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'428$this->source); })()), "getStars4", [], "any"falsefalsefalse428) > 0)) {
  616.             // line 429
  617.             echo "                            ";
  618.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'429$this->source); })()), "getStars4", [], "any"falsefalsefalse429) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'429$this->source); })()), "comments", [], "any"falsefalsefalse429))) * 100);
  619.             // line 430
  620.             echo "                            ";
  621.         }
  622.         // line 431
  623.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-primary\" role=\"progressbar\" aria-valuenow=\"4\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  624.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'431$this->source); })()), "html"nulltrue);
  625.         echo "%\">
  626. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  627. \t\t\t\t\t\t  </div>
  628. \t\t\t\t\t\t</div>
  629. \t\t\t\t\t</div>
  630. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">
  631.                         
  632.                         ";
  633.         // line 438
  634.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'438$this->source); })()), "getStars4", [], "any"falsefalsefalse438), "html"nulltrue);
  635.         echo "
  636.                         
  637.                         </div>
  638. \t\t\t\t</div>
  639. \t\t\t\t<div class=\"pull-left\">
  640. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  641. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">3  <i class=\"fa fa-star\"></i></div>
  642. \t\t\t\t\t</div>
  643. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  644. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  645.                             ";
  646.         // line 448
  647.         $context["percentage"] = 0;
  648.         // line 449
  649.         echo "                            ";
  650.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'449$this->source); })()), "getStars3", [], "any"falsefalsefalse449) > 0)) {
  651.             // line 450
  652.             echo "                            ";
  653.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'450$this->source); })()), "getStars3", [], "any"falsefalsefalse450) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'450$this->source); })()), "comments", [], "any"falsefalsefalse450))) * 100);
  654.             // line 451
  655.             echo "                            ";
  656.         }
  657.         // line 452
  658.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"3\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width:";
  659.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'452$this->source); })()), "html"nulltrue);
  660.         echo "%\">
  661. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  662. \t\t\t\t\t\t  </div>
  663. \t\t\t\t\t\t</div>
  664. \t\t\t\t\t</div>
  665. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">";
  666.         // line 457
  667.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'457$this->source); })()), "getStars3", [], "any"falsefalsefalse457), "html"nulltrue);
  668.         echo "</div>
  669. \t\t\t\t</div>
  670. \t\t\t\t<div class=\"pull-left\">
  671. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  672. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">2  <i class=\"fa fa-star\"></i></div>
  673. \t\t\t\t\t</div>
  674. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  675. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  676.                             ";
  677.         // line 465
  678.         $context["percentage"] = 0;
  679.         // line 466
  680.         echo "                            ";
  681.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'466$this->source); })()), "getStars2", [], "any"falsefalsefalse466) > 0)) {
  682.             // line 467
  683.             echo "                            ";
  684.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'467$this->source); })()), "getStars2", [], "any"falsefalsefalse467) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'467$this->source); })()), "comments", [], "any"falsefalsefalse467))) * 100);
  685.             // line 468
  686.             echo "                            ";
  687.         }
  688.         // line 469
  689.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"2\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  690.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'469$this->source); })()), "html"nulltrue);
  691.         echo "%\">
  692. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  693. \t\t\t\t\t\t  </div>
  694. \t\t\t\t\t\t</div>
  695. \t\t\t\t\t</div>
  696. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">";
  697.         // line 474
  698.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'474$this->source); })()), "getStars2", [], "any"falsefalsefalse474), "html"nulltrue);
  699.         echo "</div>
  700. \t\t\t\t</div>
  701. \t\t\t\t<div class=\"pull-left\">
  702. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  703. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">1  <i class=\"fa fa-star\"></i></div>
  704. \t\t\t\t\t</div>
  705. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  706. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  707.                             ";
  708.         // line 482
  709.         $context["percentage"] = 0;
  710.         // line 483
  711.         echo "                            ";
  712.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'483$this->source); })()), "getStars1", [], "any"falsefalsefalse483) > 0)) {
  713.             // line 484
  714.             echo "                            ";
  715.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'484$this->source); })()), "getStars1", [], "any"falsefalsefalse484) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'484$this->source); })()), "comments", [], "any"falsefalsefalse484))) * 100);
  716.             // line 485
  717.             echo "                            ";
  718.         }
  719.         // line 486
  720.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"1\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  721.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'486$this->source); })()), "html"nulltrue);
  722.         echo "%\">
  723. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  724. \t\t\t\t\t\t  </div>
  725. \t\t\t\t\t\t</div>
  726. \t\t\t\t\t</div>
  727. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">";
  728.         // line 491
  729.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'491$this->source); })()), "getStars1", [], "any"falsefalsefalse491), "html"nulltrue);
  730.         echo "</div>
  731. \t\t\t\t</div>
  732. \t\t\t</div>\t\t\t
  733. \t\t</div>\t\t\t
  734. \t\t
  735. \t\t<div class=\"row\">
  736. \t\t\t<div class=\"col-sm-7\">
  737.                   
  738. \t\t\t\t<hr/>
  739. \t\t\t\t<div class=\"review-block\">
  740.                    ";
  741.         // line 501
  742.         $context['_parent'] = $context;
  743.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'501$this->source); })()), "comments", [], "any"falsefalsefalse501));
  744.         foreach ($context['_seq'] as $context["_key"] => $context["singleComment"]) {
  745.             // line 502
  746.             echo "\t\t\t\t\t<div class=\"row\">
  747. \t\t\t\t\t\t<div class=\"col-sm-3\">
  748. \t\t\t\t\t\t\t<img src=\"http://dummyimage.com/60x60/666/ffffff&text=No+Image\" class=\"img-rounded\">
  749. \t\t\t\t\t\t\t<div class=\"review-block-name\"><b> ";
  750.             // line 505
  751.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse505), "lastName", [], "any"falsefalsefalse505), "html"nulltrue);
  752.             echo " ";
  753.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse505), "firstName", [], "any"falsefalsefalse505), "html"nulltrue);
  754.             echo "</b></div>
  755. \t\t\t\t\t\t\t<div class=\"review-block-date\">";
  756.             // line 506
  757.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["singleComment"], "createdAt", [], "any"falsefalsefalse506), "Y-m-d H:i"), "html"nulltrue);
  758.             echo " </div>
  759. \t\t\t\t\t\t</div>
  760. \t\t\t\t\t\t<div class=\"col-sm-9\">
  761. \t\t\t\t\t\t\t<div class=\"review-block-rate\">
  762.                                    ";
  763.             // line 511
  764.             $context['_parent'] = $context;
  765.             $context['_seq'] = twig_ensure_traversable(range(1twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse511)));
  766.             foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  767.                 // line 512
  768.                 echo "                            \t<button type=\"button\" class=\"btn btn-warning btn-xs\" aria-label=\"Left Align\">
  769. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  770. \t\t\t\t\t\t\t\t</button>
  771.                    
  772.                                      ";
  773.             }
  774.             $_parent $context['_parent'];
  775.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  776.             $context array_intersect_key($context$_parent) + $_parent;
  777.             // line 517
  778.             echo "\t\t\t\t\t\t\t
  779. \t\t\t\t\t\t\t\t    ";
  780.             // line 518
  781.             if ((twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse518) < 5)) {
  782.                 // line 519
  783.                 echo "                                 ";
  784.                 $context['_parent'] = $context;
  785.                 $context['_seq'] = twig_ensure_traversable(range(twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse519), 4));
  786.                 foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  787.                     // line 520
  788.                     echo "\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default btn-grey btn-xs\" aria-label=\"Left Align\">
  789. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  790. \t\t\t\t\t\t\t\t</button>
  791.                                  ";
  792.                 }
  793.                 $_parent $context['_parent'];
  794.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  795.                 $context array_intersect_key($context$_parent) + $_parent;
  796.                 // line 524
  797.                 echo "                                 ";
  798.             }
  799.             // line 525
  800.             echo "\t\t\t\t\t\t\t</div>
  801. \t\t\t\t\t\t\t<div class=\"review-block-title\">COMMENTAIRES</div>
  802. \t\t\t\t\t\t\t<div class=\"review-block-description\">";
  803.             // line 527
  804.             echo twig_get_attribute($this->env$this->source$context["singleComment"], "comment", [], "any"falsefalsefalse527);
  805.             echo "</div>
  806. \t\t\t\t\t\t</div>
  807. \t\t\t\t\t</div>
  808.                     
  809. \t\t\t\t\t<hr/>
  810.                      ";
  811.         }
  812.         $_parent $context['_parent'];
  813.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['singleComment'], $context['_parent'], $context['loop']);
  814.         $context array_intersect_key($context$_parent) + $_parent;
  815.         // line 533
  816.         echo "\t\t\t\t\t 
  817. \t\t\t\t</div>
  818. \t\t\t</div>
  819. \t\t</div>
  820. \t\t
  821.     </div> <!-- /container -->
  822.                                 <div class=\"product-details-comment-block\">
  823.                                        ";
  824.         // line 542
  825.         $context['_parent'] = $context;
  826.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'542$this->source); })()), "comments", [], "any"falsefalsefalse542));
  827.         foreach ($context['_seq'] as $context["_key"] => $context["singleComment"]) {
  828.             // line 543
  829.             echo "
  830.                                     
  831.                                         <!-- <div class=\"comment-details\">
  832.                                          <div class=\"comment-author-infos pt-25\">
  833.                                             <span>
  834.                                             ";
  835.             // line 548
  836.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse548), "lastName", [], "any"falsefalsefalse548), "html"nulltrue);
  837.             echo " ";
  838.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse548), "firstName", [], "any"falsefalsefalse548), "html"nulltrue);
  839.             echo "
  840.                                             <ul class=\"rating d-inline\">
  841.                                             ";
  842.             // line 550
  843.             $context['_parent'] = $context;
  844.             $context['_seq'] = twig_ensure_traversable(range(1twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse550)));
  845.             foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  846.                 // line 551
  847.                 echo "                                                <li><i class=\"fa fa-star\"></i></li>
  848.                                                 
  849.                                             ";
  850.             }
  851.             $_parent $context['_parent'];
  852.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  853.             $context array_intersect_key($context$_parent) + $_parent;
  854.             // line 554
  855.             echo "
  856.                                             
  857.                                             ";
  858.             // line 557
  859.             if ((twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse557) < 5)) {
  860.                 // line 558
  861.                 echo "                                                ";
  862.                 $context['_parent'] = $context;
  863.                 $context['_seq'] = twig_ensure_traversable(range(twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse558), 4));
  864.                 foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  865.                     // line 559
  866.                     echo "                                                    <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  867.                                                 ";
  868.                 }
  869.                 $_parent $context['_parent'];
  870.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  871.                 $context array_intersect_key($context$_parent) + $_parent;
  872.                 // line 561
  873.                 echo "                                            ";
  874.             }
  875.             // line 562
  876.             echo "
  877.                                             
  878.                                         </ul>
  879.                                             </span>
  880.                                             
  881.                                             <em>";
  882.             // line 567
  883.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["singleComment"], "createdAt", [], "any"falsefalsefalse567), "Y-m-d H:i"), "html"nulltrue);
  884.             echo "</em>
  885.                                         </div>
  886.                                             
  887.                                             <p>";
  888.             // line 570
  889.             echo twig_get_attribute($this->env$this->source$context["singleComment"], "comment", [], "any"falsefalsefalse570);
  890.             echo "</p>
  891.                                         </div>
  892.                                         <hr style=\"margin:0;\">-->
  893.                                     ";
  894.         }
  895.         $_parent $context['_parent'];
  896.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['singleComment'], $context['_parent'], $context['loop']);
  897.         $context array_intersect_key($context$_parent) + $_parent;
  898.         // line 574
  899.         echo "
  900.                                     ";
  901.         // line 575
  902.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CUSTOMER")) {
  903.             // line 576
  904.             echo "
  905.                                     <div class=\"review-btn\">
  906.                                         <a class=\"review-links\" href=\"#\" data-toggle=\"modal\" data-target=\"#mymodal\">Ajouter un commentaire!</a>
  907.                                     </div>
  908.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  909.                                     <div class=\"modal fade modal-wrapper\" id=\"mymodal\" >
  910.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  911.                                             <div class=\"modal-content\">
  912.                                                 <div class=\"modal-body\">
  913.                                                     <h3 class=\"review-page-title\">Ajouter un commentaire</h3>
  914.                                                     <div class=\"modal-inner-area row\">
  915.                                                         <div class=\"col-lg-6\">
  916.                                                            <div class=\"li-review-product\">
  917.                                                                <img width=\"200px\" src=\"/uploads/";
  918.             // line 589
  919.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'589$this->source); })()), "image", [], "any"falsefalsefalse589)), "html"nulltrue);
  920.             echo "\" alt=\"Li's Product\">
  921.                                                                <div class=\"li-review-product-desc\">
  922.                                                                    <p class=\"li-product-name\">";
  923.             // line 591
  924.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'591$this->source); })()), "name", [], "any"falsefalsefalse591), "html"nulltrue);
  925.             echo "</p>
  926.                                                                    <p>
  927.                                                                        <span>";
  928.             // line 593
  929.             echo twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'593$this->source); })()), "shortDescription", [], "any"falsefalsefalse593);
  930.             echo "</span>
  931.                                                                    </p>
  932.                                                                </div>
  933.                                                            </div>
  934.                                                         </div>
  935.                                                         <div class=\"col-lg-6\">
  936.                                                             <div class=\"li-review-content\">
  937.                                                                 <!-- Begin Feedback Area -->
  938.                                                                 <div class=\"feedback-area\">
  939.                                                                     <div class=\"feedback\">
  940.                                                                         <h3 class=\"feedback-title\">Votre avis</h3>
  941.                                                                         <form action=\"";
  942.             // line 604
  943.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("comment_product", ["id" => twig_get_attribute($this->env$this->source, (isset($context["singleAnnounce"]) || array_key_exists("singleAnnounce"$context) ? $context["singleAnnounce"] : (function () { throw new RuntimeError('Variable "singleAnnounce" does not exist.'604$this->source); })()), "id", [], "any"falsefalsefalse604)]), "html"nulltrue);
  944.             echo "\" method=\"POST\">
  945.                                                                             <p class=\"your-opinion\">
  946.                                                                                 <label>Evaluer le produit</label>
  947.                                                                                 <span>
  948.                                                                                     <select name=\"rating\" class=\"star-rating\">
  949.                                                                                       <option value=\"1\">1</option>
  950.                                                                                       <option value=\"2\">2</option>
  951.                                                                                       <option value=\"3\">3</option>
  952.                                                                                       <option value=\"4\">4</option>
  953.                                                                                       <option value=\"5\">5</option>
  954.                                                                                     </select>
  955.                                                                                 </span>
  956.                                                                             </p>
  957.                                                                             <p class=\"feedback-form\">
  958.                                                                                 <label for=\"feedback\">Votre commentaire</label>
  959.                                                                                 <textarea id=\"feedback\" name=\"comment\" cols=\"45\" rows=\"8\" aria-required=\"true\"></textarea>
  960.                                                                             </p>
  961.                                                                             <div class=\"feedback-input\">
  962.                                                                               
  963.                                                                                 
  964.                                                                                 <div class=\"feedback-btn pb-15\">
  965.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Close</a>
  966.                                                                                     <button class=\"register-button\" type=\"submit\">Envoyer</button>
  967.                                                                                 </div>
  968.                                                                             </div>
  969.                                                                         </form>
  970.                                                                     </div>
  971.                                                                 </div>
  972.                                                                 <!-- Feedback Area End Here -->
  973.                                                             </div>
  974.                                                         </div>
  975.                                                     </div>
  976.                                                 </div>
  977.                                             </div>
  978.                                         </div>
  979.                                     </div>   
  980.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  981.                                     ";
  982.         }
  983.         // line 644
  984.         echo "                                </div>
  985.                             </div>
  986.                         </div>
  987.                     </div>
  988.                 </div>
  989.             </div>
  990.             <!-- Product Area End Here -->
  991.             <!-- Begin Li's PC Portable Product Area -->
  992.             <section class=\"product-area li-laptop-product pt-30 pb-50\">
  993.                  ";
  994.         // line 681
  995.         echo "                        </div>
  996.                         <!-- Li's Section Area End Here -->
  997.                     </div>
  998.                 </div>
  999.             </section>  
  1000.             <!-- Li's PC Portable Product Area End Here -->
  1001.             <!-- Begin Footer Area -->
  1002.          
  1003. </div>
  1004. ";
  1005.         
  1006.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1007.         
  1008.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1009.     }
  1010.     // line 694
  1011.     public function block_javascripts($context, array $blocks = [])
  1012.     {
  1013.         $macros $this->macros;
  1014.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1015.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1016.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1017.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1018.         // line 695
  1019.         $this->displayParentBlock("javascripts"$context$blocks);
  1020.         echo "
  1021. <script>
  1022. \$(document).ready(function(){
  1023.                     \$.ajax({
  1024.                         url: \"";
  1025.         // line 700
  1026.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("departements_ajax");
  1027.         echo "\",
  1028.                         data:{
  1029.                             city:\$(\"select[name='city']\").val()
  1030.                         },
  1031.                         success:function(data){
  1032.                             
  1033.                             \$(\"select[name='departement']\").html(data);
  1034.                         },
  1035.                     });
  1036.                     \$(\"select[name='city'\").change(function(){
  1037.                     \$.ajax({
  1038.                         url: \"";
  1039.         // line 712
  1040.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("departements_ajax");
  1041.         echo "\",
  1042.                         data:{
  1043.                             city:\$(this).val()
  1044.                         },
  1045.                         success:function(data){
  1046.                             
  1047.                             \$(\"select[name='departement']\").html(data);
  1048.                         },
  1049.                     });
  1050.                     });
  1051.           \$(\"#showcomments\").click(function(){
  1052.                
  1053.                \$(\"#comments\").addClass(\"active show\");
  1054.                \$(\"#reviews\").addClass(\"active show\");
  1055.                \$(\"#description_technique\").removeClass(\"active show\");
  1056.                \$(\"#product-details\").removeClass(\"active show\");
  1057.                 \$(\"#description_pro\").removeClass(\"active show\");
  1058.                 \$(\"#description\").removeClass(\"active show\");
  1059.                 
  1060.      });
  1061. (function () {
  1062.   const second = 1000,
  1063.         minute = second * 60,
  1064.         hour = minute * 60,
  1065.         day = hour * 24;
  1066.   //I'm adding this section so I don't have to keep updating this pen every year :-)
  1067.   //remove this if you don't need it
  1068.   let today = new Date(),
  1069.    
  1070.     
  1071.       dd = String(today.getDate()).padStart(2, \"0\"),
  1072.       mm = String(today.getMonth() + 1).padStart(2, \"0\"),
  1073.       yyyy = today.getFullYear(),
  1074.       nextYear = yyyy + 1,
  1075.       dayMonth = \"09/30/\", 
  1076.       birthday = dayMonth + yyyy;
  1077.   
  1078.   today = mm + \"/\" + dd + \"/\" + yyyy;
  1079.   if (today > birthday) {
  1080.     birthday = dayMonth + nextYear;
  1081.   }
  1082.   //end
  1083.   
  1084.   const countDown = new Date(birthday).getTime(),
  1085.       x = setInterval(function() {    
  1086.         const now = new Date().getTime(),
  1087.               distance = countDown - now;
  1088.           document.getElementById(\"days\").innerText = Math.floor(distance / (day)),
  1089.           document.getElementById(\"hours\").innerText = Math.floor((distance % (day)) / (hour)),
  1090.           document.getElementById(\"minutes\").innerText = Math.floor((distance % (hour)) / (minute)),
  1091.           document.getElementById(\"seconds\").innerText = Math.floor((distance % (minute)) / second);
  1092.         
  1093.       }, 0)
  1094.   }());
  1095.         });
  1096. </script>
  1097. ";
  1098.         
  1099.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1100.         
  1101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1102.     }
  1103.     public function getTemplateName()
  1104.     {
  1105.         return "@Flexy\\FrontBundle/templates/announce/singleAnnounce/singleAnnounce.html.twig";
  1106.     }
  1107.     public function isTraitable()
  1108.     {
  1109.         return false;
  1110.     }
  1111.     public function getDebugInfo()
  1112.     {
  1113.         return array (  1122 => 712,  1107 => 700,  1099 => 695,  1089 => 694,  1068 => 681,  1057 => 644,  1014 => 604,  1000 => 593,  995 => 591,  990 => 589,  975 => 576,  973 => 575,  970 => 574,  960 => 570,  954 => 567,  947 => 562,  944 => 561,  937 => 559,  932 => 558,  930 => 557,  925 => 554,  917 => 551,  913 => 550,  906 => 548,  899 => 543,  895 => 542,  884 => 533,  872 => 527,  868 => 525,  865 => 524,  856 => 520,  851 => 519,  849 => 518,  846 => 517,  836 => 512,  832 => 511,  824 => 506,  818 => 505,  813 => 502,  809 => 501,  796 => 491,  787 => 486,  784 => 485,  781 => 484,  778 => 483,  776 => 482,  765 => 474,  756 => 469,  753 => 468,  750 => 467,  747 => 466,  745 => 465,  734 => 457,  725 => 452,  722 => 451,  719 => 450,  716 => 449,  714 => 448,  701 => 438,  690 => 431,  687 => 430,  684 => 429,  681 => 428,  679 => 427,  668 => 419,  659 => 414,  656 => 413,  653 => 412,  650 => 411,  648 => 410,  633 => 397,  620 => 389,  617 => 388,  608 => 384,  603 => 383,  601 => 382,  598 => 381,  588 => 376,  583 => 375,  581 => 374,  575 => 371,  551 => 350,  544 => 346,  537 => 342,  524 => 332,  493 => 303,  466 => 279,  462 => 277,  460 => 276,  394 => 212,  386 => 209,  377 => 206,  369 => 203,  362 => 200,  360 => 199,  296 => 138,  283 => 128,  279 => 126,  273 => 124,  271 => 123,  253 => 118,  244 => 112,  232 => 102,  221 => 100,  217 => 99,  211 => 98,  200 => 89,  188 => 85,  184 => 84,  181 => 83,  177 => 82,  168 => 78,  164 => 77,  139 => 56,  128 => 53,  125 => 52,  121 => 51,  116 => 49,  69 => 4,  59 => 3,  36 => 1,);
  1114.     }
  1115.     public function getSourceContext()
  1116.     {
  1117.         return new Source("{% extends '@Flexy/FrontBundle/templates/announce/layout.html.twig' %}
  1118. {% block body %}
  1119. <style>
  1120. .countersection .count{
  1121.     padding:10px !important;
  1122.     font-size:18px;
  1123. }
  1124. .lbwLaz {
  1125.     display: flex;
  1126.     -webkit-box-pack: center;
  1127.     justify-content: center;
  1128.     -webkit-box-align: center;
  1129.     align-items: center;
  1130.     height: 40px;
  1131.     border: 1px solid rgb(36, 85, 204);
  1132.     border-radius: 4px;
  1133.     color: rgb(102, 102, 102);
  1134.     font-size: 16px;
  1135.     font-weight: 500;
  1136.     letter-spacing: 1px;
  1137. }
  1138. .jTSsep {
  1139.     position: relative;
  1140.     padding: 16px;
  1141.     background-color: white;
  1142.     border-radius: 4px;
  1143.     box-shadow: rgb(0 0 0 / 32%) 1px 1px 20px -4px, rgb(0 0 0 / 12%) 0px 0px 6px -2px;
  1144.     margin: 3.4em 16px 16px;
  1145.     height: 100%;
  1146.     box-sizing: border-box;
  1147.     max-width: 900px;
  1148.     z-index: 1050;
  1149.     animation: 0.3s ease 0s 1 normal backwards running pop-in;
  1150. }
  1151. </style>
  1152.  <div class=\"body-wrapper\">
  1153.             <!-- Begin Header Area -->
  1154.             <!-- Header Area End Here -->
  1155.             <!-- Begin Li's Breadcrumb Area -->
  1156.             <div class=\"breadcrumb-area menu-item\">
  1157.                 <div class=\"container simple-container\">
  1158.                     <div class=\"breadcrumb-content\">
  1159.                         <ul>
  1160.                             <li><a href=\"{{path('front_home')}}\">Accueil</a></li>
  1161.                             {% for category in singleAnnounce.categoriesProduct %}
  1162.                             <li ><a href=\"{{path('single_category_product',{id:category.id})}}\">{{category}}</a></li>
  1163.                             {% endfor %}
  1164.                             <li class=\"active\">{{singleAnnounce.name}}</li>
  1165.                             
  1166.                         </ul>
  1167.                     </div>
  1168.                 </div>
  1169.             </div>
  1170.             <!-- Li's Breadcrumb Area End Here -->
  1171.             <!-- content-wraper start -->
  1172.             <div class=\"content-wraper\">
  1173.                 <div class=\"container\">
  1174.                     <div class=\"row single-product-area\">
  1175.                         <div class=\"col-lg-8 col-md-5\">
  1176.                            <!-- Details de produit Left -->
  1177.                             <div class=\"product-details-left sp-tab-style-left-page\">
  1178.                                 <div class=\"product-details-images slider-navigation-1\">
  1179.                                     <div class=\"lg-image menu-item\">
  1180.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/{{asset(singleAnnounce.image)}}\" data-gall=\"myGallery\">
  1181.                                             <img  src=\"/uploads/{{asset(singleAnnounce.image)}}\" alt=\"{{singleAnnounce.name}}\">
  1182.                                         </a>
  1183.                                     </div>
  1184.                                     {% for image in singleAnnounce.images %}
  1185.                                     <div class=\"lg-image  menu-item\">
  1186.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/images/products{{asset(image.path)}}\" data-gall=\"myGallery\">
  1187.                                             <img  src=\"/uploads/images/products{{asset(image.path)}}\" alt=\"{{image.alt}}\">
  1188.                                         </a>
  1189.                                     </div>
  1190.                                     {% endfor %}
  1191.                                     
  1192.                                 </div>
  1193.                                 <div class=\"tab-style-left\">
  1194.                                     <div class=\"sm-image\"><img  src=\"/uploads/{{asset(singleAnnounce.image)}}\" alt=\"{{singleAnnounce.name}}\"></div>
  1195.                                     {% for image in singleAnnounce.images %}
  1196.                                         <div class=\"sm-image\"><img  src=\"/uploads/images/products{{asset(image.path)}}\" alt=\"{{image.alt}}\"></div>
  1197.                                     {% endfor %}
  1198.                                 
  1199.                                 </div>
  1200.                             </div>
  1201.                             <!--// Details de produit Left -->
  1202.                         </div>
  1203.                         <div class=\"col-lg-4 col-md-5\">
  1204.                             <div class=\"product-details-view-content pt-60\">
  1205.                                 <div class=\"product-info\">
  1206.                                     
  1207.                                     <h2>{{singleAnnounce.name}}</h2>
  1208.                                    
  1209.                                     <p class=\"sell-by\">
  1210.                                     
  1211.                                     {% if singleAnnounce.brand %} Marque: <a href=\"#\">{{singleAnnounce.brand}}</a>{% endif %}  {% if singleAnnounce.vendor %} / <a href=\"#\"> Par {{singleAnnounce.vendor}} </a>{% endif %}</span>
  1212.                                     
  1213.                                     
  1214.                                     
  1215.                                     </p>
  1216.                                     {% if singleAnnounce.skuCode %}
  1217.                                     <span class=\"product-details-ref d-none\">Reference: {{singleAnnounce.skuCode}}</span>
  1218.                                     {% endif %}
  1219.                                    
  1220.                                     <div class=\"price-box pt-20\">
  1221.                                         <span class=\"new-price new-price-2\" style=\"color:#e9a124 \">{{singleAnnounce.price}} MAD  </span>
  1222.                                         
  1223.                                     </div>
  1224.                                      
  1225.                                                 
  1226.                                     
  1227.                                     <div style=\"margin-top:15px;\" class=\"product-desc\">
  1228.                                         <p>
  1229.                                             <span>
  1230.                                             {{singleAnnounce.shortDescription|raw}}
  1231.                                             </span>
  1232.                                         </p>
  1233.                                     </div>
  1234.                                                 
  1235.                                      
  1236.                                     
  1237.                                    
  1238.                                     
  1239.                                     <div class=\"single-add-to-cart\">
  1240.  
  1241.                                          <a class=\"review-links add-cart add-to-cart mt-3\" style=\"c\" href=\"#\" data-toggle=\"modal\" data-target=\"#book-modal\"> <i style=\"font-size: 20px;\" class=\"fa fa-phone\" aria-hidden=\"true\"></i> Afficher le numĂ©ro</a>
  1242.                                          
  1243.                                           
  1244.                                         
  1245.                                     </div>
  1246.                                     <div class=\"booking-form-modal\" >
  1247.                                     
  1248.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  1249.                                     <div class=\"modal fade modal-wrapper\" style=\"max-width: 500px;margin:auto;\" id=\"book-modal\" >
  1250.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1251.                                             <div class=\"modal-content\">
  1252.                                                  
  1253.                                           
  1254.                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  1255.                                             <span aria-hidden=\"true\">&times;</span>
  1256.                                             </button>
  1257.                                             
  1258.                                                 <div class=\"modal-body \">
  1259.                                                    
  1260.                                                     <div class=\"modal-inner-area row \">
  1261.                                                         <div class=\"col-12 p-3 text-center\" >
  1262.                                                             <img style=\"width:50%;\" src=\"https://cdn.dribbble.com/users/1785628/screenshots/5721540/media/0a509383df0fc8df325a7049dac555d1.gif\"  />
  1263.                                                             <h6 style=\"color: #ff5c5c\">Attention</h6>
  1264.                                                             <p>
  1265.                                                                 Il ne faut jamais envoyer de l’argent Ă  l’avance au vendeur par virement bancaire ou Ă  travers une agence de transfert d’argent lors de l’achat des biens disponibles sur le site.
  1266.                                                             </p>
  1267.                                                         
  1268.                                                         </div>
  1269.                                                         
  1270.                                                         <div class=\"col-12 text-center\">
  1271.                                                             <div class=\"li-review-content\">
  1272.                                                                 <!-- Begin Feedback Area -->
  1273.                                                                 <div class=\"feedback-area\">
  1274.                                                                     <div class=\"feedback\">
  1275.                                                         <form action=\"#\" class=\"cart-quantity\">
  1276.                                                                             
  1277.                                                                             
  1278.                                                                             
  1279.                                                                             <div class=\"row\" >
  1280.                                                                                 <div class=\"col-12 menu-item\"  >
  1281.                                                                                         <p class=\"feedback-form\">
  1282.                                                                                             {% if singleAnnounce.vendor and singleAnnounce.vendor != null %}
  1283.                                                                                         <label for=\"feedback\"> Appeler  {{ singleAnnounce.vendor.fullName }}</label>
  1284.  
  1285.                                                                                          
  1286.                                                                                          <a  href=\"tel:{{ singleAnnounce.vendor.tel }}\" class=\"btn btn-outline-primary btn-lg\" > <i class=\"fa fa-phone\" ></i> {{ singleAnnounce.vendor.tel }}</a>
  1287.                                                                                         {% else %}
  1288.                                                                                         <label for=\"feedback\"> Appeler  {{ singleAnnounce.customer.firstName }}  {{ singleAnnounce.customer.lastName }}</label>
  1289.  
  1290.                                                                                          
  1291.                                                                                          <a  href=\"tel:{{ singleAnnounce.customer.firstName }}\" class=\"btn btn-outline-primary btn-lg\" > <i class=\"fa fa-phone\" ></i> {{ singleAnnounce.customer.phone }}</a>
  1292.                                                                                          {% endif %}
  1293.                                                                                         
  1294.                                                                                         </p>
  1295.                                                                             
  1296.                                                                                 </div>
  1297.                                                                                 
  1298.                                                                                
  1299.                                                                             </div>
  1300.                                                                             
  1301.                                                                              
  1302.                                                                             
  1303.                                                                             
  1304.                                                                             <div class=\"feedback-input\">
  1305.                                                                               
  1306.                                                                                 
  1307.                                                                                 <div class=\"feedback-btn pb-15\">
  1308.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Annuler</a>
  1309.                                                                                     
  1310.                                                                                      </div>
  1311.                                                                             </div>
  1312.                                                                         </form>
  1313.                                                                     </div>
  1314.                                                                 </div>
  1315.                                                                 <!-- Feedback Area End Here -->
  1316.                                                             </div>
  1317.                                                         </div>
  1318.                                                         
  1319.                                                     </div>
  1320.                                                 </div>
  1321.                                             </div>
  1322.                                         </div>
  1323.                                     </div>   
  1324.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  1325.                                     </div>
  1326.                                     <div class=\"menu-item product-additional-info pt-25\">
  1327.                                         <div class=\"product-social-sharing pt-25\">
  1328.                                             <ul>
  1329.                                                 <li class=\"facebook\"><a href=\"#\"><i class=\"fa fa-facebook\"></i>Facebook</a></li>
  1330.                                                 <li class=\"twitter\"><a href=\"#\"><i class=\"fa fa-twitter\"></i>Twitter</a></li>
  1331.                                                 <li class=\"google-plus\"><a href=\"#\"><i class=\"fa fa-google-plus\"></i>Google +</a></li>
  1332.                                                 <li class=\"instagram\"><a href=\"#\"><i class=\"fa fa-instagram\"></i>Instagram</a></li>
  1333.                                             </ul>
  1334.                                         </div>
  1335.                                     </div>
  1336.                                     
  1337.                                 </div>
  1338.                             </div>
  1339.                         </div> 
  1340.                      <!-- <div class=\"col-lg-3 col-md-3 \">
  1341.                                                             <div class=\"block-reassurance \">
  1342.                                             <div class=\"row \" > 
  1343.                                             {% if singleAnnounce.vendor %}
  1344.                                                 <div class=\"col-12 p-3 \" >
  1345.                                                         <div class=\"card actions p-3\">
  1346.                                                             <h5>Vendeur : <span class=\"badge badge-warning\" >{{singleAnnounce.vendor}}</span></h5>
  1347.                                                                 <div>
  1348.                                                                     <p>
  1349.                                                                     <small>
  1350.                                                                     100% Evaluation du vendeur<br>
  1351.                                                                     67 abonnĂ©s <br>
  1352.                                                                     </small>
  1353.                                                                     <h6>Performance vendeur</h6>
  1354.                                                                     <p>
  1355.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Expeditions : <span class=\"badge badge-success text-white\" >Excellent</span>
  1356.                                                                     <br>
  1357.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> QualitĂ© : <span class=\"badge badge-warning text-white\" >Moyen</span>
  1358.                                                                     <br>
  1359.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Avis consommateurs : <span class=\"badge badge-warning text-white\" >Moyen</span>
  1360.                                                                     
  1361.                                                                     </p>
  1362.                                                                     </p>
  1363.                                                                 </div>
  1364.                                                    
  1365.                                                          </div>
  1366.                                                 </div>
  1367.                                                 {% endif %}
  1368.                                                     
  1369.                                                 </div>
  1370.                                         
  1371.                                     </div>
  1372.                         </div>-->
  1373.                     </div>
  1374.                 </div>
  1375.             </div>
  1376.             <!-- content-wraper end -->
  1377.             <!-- Begin Product Area -->
  1378.             <div class=\"product-area pt-35\">
  1379.                 <div class=\"container\">
  1380.                     <div class=\"row\">
  1381.                         <div class=\"col-lg-12\">
  1382.                             <div class=\"li-product-tab\">
  1383.                                 <ul class=\"nav li-product-menu\">
  1384.                                    <li><a class=\"active\" data-toggle=\"tab\" href=\"#description\" id=\"description_pro\"><span>Description</span></a></li>
  1385.                                   <!-- <li><a data-toggle=\"tab\" href=\"#product-details\" id=\"description_technique\"><span>Descriptif technique</span></a></li>-->
  1386.                                      <!-- <li><a data-toggle=\"tab\" href=\"#reviews\" id=\"comments\"><span>Avis</span></a></li>-->
  1387.                                 </ul>               
  1388.                             </div>
  1389.                             <!-- Begin Li's Tab Menu Content Area -->
  1390.                         </div>
  1391.                     </div>
  1392.                     <div class=\"tab-content\">
  1393.                         <div id=\"description\" class=\"tab-pane active show\" role=\"tabpanel\">
  1394.                             <div class=\"product-description\">
  1395.                                 <span>
  1396.                                     {{singleAnnounce.description|raw}}
  1397.                                 </span>
  1398.                             </div>
  1399.                         </div>
  1400.                         <div id=\"product-details\" class=\"tab-pane p-5\" role=\"tabpanel\">
  1401.                                 <table class=\"table table-sm  \">
  1402.                                             
  1403.                                             <tbody>
  1404.                                                 <tr>
  1405.                                                 <th scope=\"row\">Modele</th>
  1406.                                                 <td>MOD{{singleAnnounce.skuCode}}</td>
  1407.                                                 </tr>
  1408.                                                 <tr>
  1409.                                                 <th scope=\"row\">Marque</th>
  1410.                                                 <td>{{singleAnnounce.brand}}</td>
  1411.                                                 </tr>
  1412.                                                 <tr>
  1413.                                                 <th scope=\"row\">SKU</th>
  1414.                                                 <td>{{singleAnnounce.skuCode}}</td>
  1415.                                                 </tr>
  1416.                                                 <tr>
  1417.                                                 <th scope=\"row\">Poids (Kg)</th>
  1418.                                                 <td>0.9 </td>
  1419.                                                 </tr>
  1420.                                                 
  1421.                                                 
  1422.                                                 
  1423.                                                 
  1424.                                             </tbody>
  1425.                                             </table>
  1426.                         </div>
  1427.                         <div id=\"reviews\" class=\"tab-pane\" role=\"tabpanel\">
  1428.                             <div class=\"product-reviews\">
  1429.     <div class=\"container\">\t\t
  1430. \t\t<div class=\"row\">
  1431. \t\t\t<div class=\"col-sm-3\">
  1432. \t\t\t\t<div class=\"rating-block\">
  1433. \t\t\t\t\t<h4>AVIS </h4>
  1434. \t\t\t\t\t<h2 class=\"bold padding-bottom-7\"> {{singleAnnounce.rating|number_format(1, '.', ',')}} <small>/ 5</small></h2>
  1435. \t\t\t\t\t
  1436.                    {% if  singleAnnounce.rating|number_format(1, '.', ',') > 0 %}
  1437.                      {% for stars in 1..singleAnnounce.rating|number_format %}
  1438.                       <button type=\"button\" class=\"btn btn-warning btn-sm\" aria-label=\"Left Align\">
  1439. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1440. \t\t\t\t\t    </button>  
  1441.                          {% endfor %}
  1442.                                               {% if singleAnnounce.rating|number_format < 5 %}
  1443.                                                 {% for stars in singleAnnounce.rating|number_format..4 %}
  1444.                         <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\">
  1445. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1446. \t\t\t\t\t</button>
  1447.                                                 {% endfor %}
  1448.                                             {% endif %}
  1449.                            {% else %}  
  1450.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1451.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1452.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1453.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1454.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1455.             
  1456.                              {% endif %}                 
  1457.                     
  1458. \t\t\t\t</div>
  1459. \t\t\t</div>
  1460. \t\t\t<div class=\"col-sm-3\">
  1461. \t\t\t\t<h4> &nbsp;</h4>
  1462. \t\t\t\t<div class=\"pull-left\">
  1463. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1464. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">5   <i class=\"fa fa-star\"></i> </div>
  1465. \t\t\t\t\t</div>
  1466. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1467. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1468.                             {% set percentage = 0 %}
  1469.                             {% if singleAnnounce.getStars5 > 0 %}
  1470.                             {% set percentage = (singleAnnounce.getStars5 / singleAnnounce.comments|length ) * 100 %}
  1471.                             {% endif  %}
  1472. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"5\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{ percentage }}%\">
  1473. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1474. \t\t\t\t\t\t  </div>
  1475. \t\t\t\t\t\t</div>
  1476. \t\t\t\t\t</div>
  1477. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\"> {{singleAnnounce.getStars5}}</div>
  1478. \t\t\t\t</div>
  1479. \t\t\t\t<div class=\"pull-left\">
  1480. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1481. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">4  <i class=\"fa fa-star\"></i> </div>
  1482. \t\t\t\t\t</div>
  1483. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1484. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1485.                             {% set percentage = 0 %}
  1486.                             {% if singleAnnounce.getStars4 > 0 %}
  1487.                             {% set percentage = (singleAnnounce.getStars4 / singleAnnounce.comments|length ) * 100 %}
  1488.                             {% endif  %}
  1489. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-primary\" role=\"progressbar\" aria-valuenow=\"4\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{percentage}}%\">
  1490. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1491. \t\t\t\t\t\t  </div>
  1492. \t\t\t\t\t\t</div>
  1493. \t\t\t\t\t</div>
  1494. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">
  1495.                         
  1496.                         {{singleAnnounce.getStars4}}
  1497.                         
  1498.                         </div>
  1499. \t\t\t\t</div>
  1500. \t\t\t\t<div class=\"pull-left\">
  1501. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1502. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">3  <i class=\"fa fa-star\"></i></div>
  1503. \t\t\t\t\t</div>
  1504. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1505. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1506.                             {% set percentage = 0 %}
  1507.                             {% if singleAnnounce.getStars3 > 0 %}
  1508.                             {% set percentage = (singleAnnounce.getStars3 / singleAnnounce.comments|length ) * 100 %}
  1509.                             {% endif  %}
  1510. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"3\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width:{{percentage}}%\">
  1511. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1512. \t\t\t\t\t\t  </div>
  1513. \t\t\t\t\t\t</div>
  1514. \t\t\t\t\t</div>
  1515. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">{{singleAnnounce.getStars3}}</div>
  1516. \t\t\t\t</div>
  1517. \t\t\t\t<div class=\"pull-left\">
  1518. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1519. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">2  <i class=\"fa fa-star\"></i></div>
  1520. \t\t\t\t\t</div>
  1521. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1522. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1523.                             {% set percentage = 0 %}
  1524.                             {% if singleAnnounce.getStars2 > 0 %}
  1525.                             {% set percentage = (singleAnnounce.getStars2 / singleAnnounce.comments|length ) * 100 %}
  1526.                             {% endif  %}
  1527. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"2\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{percentage}}%\">
  1528. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1529. \t\t\t\t\t\t  </div>
  1530. \t\t\t\t\t\t</div>
  1531. \t\t\t\t\t</div>
  1532. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">{{singleAnnounce.getStars2}}</div>
  1533. \t\t\t\t</div>
  1534. \t\t\t\t<div class=\"pull-left\">
  1535. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1536. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">1  <i class=\"fa fa-star\"></i></div>
  1537. \t\t\t\t\t</div>
  1538. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1539. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1540.                             {% set percentage = 0 %}
  1541.                             {% if singleAnnounce.getStars1 > 0 %}
  1542.                             {% set percentage = (singleAnnounce.getStars1 / singleAnnounce.comments|length ) * 100 %}
  1543.                             {% endif  %}
  1544. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"1\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{percentage}}%\">
  1545. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1546. \t\t\t\t\t\t  </div>
  1547. \t\t\t\t\t\t</div>
  1548. \t\t\t\t\t</div>
  1549. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">{{singleAnnounce.getStars1}}</div>
  1550. \t\t\t\t</div>
  1551. \t\t\t</div>\t\t\t
  1552. \t\t</div>\t\t\t
  1553. \t\t
  1554. \t\t<div class=\"row\">
  1555. \t\t\t<div class=\"col-sm-7\">
  1556.                   
  1557. \t\t\t\t<hr/>
  1558. \t\t\t\t<div class=\"review-block\">
  1559.                    {% for singleComment in singleAnnounce.comments %}
  1560. \t\t\t\t\t<div class=\"row\">
  1561. \t\t\t\t\t\t<div class=\"col-sm-3\">
  1562. \t\t\t\t\t\t\t<img src=\"http://dummyimage.com/60x60/666/ffffff&text=No+Image\" class=\"img-rounded\">
  1563. \t\t\t\t\t\t\t<div class=\"review-block-name\"><b> {{singleComment.customer.lastName}} {{singleComment.customer.firstName}}</b></div>
  1564. \t\t\t\t\t\t\t<div class=\"review-block-date\">{{singleComment.createdAt|date(\"Y-m-d H:i\")}} </div>
  1565. \t\t\t\t\t\t</div>
  1566. \t\t\t\t\t\t<div class=\"col-sm-9\">
  1567. \t\t\t\t\t\t\t<div class=\"review-block-rate\">
  1568.                                    {% for stars in 1..singleComment.rating %}
  1569.                             \t<button type=\"button\" class=\"btn btn-warning btn-xs\" aria-label=\"Left Align\">
  1570. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1571. \t\t\t\t\t\t\t\t</button>
  1572.                    
  1573.                                      {% endfor %}
  1574. \t\t\t\t\t\t\t
  1575. \t\t\t\t\t\t\t\t    {% if singleComment.rating < 5 %}
  1576.                                  {% for stars in singleComment.rating..4 %}
  1577. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default btn-grey btn-xs\" aria-label=\"Left Align\">
  1578. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1579. \t\t\t\t\t\t\t\t</button>
  1580.                                  {% endfor %}
  1581.                                  {% endif %}
  1582. \t\t\t\t\t\t\t</div>
  1583. \t\t\t\t\t\t\t<div class=\"review-block-title\">COMMENTAIRES</div>
  1584. \t\t\t\t\t\t\t<div class=\"review-block-description\">{{singleComment.comment|raw}}</div>
  1585. \t\t\t\t\t\t</div>
  1586. \t\t\t\t\t</div>
  1587.                     
  1588. \t\t\t\t\t<hr/>
  1589.                      {% endfor %}
  1590. \t\t\t\t\t 
  1591. \t\t\t\t</div>
  1592. \t\t\t</div>
  1593. \t\t</div>
  1594. \t\t
  1595.     </div> <!-- /container -->
  1596.                                 <div class=\"product-details-comment-block\">
  1597.                                        {% for singleComment in singleAnnounce.comments %}
  1598.                                     
  1599.                                         <!-- <div class=\"comment-details\">
  1600.                                          <div class=\"comment-author-infos pt-25\">
  1601.                                             <span>
  1602.                                             {{singleComment.customer.lastName}} {{singleComment.customer.firstName}}
  1603.                                             <ul class=\"rating d-inline\">
  1604.                                             {% for stars in 1..singleComment.rating %}
  1605.                                                 <li><i class=\"fa fa-star\"></i></li>
  1606.                                                 
  1607.                                             {% endfor %}
  1608.                                             
  1609.                                             {% if singleComment.rating < 5 %}
  1610.                                                 {% for stars in singleComment.rating..4 %}
  1611.                                                     <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1612.                                                 {% endfor %}
  1613.                                             {% endif %}
  1614.                                             
  1615.                                         </ul>
  1616.                                             </span>
  1617.                                             
  1618.                                             <em>{{singleComment.createdAt|date(\"Y-m-d H:i\")}}</em>
  1619.                                         </div>
  1620.                                             
  1621.                                             <p>{{singleComment.comment|raw}}</p>
  1622.                                         </div>
  1623.                                         <hr style=\"margin:0;\">-->
  1624.                                     {% endfor %}
  1625.                                     {% if is_granted(\"ROLE_CUSTOMER\") %}
  1626.                                     <div class=\"review-btn\">
  1627.                                         <a class=\"review-links\" href=\"#\" data-toggle=\"modal\" data-target=\"#mymodal\">Ajouter un commentaire!</a>
  1628.                                     </div>
  1629.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  1630.                                     <div class=\"modal fade modal-wrapper\" id=\"mymodal\" >
  1631.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1632.                                             <div class=\"modal-content\">
  1633.                                                 <div class=\"modal-body\">
  1634.                                                     <h3 class=\"review-page-title\">Ajouter un commentaire</h3>
  1635.                                                     <div class=\"modal-inner-area row\">
  1636.                                                         <div class=\"col-lg-6\">
  1637.                                                            <div class=\"li-review-product\">
  1638.                                                                <img width=\"200px\" src=\"/uploads/{{asset(singleAnnounce.image)}}\" alt=\"Li's Product\">
  1639.                                                                <div class=\"li-review-product-desc\">
  1640.                                                                    <p class=\"li-product-name\">{{singleAnnounce.name}}</p>
  1641.                                                                    <p>
  1642.                                                                        <span>{{singleAnnounce.shortDescription|raw}}</span>
  1643.                                                                    </p>
  1644.                                                                </div>
  1645.                                                            </div>
  1646.                                                         </div>
  1647.                                                         <div class=\"col-lg-6\">
  1648.                                                             <div class=\"li-review-content\">
  1649.                                                                 <!-- Begin Feedback Area -->
  1650.                                                                 <div class=\"feedback-area\">
  1651.                                                                     <div class=\"feedback\">
  1652.                                                                         <h3 class=\"feedback-title\">Votre avis</h3>
  1653.                                                                         <form action=\"{{path('comment_product',{id:singleAnnounce.id})}}\" method=\"POST\">
  1654.                                                                             <p class=\"your-opinion\">
  1655.                                                                                 <label>Evaluer le produit</label>
  1656.                                                                                 <span>
  1657.                                                                                     <select name=\"rating\" class=\"star-rating\">
  1658.                                                                                       <option value=\"1\">1</option>
  1659.                                                                                       <option value=\"2\">2</option>
  1660.                                                                                       <option value=\"3\">3</option>
  1661.                                                                                       <option value=\"4\">4</option>
  1662.                                                                                       <option value=\"5\">5</option>
  1663.                                                                                     </select>
  1664.                                                                                 </span>
  1665.                                                                             </p>
  1666.                                                                             <p class=\"feedback-form\">
  1667.                                                                                 <label for=\"feedback\">Votre commentaire</label>
  1668.                                                                                 <textarea id=\"feedback\" name=\"comment\" cols=\"45\" rows=\"8\" aria-required=\"true\"></textarea>
  1669.                                                                             </p>
  1670.                                                                             <div class=\"feedback-input\">
  1671.                                                                               
  1672.                                                                                 
  1673.                                                                                 <div class=\"feedback-btn pb-15\">
  1674.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Close</a>
  1675.                                                                                     <button class=\"register-button\" type=\"submit\">Envoyer</button>
  1676.                                                                                 </div>
  1677.                                                                             </div>
  1678.                                                                         </form>
  1679.                                                                     </div>
  1680.                                                                 </div>
  1681.                                                                 <!-- Feedback Area End Here -->
  1682.                                                             </div>
  1683.                                                         </div>
  1684.                                                     </div>
  1685.                                                 </div>
  1686.                                             </div>
  1687.                                         </div>
  1688.                                     </div>   
  1689.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  1690.                                     {% endif  %}
  1691.                                 </div>
  1692.                             </div>
  1693.                         </div>
  1694.                     </div>
  1695.                 </div>
  1696.             </div>
  1697.             <!-- Product Area End Here -->
  1698.             <!-- Begin Li's PC Portable Product Area -->
  1699.             <section class=\"product-area li-laptop-product pt-30 pb-50\">
  1700.                  {# <div class=\"container\">
  1701.                     <div class=\"row\">
  1702.                         <!-- Begin Li's Section Area -->
  1703.                         <div class=\"col-lg-12\">
  1704.                             <div class=\"li-section-title\">
  1705.                                 <h2>
  1706.                                     <span>Produits en relation</span>
  1707.                                 </h2>
  1708.                             </div>
  1709.                             {#
  1710.                             <div class=\"row\">
  1711.                                 <div class=\"product-active owl-carousel\">
  1712.                                 
  1713.                                   {% for singleAnnounce in associatedProducts %}
  1714.                                         {% 
  1715.                                         include \"@Flexy/FrontBundle/templates/products/includes/_singleAnnounce.html.twig\" with
  1716.                                         {
  1717.                                             singleAnnounce:singleAnnounce,
  1718.                                         }
  1719.                                          %} 
  1720.                                 {% endfor %}
  1721.                                 </div>
  1722.                             </div>
  1723.                             #}
  1724.                         </div>
  1725.                         <!-- Li's Section Area End Here -->
  1726.                     </div>
  1727.                 </div>
  1728.             </section>  
  1729.             <!-- Li's PC Portable Product Area End Here -->
  1730.             <!-- Begin Footer Area -->
  1731.          
  1732. </div>
  1733. {% endblock %}
  1734. {% block javascripts %}
  1735. {{parent()}}
  1736. <script>
  1737. \$(document).ready(function(){
  1738.                     \$.ajax({
  1739.                         url: \"{{path('departements_ajax')}}\",
  1740.                         data:{
  1741.                             city:\$(\"select[name='city']\").val()
  1742.                         },
  1743.                         success:function(data){
  1744.                             
  1745.                             \$(\"select[name='departement']\").html(data);
  1746.                         },
  1747.                     });
  1748.                     \$(\"select[name='city'\").change(function(){
  1749.                     \$.ajax({
  1750.                         url: \"{{path('departements_ajax')}}\",
  1751.                         data:{
  1752.                             city:\$(this).val()
  1753.                         },
  1754.                         success:function(data){
  1755.                             
  1756.                             \$(\"select[name='departement']\").html(data);
  1757.                         },
  1758.                     });
  1759.                     });
  1760.           \$(\"#showcomments\").click(function(){
  1761.                
  1762.                \$(\"#comments\").addClass(\"active show\");
  1763.                \$(\"#reviews\").addClass(\"active show\");
  1764.                \$(\"#description_technique\").removeClass(\"active show\");
  1765.                \$(\"#product-details\").removeClass(\"active show\");
  1766.                 \$(\"#description_pro\").removeClass(\"active show\");
  1767.                 \$(\"#description\").removeClass(\"active show\");
  1768.                 
  1769.      });
  1770. (function () {
  1771.   const second = 1000,
  1772.         minute = second * 60,
  1773.         hour = minute * 60,
  1774.         day = hour * 24;
  1775.   //I'm adding this section so I don't have to keep updating this pen every year :-)
  1776.   //remove this if you don't need it
  1777.   let today = new Date(),
  1778.    
  1779.     
  1780.       dd = String(today.getDate()).padStart(2, \"0\"),
  1781.       mm = String(today.getMonth() + 1).padStart(2, \"0\"),
  1782.       yyyy = today.getFullYear(),
  1783.       nextYear = yyyy + 1,
  1784.       dayMonth = \"09/30/\", 
  1785.       birthday = dayMonth + yyyy;
  1786.   
  1787.   today = mm + \"/\" + dd + \"/\" + yyyy;
  1788.   if (today > birthday) {
  1789.     birthday = dayMonth + nextYear;
  1790.   }
  1791.   //end
  1792.   
  1793.   const countDown = new Date(birthday).getTime(),
  1794.       x = setInterval(function() {    
  1795.         const now = new Date().getTime(),
  1796.               distance = countDown - now;
  1797.           document.getElementById(\"days\").innerText = Math.floor(distance / (day)),
  1798.           document.getElementById(\"hours\").innerText = Math.floor((distance % (day)) / (hour)),
  1799.           document.getElementById(\"minutes\").innerText = Math.floor((distance % (hour)) / (minute)),
  1800.           document.getElementById(\"seconds\").innerText = Math.floor((distance % (minute)) / second);
  1801.         
  1802.       }, 0)
  1803.   }());
  1804.         });
  1805. </script>
  1806. {% endblock %}""@Flexy\\FrontBundle/templates/announce/singleAnnounce/singleAnnounce.html.twig""/home/gebcloud/public_html/omall.gebanalysis.cloud/src/Flexy/FrontBundle/templates/announce/singleAnnounce/singleAnnounce.html.twig");
  1807.     }
  1808. }