var/cache/dev/twig/78/78a7af604c69edff7fe8f985a00f5fe6.php line 35

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. /* Block/logo.twig */
  14. class __TwigTemplate_5a86d13cf956d83da9d9bde8414d3c84 extends \Eccube\Twig\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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/logo.twig"));
  33.         // line 11
  34.         echo "<div class=\"logo_area\">
  35. \t<div class=\"logo_inner\">
  36.         <div class=\"logo\">
  37.             <a href=\"";
  38.         // line 14
  39.         echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("homepage");
  40.         echo "\">
  41.                 <img style=\"width:100%; height:100%;\" src=\"";
  42.         // line 15
  43.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo.png"), "html"nulltrue);
  44.         echo "\" alt=\"";
  45.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "shop_name", [], "any"falsefalsetrue15), 15$this->source), "html"nulltrue);
  46.         echo "\" />
  47.             </a>
  48.         </div>
  49.         <div class=\"item_area\">
  50.             <div class=\"mypage item\">
  51.                 ";
  52.         // line 20
  53.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/mypage.twig");
  54.         echo "
  55.             </div>
  56.             ";
  57.         // line 22
  58.         if (twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "option_favorite_product", [], "any"falsefalsetrue22)) {
  59.             // line 23
  60.             echo "                <div class=\"favorite item\">
  61.                     ";
  62.             // line 24
  63.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/favorite.twig");
  64.             echo "
  65.                 </div>
  66.             ";
  67.         }
  68.         // line 27
  69.         echo "            <div class=\"login item\">
  70.                 ";
  71.         // line 28
  72.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  73.         echo "
  74.             </div>
  75.             <div class=\"ec-headerNaviRole__search logo_search item\">
  76.                 ";
  77.         // line 31
  78.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getPath("block_search_product"));
  79.         echo "
  80.             </div>
  81.             <div class=\"contact item\">
  82.                 ";
  83.         // line 34
  84.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/contact.twig");
  85.         echo "
  86.             </div>
  87. \t\t\t<div class=\"cart item ec-headerRole__cart\">
  88. \t\t\t\t";
  89.         // line 37
  90.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/cart.twig");
  91.         echo "
  92. \t\t\t</div>
  93.         </div>
  94.     </div>
  95. </div>
  96. ";
  97.         // line 42
  98.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/globalmenu.twig");
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.     }
  102.     public function getTemplateName()
  103.     {
  104.         return "Block/logo.twig";
  105.     }
  106.     public function isTraitable()
  107.     {
  108.         return false;
  109.     }
  110.     public function getDebugInfo()
  111.     {
  112.         return array (  106 => 42,  98 => 37,  92 => 34,  86 => 31,  80 => 28,  77 => 27,  71 => 24,  68 => 23,  66 => 22,  61 => 20,  51 => 15,  47 => 14,  42 => 11,);
  113.     }
  114.     public function getSourceContext()
  115.     {
  116.         return new Source("""Block/logo.twig""/var/www/test_html/app/template/paw20210401/Block/logo.twig");
  117.     }
  118.     
  119.     public function checkSecurity()
  120.     {
  121.         static $tags = array("if" => 22);
  122.         static $filters = array("escape" => 15);
  123.         static $functions = array("url" => 14"asset" => 15"include" => 20"render" => 31"path" => 31);
  124.         try {
  125.             $this->sandbox->checkSecurity(
  126.                 ['if'],
  127.                 ['escape'],
  128.                 ['url''asset''include''render''path']
  129.             );
  130.         } catch (SecurityError $e) {
  131.             $e->setSourceContext($this->source);
  132.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  133.                 $e->setTemplateLine($tags[$e->getTagName()]);
  134.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  135.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  136.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  137.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  138.             }
  139.             throw $e;
  140.         }
  141.     }
  142. }