var/cache/dev/twig/f2/f2fafdb6946fbd2fedb552ca0fcd93c0.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_928557e3cb2fc8feed1c8f4871aacc74 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 11
  36.         echo "
  37. <nav id=\"header_nav\" class=\"navbar navbar-light fixed-top\">
  38.     <div class=\"container-fluid justify-content-center\">
  39.         <div class=\"menu_btn position-absolute start-0\">
  40.             <!--<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">-->
  41.             <button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvas\" aria-controls=\"offcanvas\">
  42.                 <span class=\"navbar-toggler-icon\"></span>
  43.             </button>
  44.         </div>
  45.         <div class=\"text-center\">
  46.             <a href=\"";
  47.         // line 22
  48.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  49.         echo "\" class=\"navbar-brand logo_small text-white d-inline-block me-0\">
  50.                 <img src=\"";
  51.         // line 23
  52.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo1.png"), "html"nulltrue);
  53.         echo "\" alt=\"鍛造指輪\">
  54.                 <p class=\"mb-0\">公式オンラインショップ</p>
  55.             </a>
  56.         </div>
  57.         
  58.         <div class=\"links position-absolute end-0 d-flex align-items-center\">
  59.             <div class=\"nav-item px-2 px-md-3 pe-lg-2\">
  60.                 <a href=\"";
  61.         // line 30
  62.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  63.         echo "\" class=\"d-none d-sm-flex align-items-center\">
  64.                     <i class=\"ec-headerNav__itemIcon bi bi-house\"></i>
  65.                     <span class=\"fs-6 d-none d-lg-block ps-1\">HOME</span>
  66.                 </a>
  67.             </div>
  68.             <div class=\"nav-item px-2 px-md-3 pe-lg-1\">
  69.                 <a href=\"";
  70.         // line 36
  71.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("favorite");
  72.         echo "\" class=\"d-flex align-items-center\">
  73.                     <i class=\"ec-headerNav__itemIcon bi bi-heart\"></i>
  74.                     <span class=\"fs-6 d-none d-lg-block ps-1\">お気に入り</span>
  75.                 </a>
  76.             </div>
  77.             <div class=\"nav-item px-2 px-md-3 pe-lg-2\">
  78.                 <a href=\"";
  79.         // line 42
  80.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  81.         echo "\" class=\"d-flex align-items-center\">
  82.                     <i class=\"ec-headerNav__itemIcon bi bi-cart3\"></i>
  83.                     <span class=\"fs-6 d-none d-lg-block ps-1\">カート</span>
  84.                 </a>
  85.             </div>
  86.         </div>
  87.     </div>
  88. </nav>
  89. <div class=\"offcanvas offcanvas-start bg_black2 text-white text-center\" tabindex=\"-1\" id=\"offcanvas\" aria-labelledby=\"offcanvasLabel\">
  90.     <div class=\"offcanvas-header bg_black1\">
  91.         <h5 class=\"offcanvas-title\"><!--Menu--></h5>
  92.         <button type=\"button\" class=\"btn-close text-reset text-white\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  93.     </div>
  94.     <div class=\"offcanvas-body p-0\">
  95.         ";
  96.         // line 57
  97.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'57$this->source); })()), "Drawer", [], "any"falsefalsetrue57)) {
  98.             // line 58
  99.             echo "            ";
  100.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'58$this->source); })()), "Drawer", [], "any"falsefalsetrue58)]);
  101.             echo "
  102.         ";
  103.         }
  104.         // line 60
  105.         echo "        
  106.         <div class=\"menu_others row flex-wrap g-0 py-3\">
  107.             <div class=\"col-12 col-sm-6\">
  108.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
  109.                     <a href=\"";
  110.         // line 64
  111.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_guide");
  112.         echo "\" class=\"text-white\">ご利用ガイド</a>
  113.                 </div>
  114.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
  115.                     <a href=\"";
  116.         // line 67
  117.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_faq");
  118.         echo "\" class=\"text-white\">よくあるご質問</a>
  119.                 </div>
  120.             </div>
  121.             <div class=\"col-12 col-sm-6\">
  122.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
  123.                     <a href=\"";
  124.         // line 72
  125.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_tradelaw");
  126.         echo "\" class=\"text-white\">特定商取引法に基づく表記</a>
  127.                 </div>
  128.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
  129.                     <a href=\"";
  130.         // line 75
  131.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_privacy");
  132.         echo "\" class=\"text-white\">プライバシーポリシー</a>
  133.                 </div>
  134.                 ";
  135.         // line 80
  136.         echo "            </div>
  137.             <div class=\"col-12\">
  138.                 <div class=\"px-3 py-2 d-flex justify-content-center\">
  139.                     <a href=\"";
  140.         // line 83
  141.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  142.         echo "\" class=\"text-white\">お問い合わせ</a>
  143.                 </div>
  144.             </div>
  145.         </div>
  146.         <div class=\"footer_info bg_black1 mt-0 py-4\">
  147.             <div class=\"ec-footerTitle__logo p-3 text-center\">
  148.                 <a href=\"";
  149.         // line 89
  150.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  151.         echo "\"><img src=\"";
  152.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo_l.png"), "html"nulltrue);
  153.         echo "\" alt=";
  154.         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.'89$this->source); })()), "shop_name", [], "any"falsefalsetrue89), 89$this->source), "html"nulltrue);
  155.         echo "></a>
  156.             </div>
  157.             ";
  158.         // line 95
  159.         echo "        </div>
  160.     </div>
  161. </div>";
  162.         
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164.         
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  166.     }
  167.     public function getTemplateName()
  168.     {
  169.         return "Block/header.twig";
  170.     }
  171.     public function isTraitable()
  172.     {
  173.         return false;
  174.     }
  175.     public function getDebugInfo()
  176.     {
  177.         return array (  170 => 95,  161 => 89,  152 => 83,  147 => 80,  142 => 75,  136 => 72,  128 => 67,  122 => 64,  116 => 60,  110 => 58,  108 => 57,  90 => 42,  81 => 36,  72 => 30,  62 => 23,  58 => 22,  45 => 11,);
  178.     }
  179.     public function getSourceContext()
  180.     {
  181.         return new Source("{#
  182. This file is part of EC-CUBE
  183. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  184. http://www.ec-cube.co.jp/
  185. For the full copyright and license information, please view the LICENSE
  186. file that was distributed with this source code.
  187. #}
  188. <nav id=\"header_nav\" class=\"navbar navbar-light fixed-top\">
  189.     <div class=\"container-fluid justify-content-center\">
  190.         <div class=\"menu_btn position-absolute start-0\">
  191.             <!--<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">-->
  192.             <button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvas\" aria-controls=\"offcanvas\">
  193.                 <span class=\"navbar-toggler-icon\"></span>
  194.             </button>
  195.         </div>
  196.         <div class=\"text-center\">
  197.             <a href=\"{{ url('homepage') }}\" class=\"navbar-brand logo_small text-white d-inline-block me-0\">
  198.                 <img src=\"{{ asset('assets/img/common/logo1.png') }}\" alt=\"鍛造指輪\">
  199.                 <p class=\"mb-0\">公式オンラインショップ</p>
  200.             </a>
  201.         </div>
  202.         
  203.         <div class=\"links position-absolute end-0 d-flex align-items-center\">
  204.             <div class=\"nav-item px-2 px-md-3 pe-lg-2\">
  205.                 <a href=\"{{ url('homepage') }}\" class=\"d-none d-sm-flex align-items-center\">
  206.                     <i class=\"ec-headerNav__itemIcon bi bi-house\"></i>
  207.                     <span class=\"fs-6 d-none d-lg-block ps-1\">HOME</span>
  208.                 </a>
  209.             </div>
  210.             <div class=\"nav-item px-2 px-md-3 pe-lg-1\">
  211.                 <a href=\"{{ url('favorite') }}\" class=\"d-flex align-items-center\">
  212.                     <i class=\"ec-headerNav__itemIcon bi bi-heart\"></i>
  213.                     <span class=\"fs-6 d-none d-lg-block ps-1\">お気に入り</span>
  214.                 </a>
  215.             </div>
  216.             <div class=\"nav-item px-2 px-md-3 pe-lg-2\">
  217.                 <a href=\"{{ url('cart') }}\" class=\"d-flex align-items-center\">
  218.                     <i class=\"ec-headerNav__itemIcon bi bi-cart3\"></i>
  219.                     <span class=\"fs-6 d-none d-lg-block ps-1\">カート</span>
  220.                 </a>
  221.             </div>
  222.         </div>
  223.     </div>
  224. </nav>
  225. <div class=\"offcanvas offcanvas-start bg_black2 text-white text-center\" tabindex=\"-1\" id=\"offcanvas\" aria-labelledby=\"offcanvasLabel\">
  226.     <div class=\"offcanvas-header bg_black1\">
  227.         <h5 class=\"offcanvas-title\"><!--Menu--></h5>
  228.         <button type=\"button\" class=\"btn-close text-reset text-white\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
  229.     </div>
  230.     <div class=\"offcanvas-body p-0\">
  231.         {% if Layout.Drawer %}
  232.             {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  233.         {% endif %}
  234.         
  235.         <div class=\"menu_others row flex-wrap g-0 py-3\">
  236.             <div class=\"col-12 col-sm-6\">
  237.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
  238.                     <a href=\"{{ url('help_guide') }}\" class=\"text-white\">ご利用ガイド</a>
  239.                 </div>
  240.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-end\">
  241.                     <a href=\"{{ url('help_faq') }}\" class=\"text-white\">よくあるご質問</a>
  242.                 </div>
  243.             </div>
  244.             <div class=\"col-12 col-sm-6\">
  245.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
  246.                     <a href=\"{{ url('help_tradelaw') }}\" class=\"text-white\">特定商取引法に基づく表記</a>
  247.                 </div>
  248.                 <div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
  249.                     <a href=\"{{ url('help_privacy') }}\" class=\"text-white\">プライバシーポリシー</a>
  250.                 </div>
  251.                 {#<div class=\"px-3 py-2 d-flex justify-content-center justify-content-sm-start\">
  252.                     <a href=\"{{ url('help_about') }}\" class=\"text-white\">当サイトについて</a>
  253.                 </div>#}
  254.             </div>
  255.             <div class=\"col-12\">
  256.                 <div class=\"px-3 py-2 d-flex justify-content-center\">
  257.                     <a href=\"{{ url('contact') }}\" class=\"text-white\">お問い合わせ</a>
  258.                 </div>
  259.             </div>
  260.         </div>
  261.         <div class=\"footer_info bg_black1 mt-0 py-4\">
  262.             <div class=\"ec-footerTitle__logo p-3 text-center\">
  263.                 <a href=\"{{ url('homepage') }}\"><img src=\"{{ asset('assets/img/common/logo_l.png') }}\" alt={{ BaseInfo.shop_name }}></a>
  264.             </div>
  265.             {#<p class=\"small p-3 text-white lh-lg text-center\">
  266.                 「究極の結婚指輪、婚約指輪を作りたい!」<span class=\"aks\">という</span><span class=\"aks\">思いで</span><span class=\"aks\">生み出された</span><br>
  267.                 <span class=\"aks\">世界にたった1つの</span><span class=\"aks\">鍛造フルオーダーメイドブランド。</span><span class=\"aks\">それが「TANZO®」です。</span>
  268.             </p>#}
  269.         </div>
  270.     </div>
  271. </div>""Block/header.twig""/home/apteq5/apteq5x.com/public_html/tanzoec/app/template/tanzo/Block/header.twig");
  272.     }
  273.     
  274.     public function checkSecurity()
  275.     {
  276.         static $tags = array("if" => 57);
  277.         static $filters = array("escape" => 23);
  278.         static $functions = array("url" => 22"asset" => 23"include" => 58);
  279.         try {
  280.             $this->sandbox->checkSecurity(
  281.                 ['if'],
  282.                 ['escape'],
  283.                 ['url''asset''include']
  284.             );
  285.         } catch (SecurityError $e) {
  286.             $e->setSourceContext($this->source);
  287.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  288.                 $e->setTemplateLine($tags[$e->getTagName()]);
  289.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  290.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  291.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  292.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  293.             }
  294.             throw $e;
  295.         }
  296.     }
  297. }