var/cache/dev/twig/c7/c7dcb30ad449de95c5763a2d6e457350.php line 33

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/CustomHeader.twig */
  14. class __TwigTemplate_c0785e0f63a53c0014cc6b54523ac83d 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/CustomHeader.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/CustomHeader.twig"));
  33.         // line 11
  34.         echo "<div class=\"ec-headerNaviRole__center\">
  35.     <p>5,000円(税込)以上の購入で送料無料</p>
  36. </div>
  37. <div class=\"ec-headerNaviRoles\">
  38.     
  39.     <div class=\"ec-headerNaviRole__left\">
  40.         <div class=\"customLogo\">
  41.         <a href=\"";
  42.         // line 18
  43.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  44.         echo "\">
  45.             <img src=\"";
  46.         // line 19
  47.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/ContentImg/iseya_logo.png"), "html"nulltrue);
  48.         echo "\" alt=\"ショップロゴ\" class=\"Logo-img\">
  49.         </a>
  50.         </div>
  51.         <div class=\"ec-headerRole__navSP\">
  52.             ";
  53.         // line 23
  54.         echo twig_include($this->env$context"Block/nav_sp.twig");
  55.         echo "
  56.         </div>
  57.     </div>
  58.     <div class=\"ec-headerNaviRole__right\">
  59.         <div class=\"ec-headerNaviRole__nav\">
  60.             ";
  61.         // line 28
  62.         echo twig_include($this->env$context"Block/login.twig");
  63.         echo "
  64.         </div>
  65.         <div class=\"ec-headerRole__cart\">
  66.             ";
  67.         // line 31
  68.         echo twig_include($this->env$context"Block/cart.twig");
  69.         echo "
  70.         </div>
  71.     </div>
  72.     <div class=\"about_SP\">
  73.         <a href=\"";
  74.         // line 35
  75.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "about"]);
  76.         echo "\" class=\"about-banner\">
  77.           <div class=\"about-banner-container\">
  78.             <img src=\"/html/user_data/ContentImg/iseya_logo.png\" alt=\"パン屋ロゴ\" class=\"about-banner-logo\">
  79.             <span class=\"about-banner-text\">伊せ屋について</span>
  80.           </div>
  81.         </a>    
  82.     </div>
  83.     
  84. </div>
  85. <div class=\"search_bar\">
  86.     ";
  87.         // line 47
  88.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  89.         echo "
  90. </div>
  91. <style>
  92. .ec-headerNaviRole__center{
  93.     text-align: center;
  94.     background: #7e300b;
  95.     padding:0.5rem;
  96.      color: white;
  97. }
  98. .ec-cartNaviNull {
  99.     width: 300px;
  100.     
  101. }
  102. @media (max-width: 768px) {
  103. .ec-cartNavi {
  104. padding: 0 4px;
  105. }
  106. }
  107. </style>";
  108.         
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.     }
  113.     public function getTemplateName()
  114.     {
  115.         return "Block/CustomHeader.twig";
  116.     }
  117.     public function isTraitable()
  118.     {
  119.         return false;
  120.     }
  121.     public function getDebugInfo()
  122.     {
  123.         return array (  99 => 47,  84 => 35,  77 => 31,  71 => 28,  63 => 23,  56 => 19,  52 => 18,  43 => 11,);
  124.     }
  125.     public function getSourceContext()
  126.     {
  127.         return new Source("{#
  128. This file is part of EC-CUBE
  129. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  130. http://www.ec-cube.co.jp/
  131. For the full copyright and license information, please view the LICENSE
  132. file that was distributed with this source code.
  133. #}
  134. <div class=\"ec-headerNaviRole__center\">
  135.     <p>5,000円(税込)以上の購入で送料無料</p>
  136. </div>
  137. <div class=\"ec-headerNaviRoles\">
  138.     
  139.     <div class=\"ec-headerNaviRole__left\">
  140.         <div class=\"customLogo\">
  141.         <a href=\"{{ url('homepage') }}\">
  142.             <img src=\"{{ asset('/html/user_data/ContentImg/iseya_logo.png') }}\" alt=\"ショップロゴ\" class=\"Logo-img\">
  143.         </a>
  144.         </div>
  145.         <div class=\"ec-headerRole__navSP\">
  146.             {{ include('Block/nav_sp.twig') }}
  147.         </div>
  148.     </div>
  149.     <div class=\"ec-headerNaviRole__right\">
  150.         <div class=\"ec-headerNaviRole__nav\">
  151.             {{ include('Block/login.twig') }}
  152.         </div>
  153.         <div class=\"ec-headerRole__cart\">
  154.             {{ include('Block/cart.twig') }}
  155.         </div>
  156.     </div>
  157.     <div class=\"about_SP\">
  158.         <a href=\"{{ url('user_data', {'route': 'about'}) }}\" class=\"about-banner\">
  159.           <div class=\"about-banner-container\">
  160.             <img src=\"/html/user_data/ContentImg/iseya_logo.png\" alt=\"パン屋ロゴ\" class=\"about-banner-logo\">
  161.             <span class=\"about-banner-text\">伊せ屋について</span>
  162.           </div>
  163.         </a>    
  164.     </div>
  165.     
  166. </div>
  167. <div class=\"search_bar\">
  168.     {{ render(path('block_search_product')) }}
  169. </div>
  170. <style>
  171. .ec-headerNaviRole__center{
  172.     text-align: center;
  173.     background: #7e300b;
  174.     padding:0.5rem;
  175.      color: white;
  176. }
  177. .ec-cartNaviNull {
  178.     width: 300px;
  179.     
  180. }
  181. @media (max-width: 768px) {
  182. .ec-cartNavi {
  183. padding: 0 4px;
  184. }
  185. }
  186. </style>""Block/CustomHeader.twig""/home/iseyabread/www/iseya/app/template/default/Block/CustomHeader.twig");
  187.     }
  188. }