var/cache/dev/twig/6f/6ff0f10bde8987dc87037eb72e762b30.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/header.twig */
  14. class __TwigTemplate_40adf6b302bceac3651261de83e6e385 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/header.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  35.         // line 2
  36.         echo "<div id=\"search_header_on_page_pc\">
  37.     <div class=\"ec-headerNaviRole\" style=\"padding-top: 0px; padding-bottom: 5px;\">
  38.         <div class=\"ec-headerNaviRole__left\" style=\"width: 100%; display: flex; flex-wrap: wrap;\">
  39.             <div class=\"ec-headerTitle__title\">
  40.                 <h2 style=\"margin: 0px;\">
  41.                     <a href=\"";
  42.         // line 7
  43.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  44.         echo "\">
  45.                         <img src=\"";
  46.         // line 8
  47.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/top_logo.png""user_data"), "html"nulltrue);
  48.         echo "\" alt=\"";
  49.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'8$this->source); })()), "shop_name", [], "any"falsefalsetrue8), 8$this->source), "html"nulltrue);
  50.         echo "\" style=\"width: 200px; vertical-align: -webkit-baseline-middle;\">
  51.                     </a>
  52.                 </h2>
  53.             </div>
  54.             <div class=\"ec-headerNaviRole__search\" style=\"width: 550px;\">
  55.             ";
  56.         // line 13
  57.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  58.         echo "
  59.             </div>
  60.         </div>
  61.         <div class=\"ec-headerNaviRole__right\" style=\"width: 480px;\">
  62.             <div class=\"ec-headerNaviRole__nav\">
  63.                 ";
  64.         // line 18
  65.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  66.         echo "
  67.             </div>
  68.         </div>
  69.     </div>
  70. </div>
  71. ";
  72.         // line 25
  73.         echo "<div id=\"search_header_sticky_top_pc\" style=\"display: none;\">
  74.     <div class=\"ec-headerNaviRole\" style=\"padding-top: 0px; padding-bottom: 5px;\">
  75.         <div class=\"ec-headerNaviRole__left\" style=\"width: 100%; display: flex; flex-wrap: wrap;\">
  76.             <div class=\"ec-headerNaviRole__search\" style=\"width: 100%;\">
  77.             ";
  78.         // line 29
  79.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  80.         echo "
  81.             </div>
  82.         </div>
  83.         <div class=\"ec-headerNaviRole__right\" style=\"width: 480px;\">
  84.             <div class=\"ec-headerNaviRole__nav\">
  85.                 ";
  86.         // line 34
  87.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  88.         echo "
  89.             </div>
  90.         </div>
  91.     </div>
  92. </div>";
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.     }
  98.     public function getTemplateName()
  99.     {
  100.         return "Block/header.twig";
  101.     }
  102.     public function isTraitable()
  103.     {
  104.         return false;
  105.     }
  106.     public function getDebugInfo()
  107.     {
  108.         return array (  97 => 34,  89 => 29,  83 => 25,  74 => 18,  66 => 13,  56 => 8,  52 => 7,  45 => 2,);
  109.     }
  110.     public function getSourceContext()
  111.     {
  112.         return new Source("{# 初期表示の際に表示 #}
  113. <div id=\"search_header_on_page_pc\">
  114.     <div class=\"ec-headerNaviRole\" style=\"padding-top: 0px; padding-bottom: 5px;\">
  115.         <div class=\"ec-headerNaviRole__left\" style=\"width: 100%; display: flex; flex-wrap: wrap;\">
  116.             <div class=\"ec-headerTitle__title\">
  117.                 <h2 style=\"margin: 0px;\">
  118.                     <a href=\"{{ url('homepage') }}\">
  119.                         <img src=\"{{ asset('assets/img/common/top_logo.png', 'user_data') }}\" alt=\"{{ BaseInfo.shop_name }}\" style=\"width: 200px; vertical-align: -webkit-baseline-middle;\">
  120.                     </a>
  121.                 </h2>
  122.             </div>
  123.             <div class=\"ec-headerNaviRole__search\" style=\"width: 550px;\">
  124.             {{ render(path('block_search_product')) }}
  125.             </div>
  126.         </div>
  127.         <div class=\"ec-headerNaviRole__right\" style=\"width: 480px;\">
  128.             <div class=\"ec-headerNaviRole__nav\">
  129.                 {{ include('Block/login.twig') }}
  130.             </div>
  131.         </div>
  132.     </div>
  133. </div>
  134. {# スクロール時にフロートさせる領域 #}
  135. <div id=\"search_header_sticky_top_pc\" style=\"display: none;\">
  136.     <div class=\"ec-headerNaviRole\" style=\"padding-top: 0px; padding-bottom: 5px;\">
  137.         <div class=\"ec-headerNaviRole__left\" style=\"width: 100%; display: flex; flex-wrap: wrap;\">
  138.             <div class=\"ec-headerNaviRole__search\" style=\"width: 100%;\">
  139.             {{ render(path('block_search_product')) }}
  140.             </div>
  141.         </div>
  142.         <div class=\"ec-headerNaviRole__right\" style=\"width: 480px;\">
  143.             <div class=\"ec-headerNaviRole__nav\">
  144.                 {{ include('Block/login.twig') }}
  145.             </div>
  146.         </div>
  147.     </div>
  148. </div>""Block/header.twig""/home/shikomel/shikomel.com/public_html/web-order-stg.shikomel.com/app/template/default/Block/header.twig");
  149.     }
  150.     
  151.     public function checkSecurity()
  152.     {
  153.         static $tags = array();
  154.         static $filters = array("escape" => 8);
  155.         static $functions = array("url" => 7"asset" => 8"render" => 13"path" => 13"include" => 18);
  156.         try {
  157.             $this->sandbox->checkSecurity(
  158.                 [],
  159.                 ['escape'],
  160.                 ['url''asset''render''path''include']
  161.             );
  162.         } catch (SecurityError $e) {
  163.             $e->setSourceContext($this->source);
  164.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  165.                 $e->setTemplateLine($tags[$e->getTagName()]);
  166.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  167.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  168.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  169.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  170.             }
  171.             throw $e;
  172.         }
  173.     }
  174. }