var/cache/dev/twig/cb/cb9f6961d8ff43941800dc3338430d6b.php line 63

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_813445a9838bfd75dc37eb72ca203c78 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.             'stylesheet' => [$this'block_stylesheet'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  36.         // line 11
  37.         echo "
  38. ";
  39.         // line 12
  40.         $this->displayBlock('stylesheet'$context$blocks);
  41.         // line 39
  42.         echo "
  43. <div class=\"kofun-header\">
  44. \t<div class=\"ec-headerNaviRole\">
  45. \t\t<div class=\"ec-headerNaviRole__left\">
  46. \t\t\t<div class=\"ec-headerNaviRole__search\">
  47. \t\t\t\t";
  48.         // line 49
  49.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  50.         echo "
  51. \t\t\t</div>
  52. \t\t\t<div class=\"ec-headerRole__navSP\">
  53. \t\t\t\t";
  54.         // line 52
  55.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/nav_sp.twig");
  56.         echo "
  57. \t\t\t</div>
  58. \t\t</div>
  59. \t\t<div class=\"ec-headerNaviRole__right\">
  60. \t\t\t<div class=\"ec-headerNaviRole__nav\">
  61. \t\t\t\t";
  62.         // line 57
  63.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  64.         echo "
  65. \t\t\t</div>
  66. \t\t\t<div class=\"ec-headerRole__cart\">
  67. \t\t\t\t";
  68.         // line 60
  69.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/cart.twig");
  70.         echo "
  71. \t\t\t</div>
  72. \t\t</div>
  73. \t</div>
  74.     <div class=\"site-logo\">
  75. \t\t<a href=\"";
  76.         // line 65
  77.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  78.         echo "\" title=\"古墳の窓口\">
  79. \t\t\t<img fetchpriority=\"high\" src=\"";
  80.         // line 66
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/logo_kofunomadoguchi.png"), "html"nulltrue);
  82.         echo "\" alt=\"古墳の窓口\">
  83. \t\t</a>
  84.     </div>
  85. </div>";
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.     }
  91.     // line 12
  92.     public function block_stylesheet($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  99.         // line 13
  100.         echo "    <style>
  101. .ec-headerSearch .ec-headerSearch__keyword {
  102.     border: 0px;
  103. }
  104. .ec-headerNaviRole {
  105.     max-width: 100% !important;
  106.     background-color: #fff;
  107.     padding-top: 0px;
  108. }
  109. .ec-headerNaviRole__nav{
  110. margin-right: 10px;
  111. }
  112. .ec-cartNavi{
  113. padding-bottom:20px;
  114. height: 35px;
  115. }
  116. .ec-cartNavi__price{
  117. padding-bottom:15px;
  118. }
  119.     </style>
  120. ";
  121.         
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.     }
  126.     public function getTemplateName()
  127.     {
  128.         return "Block/header.twig";
  129.     }
  130.     public function isTraitable()
  131.     {
  132.         return false;
  133.     }
  134.     public function getDebugInfo()
  135.     {
  136.         return array (  119 => 13,  109 => 12,  95 => 66,  91 => 65,  83 => 60,  77 => 57,  69 => 52,  63 => 49,  51 => 39,  49 => 12,  46 => 11,);
  137.     }
  138.     public function getSourceContext()
  139.     {
  140.         return new Source("{#
  141. This file is part of EC-CUBE
  142. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  143. http://www.ec-cube.co.jp/
  144. For the full copyright and license information, please view the LICENSE
  145. file that was distributed with this source code.
  146. #}
  147. {% block stylesheet %}
  148.     <style>
  149. .ec-headerSearch .ec-headerSearch__keyword {
  150.     border: 0px;
  151. }
  152. .ec-headerNaviRole {
  153.     max-width: 100% !important;
  154.     background-color: #fff;
  155.     padding-top: 0px;
  156. }
  157. .ec-headerNaviRole__nav{
  158. margin-right: 10px;
  159. }
  160. .ec-cartNavi{
  161. padding-bottom:20px;
  162. height: 35px;
  163. }
  164. .ec-cartNavi__price{
  165. padding-bottom:15px;
  166. }
  167.     </style>
  168. {% endblock %}
  169. <div class=\"kofun-header\">
  170. \t<div class=\"ec-headerNaviRole\">
  171. \t\t<div class=\"ec-headerNaviRole__left\">
  172. \t\t\t<div class=\"ec-headerNaviRole__search\">
  173. \t\t\t\t{{ render(path('block_search_product')) }}
  174. \t\t\t</div>
  175. \t\t\t<div class=\"ec-headerRole__navSP\">
  176. \t\t\t\t{{ include('Block/nav_sp.twig') }}
  177. \t\t\t</div>
  178. \t\t</div>
  179. \t\t<div class=\"ec-headerNaviRole__right\">
  180. \t\t\t<div class=\"ec-headerNaviRole__nav\">
  181. \t\t\t\t{{ include('Block/login.twig') }}
  182. \t\t\t</div>
  183. \t\t\t<div class=\"ec-headerRole__cart\">
  184. \t\t\t\t{{ include('Block/cart.twig') }}
  185. \t\t\t</div>
  186. \t\t</div>
  187. \t</div>
  188.     <div class=\"site-logo\">
  189. \t\t<a href=\"{{ url('homepage') }}\" title=\"古墳の窓口\">
  190. \t\t\t<img fetchpriority=\"high\" src=\"{{ asset('assets/img/top/logo_kofunomadoguchi.png') }}\" alt=\"古墳の窓口\">
  191. \t\t</a>
  192.     </div>
  193. </div>""Block/header.twig""/var/www/html/app/template/default/Block/header.twig");
  194.     }
  195.     
  196.     public function checkSecurity()
  197.     {
  198.         static $tags = array("block" => 12);
  199.         static $filters = array("escape" => 66);
  200.         static $functions = array("render" => 49"path" => 49"include" => 52"url" => 65"asset" => 66);
  201.         try {
  202.             $this->sandbox->checkSecurity(
  203.                 ['block'],
  204.                 ['escape'],
  205.                 ['render''path''include''url''asset'],
  206.                 $this->source
  207.             );
  208.         } catch (SecurityError $e) {
  209.             $e->setSourceContext($this->source);
  210.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  211.                 $e->setTemplateLine($tags[$e->getTagName()]);
  212.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  213.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  214.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  215.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  216.             }
  217.             throw $e;
  218.         }
  219.     }
  220. }