var/cache/dev/twig/15/1526cb9a3c99abf9853c2b8c94c99449.php line 33
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\SandboxExtension;use Twig\Markup;use Twig\Sandbox\SecurityError;use Twig\Sandbox\SecurityNotAllowedTagError;use Twig\Sandbox\SecurityNotAllowedFilterError;use Twig\Sandbox\SecurityNotAllowedFunctionError;use Twig\Source;use Twig\Template;/* front/details/detailBook.html.twig */class __TwigTemplate_c1a57fb09070174c86f5dfb675af2cf6 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->parent = false;$this->blocks = [];}protected function doDisplay(array $context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/details/detailBook.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/details/detailBook.html.twig"));// line 1echo "<div id='detail-book'><div class=\"desktop\"><div class=\"description\"><div class='img_desc_book'><a><img src=\"";// line 5echo twig_escape_filter($this->env, (((isset($context["book_path"]) || array_key_exists("book_path", $context) ? $context["book_path"] : (function () { throw new RuntimeError('Variable "book_path" does not exist.', 5, $this->source); })()) . "/") . $this->extensions['App\Twig\BookExtension']->imgBookPresentation((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 5, $this->source); })()))), "html", null, true);echo "\"/></a></div><div class='texte_desc_book'><div class='element-desc' id=\"title-contain\"><a>";// line 8echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 8, $this->source); })()), "title", [], "any", false, false, false, 8), "html", null, true);echo "</a></div><div class=\"element-desc\" id=\"subtitle-contain\">";// line 10echo twig_get_attribute($this->env, $this->source, (isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 10, $this->source); })()), "hover", [], "any", false, false, false, 10);echo "</div><div class=\"element-desc\" id=\"content-contain\">";// line 13echo twig_get_attribute($this->env, $this->source, (isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 13, $this->source); })()), "description", [], "any", false, false, false, 13);echo "</div><div class=\"element-desc\" id=\"social-contain\"><div id=\"share\"></div></div></div></div><div class='bannieres'><span><img src=\"";// line 23echo twig_escape_filter($this->env, (((isset($context["book_path"]) || array_key_exists("book_path", $context) ? $context["book_path"] : (function () { throw new RuntimeError('Variable "book_path" does not exist.', 23, $this->source); })()) . "/") . $this->extensions['App\Twig\BookExtension']->imgBookIndex((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 23, $this->source); })()))), "html", null, true);echo "\"/></span><span><img src=\"";// line 24echo twig_escape_filter($this->env, (((isset($context["book_path"]) || array_key_exists("book_path", $context) ? $context["book_path"] : (function () { throw new RuntimeError('Variable "book_path" does not exist.', 24, $this->source); })()) . "/") . $this->extensions['App\Twig\BookExtension']->imgBookBanniere((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 24, $this->source); })()))), "html", null, true);echo "\"/></span></div>";// line 26if ($this->extensions['App\Twig\BookExtension']->imgBookBanniere_2((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 26, $this->source); })()))) {// line 27echo " <div class='bannieres banniere_2'><span><img src=\"";// line 28echo twig_escape_filter($this->env, (((isset($context["book_path"]) || array_key_exists("book_path", $context) ? $context["book_path"] : (function () { throw new RuntimeError('Variable "book_path" does not exist.', 28, $this->source); })()) . "/") . $this->extensions['App\Twig\BookExtension']->imgBookBanniere_2((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 28, $this->source); })()))), "html", null, true);echo "\"/></span></div>";}// line 31echo " ";if ($this->extensions['App\Twig\BookExtension']->imgBookBanniere_3((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 31, $this->source); })()))) {// line 32echo " <div class='bannieres banniere_3'><span><img src=\"";// line 33echo twig_escape_filter($this->env, (((isset($context["book_path"]) || array_key_exists("book_path", $context) ? $context["book_path"] : (function () { throw new RuntimeError('Variable "book_path" does not exist.', 33, $this->source); })()) . "/") . $this->extensions['App\Twig\BookExtension']->imgBookBanniere_3((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 33, $this->source); })()))), "html", null, true);echo "\"/></span></div>";}// line 36echo " </div><div class=\"responsive\"><div class=\"description_responsive\"><div class='img_desc_book'><a><img src=\"";// line 40echo twig_escape_filter($this->env, (((isset($context["book_path"]) || array_key_exists("book_path", $context) ? $context["book_path"] : (function () { throw new RuntimeError('Variable "book_path" does not exist.', 40, $this->source); })()) . "/") . $this->extensions['App\Twig\BookExtension']->imgBookPresentation((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 40, $this->source); })()))), "html", null, true);echo "\" alt=\"\"/></a></div><div class='bannieres'><span><img src=\"";// line 43echo twig_escape_filter($this->env, (((isset($context["book_path"]) || array_key_exists("book_path", $context) ? $context["book_path"] : (function () { throw new RuntimeError('Variable "book_path" does not exist.', 43, $this->source); })()) . "/") . $this->extensions['App\Twig\BookExtension']->imgBookBanniere((isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 43, $this->source); })()))), "html", null, true);echo "\" alt=\"\"/></span></div><div class='texte_desc_book'><div class='element-desc' id=\"title-contain\"><a>";// line 46echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 46, $this->source); })()), "title", [], "any", false, false, false, 46), "html", null, true);echo "</a></div><div class=\"element-desc\" id=\"subtitle-contain\">";// line 48echo twig_get_attribute($this->env, $this->source, (isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 48, $this->source); })()), "hover", [], "any", false, false, false, 48);echo "</div><div class=\"element-desc\" id=\"content-contain\">";// line 51echo twig_get_attribute($this->env, $this->source, (isset($context["book"]) || array_key_exists("book", $context) ? $context["book"] : (function () { throw new RuntimeError('Variable "book" does not exist.', 51, $this->source); })()), "description", [], "any", false, false, false, 51);echo "</div><div class=\"element-desc\" id=\"social-contain\"><div id=\"share\" class=\"jssocials\"><div class=\"jssocials-shares\"><div class=\"jssocials-share jssocials-share-facebook\"><a href=\"";// line 57echo twig_escape_filter($this->env, (isset($context["share_facebook_path"]) || array_key_exists("share_facebook_path", $context) ? $context["share_facebook_path"] : (function () { throw new RuntimeError('Variable "share_facebook_path" does not exist.', 57, $this->source); })()), "html", null, true);echo "\" target=\"_blank\" class=\"jssocials-share-link\"><i class=\"fa fa-facebook jssocials-share-logo\"></i><span class=\"jssocials-share-label\">Like</span></a></div><div class=\"jssocials-share jssocials-share-email\"><a href=\"";// line 63echo twig_escape_filter($this->env, (isset($context["share_twitter_path"]) || array_key_exists("share_twitter_path", $context) ? $context["share_twitter_path"] : (function () { throw new RuntimeError('Variable "share_twitter_path" does not exist.', 63, $this->source); })()), "html", null, true);echo "\" target=\"_blank\" class=\"jssocials-share-link\"><i class=\"fa fa-at jssocials-share-logo\"></i><span class=\"jssocials-share-label\">E-mail</span></a></div><div class=\"jssocials-share jssocials-share-twitter\"><a href=\"";// line 69echo twig_escape_filter($this->env, (isset($context["share_twitter_path"]) || array_key_exists("share_twitter_path", $context) ? $context["share_twitter_path"] : (function () { throw new RuntimeError('Variable "share_twitter_path" does not exist.', 69, $this->source); })()), "html", null, true);echo "\" target=\"_blank\" class=\"jssocials-share-link\"><i class=\"fa fa-twitter jssocials-share-logo\"></i><span class=\"jssocials-share-label\">Tweet</span></a></div></div></div></div></div></div></div></div><script>\$(\"#share\").jsSocials({shares: [\"facebook\", \"email\", \"twitter\"]});</script>";$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}public function getTemplateName(){return "front/details/detailBook.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 167 => 69, 158 => 63, 149 => 57, 140 => 51, 134 => 48, 129 => 46, 123 => 43, 117 => 40, 111 => 36, 105 => 33, 102 => 32, 99 => 31, 93 => 28, 90 => 27, 88 => 26, 83 => 24, 79 => 23, 66 => 13, 60 => 10, 55 => 8, 49 => 5, 43 => 1,);}public function getSourceContext(){return new Source("<div id='detail-book'><div class=\"desktop\"><div class=\"description\"><div class='img_desc_book'><a><img src=\"{{ book_path ~ '/' ~ book|imgBookPresentation }}\"/></a></div><div class='texte_desc_book'><div class='element-desc' id=\"title-contain\"><a>{{book.title}}</a></div><div class=\"element-desc\" id=\"subtitle-contain\">{{book.hover|raw}}</div><div class=\"element-desc\" id=\"content-contain\">{{ book.description|raw }}</div><div class=\"element-desc\" id=\"social-contain\"><div id=\"share\"></div></div></div></div><div class='bannieres'><span><img src=\"{{ book_path ~ '/' ~ book|imgBookIndex }}\"/></span><span><img src=\"{{ book_path ~ '/' ~ book|imgBookBanniere }}\"/></span></div>{% if book|imgBookBanniere_2 %}<div class='bannieres banniere_2'><span><img src=\"{{ book_path ~ '/' ~ book|imgBookBanniere_2 }}\"/></span></div>{% endif %}{% if book|imgBookBanniere_3 %}<div class='bannieres banniere_3'><span><img src=\"{{ book_path ~ '/' ~ book|imgBookBanniere_3 }}\"/></span></div>{% endif %}</div><div class=\"responsive\"><div class=\"description_responsive\"><div class='img_desc_book'><a><img src=\"{{ book_path ~ '/' ~ book|imgBookPresentation }}\" alt=\"\"/></a></div><div class='bannieres'><span><img src=\"{{ book_path ~ '/' ~ book|imgBookBanniere }}\" alt=\"\"/></span></div><div class='texte_desc_book'><div class='element-desc' id=\"title-contain\"><a>{{book.title}}</a></div><div class=\"element-desc\" id=\"subtitle-contain\">{{book.hover|raw}}</div><div class=\"element-desc\" id=\"content-contain\">{{ book.description|raw }}</div><div class=\"element-desc\" id=\"social-contain\"><div id=\"share\" class=\"jssocials\"><div class=\"jssocials-shares\"><div class=\"jssocials-share jssocials-share-facebook\"><a href=\"{{ share_facebook_path }}\" target=\"_blank\" class=\"jssocials-share-link\"><i class=\"fa fa-facebook jssocials-share-logo\"></i><span class=\"jssocials-share-label\">Like</span></a></div><div class=\"jssocials-share jssocials-share-email\"><a href=\"{{ share_twitter_path }}\" target=\"_blank\" class=\"jssocials-share-link\"><i class=\"fa fa-at jssocials-share-logo\"></i><span class=\"jssocials-share-label\">E-mail</span></a></div><div class=\"jssocials-share jssocials-share-twitter\"><a href=\"{{ share_twitter_path }}\" target=\"_blank\" class=\"jssocials-share-link\"><i class=\"fa fa-twitter jssocials-share-logo\"></i><span class=\"jssocials-share-label\">Tweet</span></a></div></div></div></div></div></div></div></div><script>\$(\"#share\").jsSocials({shares: [\"facebook\", \"email\", \"twitter\"]});</script>", "front/details/detailBook.html.twig", "/var/www/vhosts/fpcrea.com/recette.fpcrea.com/templates/front/details/detailBook.html.twig");}}