var/cache/dev/twig/89/894b8821bee7a7bb3e8ccb023cf35b35.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/header0.twig */
  14. class __TwigTemplate_65541c4710226f174573026b846e2eb9 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.             'javascript' => [$this'block_javascript'],
  26.         ];
  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/header0.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/header0.twig"));
  35.         // line 11
  36.         echo "
  37. ";
  38.         // line 12
  39.         $this->displayBlock('stylesheet'$context$blocks);
  40.         // line 16
  41.         echo "
  42. ";
  43.         // line 17
  44.         $this->displayBlock('javascript'$context$blocks);
  45.         // line 21
  46.         echo "
  47. <div class=\"fixed-header\">
  48.     <section>
  49.     <div id=\"site_header\">
  50.         <div class=\"header_logo\">
  51.             <a href=\"";
  52.         // line 27
  53.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  54.         echo "\">
  55.                 <img src=\"";
  56.         // line 28
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/header_logo_0.png""user_data"), "html"nulltrue);
  58.         echo "\">
  59.             </a>
  60.         </div>
  61.         <div class=\"header_menus\">
  62.             <div class=\"header_inner1\">
  63.                 ";
  64.         // line 33
  65.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  66.         echo "
  67.                 <div class=\"header_link1 pc\">
  68.                     <ul class=\"link1\">
  69.                         <li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
  70.                         <li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
  71.                         <li><a href=\"";
  72.         // line 38
  73.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  74.         echo "\">お問い合わせ</a></li>
  75.                         <li><a href=\"";
  76.         // line 39
  77.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("opinion");
  78.         echo "\">意見箱</a></li>
  79.                     </ul>
  80.                 </div>
  81.                 <div class=\"header_link2\">
  82.                     ";
  83.         // line 43
  84.         echo twig_include($this->env$context"Block/login.twig", ["parent_template" => "header0.twig"]);
  85.         echo "
  86.                 </div>
  87.                 <div class=\"hamburger-menu sp\">
  88.                     <button id=\"hamburger\" class=\"hamburger\">
  89.                         <span></span>
  90.                         <span></span>
  91.                         <span></span>
  92.                     </button>
  93.                     <nav id=\"menus\" class=\"menus\">
  94.                         <ul class=\"hamburger-tabs\">
  95.                             <li class=\"menu-item\">
  96.                                 <a href=\"";
  97.         // line 56
  98.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  99.         echo "\">TOP</a>
  100.                             </li>
  101.                             <li class=\"menu-item\">
  102.                                 <a href=\"";
  103.         // line 59
  104.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  105.         echo "\">フォトパブ堂書店</a>
  106.                                 <ul class=\"submenu\">
  107.                                     <li><span></span><a href=\"";
  108.         // line 61
  109.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("books");
  110.         echo "\">  フォトパブ堂書店TOP</a></li>
  111.                                     ";
  112.         // line 62
  113.         $context["AllCategories"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method"falsefalsefalse62);
  114.         // line 63
  115.         echo "                                    ";
  116.         $context["Categories"] = twig_array_filter($this->env, (isset($context["AllCategories"]) || array_key_exists("AllCategories"$context) ? $context["AllCategories"] : (function () { throw new RuntimeError('Variable "AllCategories" does not exist.'63$this->source); })()), function ($__c__) use ($context$macros) { $context["c"] = $__c__; return ( !(null === twig_get_attribute($this->env$this->source, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'63$this->source); })()), "id", [], "any"falsefalsefalse63)) && (twig_get_attribute($this->env$this->source, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'63$this->source); })()), "id", [], "any"falsefalsefalse63) == 1)); });
  117.         // line 64
  118.         echo "                                    ";
  119.         $context['_parent'] = $context;
  120.         $context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories"$context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.'64$this->source); })()));
  121.         foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  122.             // line 65
  123.             echo "                                        ";
  124.             $context['_parent'] = $context;
  125.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Category"], "Children", [], "any"falsefalsefalse65));
  126.             foreach ($context['_seq'] as $context["_key"] => $context["Child"]) {
  127.                 // line 66
  128.                 echo "                                            <li>
  129.                                                 <span><a href=\"";
  130.                 // line 67
  131.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  132.                 echo "?category_id=";
  133.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Child"], "id", [], "any"falsefalsefalse67), "html"nulltrue);
  134.                 echo "\">";
  135.                 echo twig_escape_filter($this->env$context["Child"], "html"nulltrue);
  136.                 echo "</a></span>
  137.                                             </li>
  138.                                         ";
  139.             }
  140.             $_parent $context['_parent'];
  141.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Child'], $context['_parent'], $context['loop']);
  142.             $context array_intersect_key($context$_parent) + $_parent;
  143.             // line 70
  144.             echo "                                    ";
  145.         }
  146.         $_parent $context['_parent'];
  147.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  148.         $context array_intersect_key($context$_parent) + $_parent;
  149.         // line 71
  150.         echo "                                </ul>
  151.                             </li>
  152.                             <li class=\"menu-item\">
  153.                                 <a href=\"";
  154.         // line 74
  155.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  156.         echo "\">フォトパブ写真館</a>
  157.                                 <ul class=\"submenu\">
  158.                                     <li><span></span><a href=\"";
  159.         // line 76
  160.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photos");
  161.         echo "\">  フォトパブ写真館TOP</a></li>
  162.                                     ";
  163.         // line 77
  164.         $context["AllCategories"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method"falsefalsefalse77);
  165.         // line 78
  166.         echo "                                    ";
  167.         $context["Categories"] = twig_array_filter($this->env, (isset($context["AllCategories"]) || array_key_exists("AllCategories"$context) ? $context["AllCategories"] : (function () { throw new RuntimeError('Variable "AllCategories" does not exist.'78$this->source); })()), function ($__c__) use ($context$macros) { $context["c"] = $__c__; return ( !(null === twig_get_attribute($this->env$this->source, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'78$this->source); })()), "id", [], "any"falsefalsefalse78)) && (twig_get_attribute($this->env$this->source, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'78$this->source); })()), "id", [], "any"falsefalsefalse78) == 6)); });
  168.         // line 79
  169.         echo "                                    ";
  170.         $context['_parent'] = $context;
  171.         $context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories"$context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.'79$this->source); })()));
  172.         foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  173.             // line 80
  174.             echo "                                        ";
  175.             $context['_parent'] = $context;
  176.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Category"], "Children", [], "any"falsefalsefalse80));
  177.             foreach ($context['_seq'] as $context["_key"] => $context["Child"]) {
  178.                 // line 81
  179.                 echo "                                            <li>
  180.                                                 <span><a href=\"";
  181.                 // line 82
  182.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list");
  183.                 echo "?category_id=";
  184.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Child"], "id", [], "any"falsefalsefalse82), "html"nulltrue);
  185.                 echo "\">";
  186.                 echo twig_escape_filter($this->env$context["Child"], "html"nulltrue);
  187.                 echo "</a></span>
  188.                                             </li>
  189.                                         ";
  190.             }
  191.             $_parent $context['_parent'];
  192.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Child'], $context['_parent'], $context['loop']);
  193.             $context array_intersect_key($context$_parent) + $_parent;
  194.             // line 85
  195.             echo "                                    ";
  196.         }
  197.         $_parent $context['_parent'];
  198.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  199.         $context array_intersect_key($context$_parent) + $_parent;
  200.         // line 86
  201.         echo "                                </ul>
  202.                             </li>
  203.                             <li class=\"menu-item\">
  204.                                 <a href=\"https://jihi.photo-pub.co.jp/\">自費出版サービス</a>
  205.                                 <ul class=\"submenu\">
  206.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/\">自費出版について</a></li>
  207.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/calc.php\">自動見積もり</a></li>
  208.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/qanda.php\">出版までの流れ</a></li>
  209.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/inquiry\">自費出版に関するご相談</a></li>
  210.                                 </ul>
  211.                             </li>
  212.                             <li class=\"menu-item\">
  213.                                 <a href=\"https://photo-pub.co.jp/event\">イベント情報</a>
  214.                                 <ul class=\"submenu\">
  215.                                     <li><span></span><a href=\"https://photo-pub.co.jp/event\">イベント一覧</a></li>
  216.                                 </ul>
  217.                             </li>
  218.                             <li class=\"menu-item\">
  219.                                 <a href=\"https://photo-pub.co.jp/recruit\">各種募集</a>
  220.                                 <ul class=\"submenu\">
  221.                                     <li><span></span><a href=\"https://photo-pub.co.jp/recruit\">募集一覧</a></li>
  222.                                 </ul>
  223.                             </li>
  224.                         </ul>
  225.                         <ul class=\"hamburger-links\">
  226.                             <li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
  227.                             <li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
  228.                             <li><a href=\"";
  229.         // line 114
  230.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  231.         echo "\">お問い合わせ</a></li>
  232.                             <li><a href=\"";
  233.         // line 115
  234.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("opinion");
  235.         echo "\">意見箱</a></li>
  236.                             <li><a href=\"";
  237.         // line 116
  238.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_privacy");
  239.         echo "\">プライバシー<br class=\"br_linkbox\">ポリシー</a></li>
  240.                             <li><a href=\"";
  241.         // line 117
  242.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_tradelaw");
  243.         echo "\">特定商取引法<br class=\"br_linkbox\">に基づく表記</a></li>
  244.                         </ul>
  245.                         <ul class=\"hamburger-sns\">
  246.                             <li><a><img src=\"";
  247.         // line 121
  248.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_insta.png""user_data"), "html"nulltrue);
  249.         echo "\" alt=\"insta\"></a></li>
  250.                             <li><a href=\"https://www.youtube.com/@%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96\"><img src=\"";
  251.         // line 122
  252.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_youtube.svg""user_data"), "html"nulltrue);
  253.         echo "\" alt=\"youtube\"></a></li>
  254.                             <li><a href=\"https://twitter.com/share?url=https://photo-pub.co.jp/&via=photopub402&hashtags=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0&text=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0\"><img src=\"";
  255.         // line 123
  256.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_x.svg""user_data"), "html"nulltrue);
  257.         echo "\" alt=\"x\"></a></li>
  258.                             <li><a href=\"http://www.facebook.com/share.php?u=https://photo-pub.co.jp/\"><img src=\"";
  259.         // line 124
  260.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_fb.svg""user_data"), "html"nulltrue);
  261.         echo "\" alt=\"fb\"></a></li>
  262.                         </ul>
  263.                     </nav>
  264.                 </div>
  265.             </div>
  266.             <div class=\"header_inner2 pc\">
  267.                 <ul class=\"select_btns\">
  268.                     <li class=\"btn\"><a href=\"";
  269.         // line 132
  270.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  271.         echo "\">TOP</a></li>
  272.                     <li class=\"btn\"><a href=\"";
  273.         // line 133
  274.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  275.         echo "books\">フォトパブ堂書店</a></li>
  276.                     <li class=\"btn\"><a href=\"";
  277.         // line 134
  278.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  279.         echo "photos\">フォトパブ写真館</a></li>
  280.                     <li class=\"btn\"><a href=\"http://jihi.photo-pub.co.jp/\">自費出版サービス</a></li>
  281.                     <li class=\"btn\"><a href=\"https://photo-pub.co.jp/event\">イベント情報</a></li>
  282.                     <li class=\"btn\"><a href=\"https://photo-pub.co.jp/recruit\">各種募集</a></li>
  283.                 </ul>
  284.             </div>
  285.         </div>
  286.     </div>
  287.     ";
  288.         // line 143
  289.         echo "    ";
  290.         // line 144
  291.         echo "    ";
  292.         // line 145
  293.         echo "    ";
  294.         // line 146
  295.         echo "    ";
  296.         // line 147
  297.         echo "    ";
  298.         // line 148
  299.         echo "    ";
  300.         // line 149
  301.         echo "    ";
  302.         // line 150
  303.         echo "    ";
  304.         // line 151
  305.         echo "    ";
  306.         // line 152
  307.         echo "    ";
  308.         // line 153
  309.         echo "    ";
  310.         // line 154
  311.         echo "    ";
  312.         // line 155
  313.         echo "    ";
  314.         // line 156
  315.         echo "    ";
  316.         // line 157
  317.         echo "    ";
  318.         // line 158
  319.         echo "    ";
  320.         // line 159
  321.         echo "    ";
  322.         // line 160
  323.         echo "    
  324.             ";
  325.         // line 162
  326.         echo "    ";
  327.         // line 163
  328.         echo "            
  329.     ";
  330.         // line 165
  331.         echo "    ";
  332.         // line 166
  333.         echo "    ";
  334.         // line 167
  335.         echo "    ";
  336.         // line 168
  337.         echo "    ";
  338.         // line 169
  339.         echo "    ";
  340.         // line 170
  341.         echo "    ";
  342.         // line 171
  343.         echo "    ";
  344.         // line 172
  345.         echo "    ";
  346.         // line 173
  347.         echo "    ";
  348.         // line 174
  349.         echo "    ";
  350.         // line 175
  351.         echo "    ";
  352.         // line 176
  353.         echo "    ";
  354.         // line 177
  355.         echo "    <div class=\"sp-search-form\">
  356.         <form action=\"";
  357.         // line 178
  358.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_list");
  359.         echo "\" class=\"search-form sp\">
  360.             <input type=\"text\" class=\"search-form-input\" placeholder=\"キーワード(タイトル、著者など)を入力\">
  361.             <button type=\"submit\" class=\"search-form-submit\" aria-label=\"検索\"></button>
  362.         </form>
  363.     </div>
  364. </section>
  365. </div>
  366. <style>
  367.     .fixed-header {
  368.     position: fixed;
  369.     top: 0;
  370.     left: 0;
  371.     width: 100%;
  372.     z-index: 9999;
  373.     background-color: #fff; /* 背景が透けないように */
  374.     box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 任意:影で浮かせる */
  375. }
  376. body {
  377.     padding-top: 100px; /* ヘッダーの高さに合わせて調整(例:80px) */
  378. }
  379. @media screen and (max-width: 820px) {
  380.     body {
  381.         padding-top: 120px; /* ヘッダーの高さに合わせて調整(例:80px) */
  382.     }
  383. }
  384. </style>";
  385.         
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  387.         
  388.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  389.     }
  390.     // line 12
  391.     public function block_stylesheet($context, array $blocks = [])
  392.     {
  393.         $macros $this->macros;
  394.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  395.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  397.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  398.         // line 13
  399.         echo "    <link rel=\"stylesheet\" href=\"";
  400.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/main_module_commom.css""user_data"), "html"nulltrue);
  401.         echo "\">
  402.     <link rel=\"stylesheet\" href=\"";
  403.         // line 14
  404.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/header_style.css""user_data"), "html"nulltrue);
  405.         echo "\">
  406. ";
  407.         
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.     }
  412.     // line 17
  413.     public function block_javascript($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  419.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  420.         // line 18
  421.         echo "    <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  422.     <script src=\"";
  423.         // line 19
  424.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/header.js""user_data"), "html"nulltrue);
  425.         echo "\"></script>
  426. ";
  427.         
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  429.         
  430.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  431.     }
  432.     public function getTemplateName()
  433.     {
  434.         return "Block/header0.twig";
  435.     }
  436.     public function isTraitable()
  437.     {
  438.         return false;
  439.     }
  440.     public function getDebugInfo()
  441.     {
  442.         return array (  453 => 19,  450 => 18,  440 => 17,  428 => 14,  423 => 13,  413 => 12,  373 => 178,  370 => 177,  368 => 176,  366 => 175,  364 => 174,  362 => 173,  360 => 172,  358 => 171,  356 => 170,  354 => 169,  352 => 168,  350 => 167,  348 => 166,  346 => 165,  343 => 163,  341 => 162,  338 => 160,  336 => 159,  334 => 158,  332 => 157,  330 => 156,  328 => 155,  326 => 154,  324 => 153,  322 => 152,  320 => 151,  318 => 150,  316 => 149,  314 => 148,  312 => 147,  310 => 146,  308 => 145,  306 => 144,  304 => 143,  293 => 134,  289 => 133,  285 => 132,  274 => 124,  270 => 123,  266 => 122,  262 => 121,  255 => 117,  251 => 116,  247 => 115,  243 => 114,  213 => 86,  207 => 85,  194 => 82,  191 => 81,  186 => 80,  181 => 79,  178 => 78,  176 => 77,  172 => 76,  167 => 74,  162 => 71,  156 => 70,  143 => 67,  140 => 66,  135 => 65,  130 => 64,  127 => 63,  125 => 62,  121 => 61,  116 => 59,  110 => 56,  94 => 43,  87 => 39,  83 => 38,  75 => 33,  67 => 28,  63 => 27,  55 => 21,  53 => 17,  50 => 16,  48 => 12,  45 => 11,);
  443.     }
  444.     public function getSourceContext()
  445.     {
  446.         return new Source("{#
  447. This file is part of EC-CUBE
  448. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  449. http://www.ec-cube.co.jp/
  450. For the full copyright and license information, please view the LICENSE
  451. file that was distributed with this source code.
  452. #}
  453. {% block stylesheet %}
  454.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/main_module_commom.css', 'user_data') }}\">
  455.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/header_style.css', 'user_data') }}\">
  456. {% endblock %}
  457. {% block javascript %}
  458.     <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  459.     <script src=\"{{ asset('assets/js/header.js', 'user_data') }}\"></script>
  460. {% endblock  %}
  461. <div class=\"fixed-header\">
  462.     <section>
  463.     <div id=\"site_header\">
  464.         <div class=\"header_logo\">
  465.             <a href=\"{{url('homepage')}}\">
  466.                 <img src=\"{{ asset('assets/img/common/header_logo_0.png', 'user_data') }}\">
  467.             </a>
  468.         </div>
  469.         <div class=\"header_menus\">
  470.             <div class=\"header_inner1\">
  471.                 {{ render(path('block_search_product')) }}
  472.                 <div class=\"header_link1 pc\">
  473.                     <ul class=\"link1\">
  474.                         <li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
  475.                         <li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
  476.                         <li><a href=\"{{ url('contact') }}\">お問い合わせ</a></li>
  477.                         <li><a href=\"{{ url('opinion') }}\">意見箱</a></li>
  478.                     </ul>
  479.                 </div>
  480.                 <div class=\"header_link2\">
  481.                     {{ include('Block/login.twig', {parent_template: 'header0.twig'}) }}
  482.                 </div>
  483.                 <div class=\"hamburger-menu sp\">
  484.                     <button id=\"hamburger\" class=\"hamburger\">
  485.                         <span></span>
  486.                         <span></span>
  487.                         <span></span>
  488.                     </button>
  489.                     <nav id=\"menus\" class=\"menus\">
  490.                         <ul class=\"hamburger-tabs\">
  491.                             <li class=\"menu-item\">
  492.                                 <a href=\"{{ url('homepage') }}\">TOP</a>
  493.                             </li>
  494.                             <li class=\"menu-item\">
  495.                                 <a href=\"{{ url('homepage') }}\">フォトパブ堂書店</a>
  496.                                 <ul class=\"submenu\">
  497.                                     <li><span></span><a href=\"{{ url('books') }}\">  フォトパブ堂書店TOP</a></li>
  498.                                     {% set AllCategories = repository('Eccube\\\\Entity\\\\Category').getList() %}
  499.                                     {% set Categories = AllCategories|filter(c => c.id is not null and c.id == 1) %}
  500.                                     {% for Category in Categories %}
  501.                                         {% for Child in Category.Children %}
  502.                                             <li>
  503.                                                 <span><a href=\"{{ url('product_list') }}?category_id={{ Child.id }}\">{{ Child }}</a></span>
  504.                                             </li>
  505.                                         {% endfor %}
  506.                                     {% endfor %}
  507.                                 </ul>
  508.                             </li>
  509.                             <li class=\"menu-item\">
  510.                                 <a href=\"{{ url('homepage') }}\">フォトパブ写真館</a>
  511.                                 <ul class=\"submenu\">
  512.                                     <li><span></span><a href=\"{{ url('photos') }}\">  フォトパブ写真館TOP</a></li>
  513.                                     {% set AllCategories = repository('Eccube\\\\Entity\\\\Category').getList() %}
  514.                                     {% set Categories = AllCategories|filter(c => c.id is not null and c.id == 6) %}
  515.                                     {% for Category in Categories %}
  516.                                         {% for Child in Category.Children %}
  517.                                             <li>
  518.                                                 <span><a href=\"{{ url('photo-product_list') }}?category_id={{ Child.id }}\">{{ Child }}</a></span>
  519.                                             </li>
  520.                                         {% endfor %}
  521.                                     {% endfor %}
  522.                                 </ul>
  523.                             </li>
  524.                             <li class=\"menu-item\">
  525.                                 <a href=\"https://jihi.photo-pub.co.jp/\">自費出版サービス</a>
  526.                                 <ul class=\"submenu\">
  527.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/\">自費出版について</a></li>
  528.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/calc.php\">自動見積もり</a></li>
  529.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/qanda.php\">出版までの流れ</a></li>
  530.                                     <li><span></span><a href=\"https://jihi.photo-pub.co.jp/inquiry\">自費出版に関するご相談</a></li>
  531.                                 </ul>
  532.                             </li>
  533.                             <li class=\"menu-item\">
  534.                                 <a href=\"https://photo-pub.co.jp/event\">イベント情報</a>
  535.                                 <ul class=\"submenu\">
  536.                                     <li><span></span><a href=\"https://photo-pub.co.jp/event\">イベント一覧</a></li>
  537.                                 </ul>
  538.                             </li>
  539.                             <li class=\"menu-item\">
  540.                                 <a href=\"https://photo-pub.co.jp/recruit\">各種募集</a>
  541.                                 <ul class=\"submenu\">
  542.                                     <li><span></span><a href=\"https://photo-pub.co.jp/recruit\">募集一覧</a></li>
  543.                                 </ul>
  544.                             </li>
  545.                         </ul>
  546.                         <ul class=\"hamburger-links\">
  547.                             <li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
  548.                             <li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
  549.                             <li><a href=\"{{ url('contact') }}\">お問い合わせ</a></li>
  550.                             <li><a href=\"{{ url('opinion') }}\">意見箱</a></li>
  551.                             <li><a href=\"{{url('help_privacy')}}\">プライバシー<br class=\"br_linkbox\">ポリシー</a></li>
  552.                             <li><a href=\"{{url('help_tradelaw')}}\">特定商取引法<br class=\"br_linkbox\">に基づく表記</a></li>
  553.                         </ul>
  554.                         <ul class=\"hamburger-sns\">
  555.                             <li><a><img src=\"{{ asset('assets/img/common/sns_ic_insta.png', 'user_data') }}\" alt=\"insta\"></a></li>
  556.                             <li><a href=\"https://www.youtube.com/@%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96\"><img src=\"{{ asset('assets/img/common/sns_ic_youtube.svg', 'user_data') }}\" alt=\"youtube\"></a></li>
  557.                             <li><a href=\"https://twitter.com/share?url=https://photo-pub.co.jp/&via=photopub402&hashtags=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0&text=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0\"><img src=\"{{ asset('assets/img/common/sns_ic_x.svg', 'user_data') }}\" alt=\"x\"></a></li>
  558.                             <li><a href=\"http://www.facebook.com/share.php?u=https://photo-pub.co.jp/\"><img src=\"{{ asset('assets/img/common/sns_ic_fb.svg', 'user_data') }}\" alt=\"fb\"></a></li>
  559.                         </ul>
  560.                     </nav>
  561.                 </div>
  562.             </div>
  563.             <div class=\"header_inner2 pc\">
  564.                 <ul class=\"select_btns\">
  565.                     <li class=\"btn\"><a href=\"{{ url('homepage') }}\">TOP</a></li>
  566.                     <li class=\"btn\"><a href=\"{{ url('homepage') }}books\">フォトパブ堂書店</a></li>
  567.                     <li class=\"btn\"><a href=\"{{ url('homepage') }}photos\">フォトパブ写真館</a></li>
  568.                     <li class=\"btn\"><a href=\"http://jihi.photo-pub.co.jp/\">自費出版サービス</a></li>
  569.                     <li class=\"btn\"><a href=\"https://photo-pub.co.jp/event\">イベント情報</a></li>
  570.                     <li class=\"btn\"><a href=\"https://photo-pub.co.jp/recruit\">各種募集</a></li>
  571.                 </ul>
  572.             </div>
  573.         </div>
  574.     </div>
  575.     {#<div class=\"tabs\">#}
  576.     {#    <ul class=\"tabs_inner\">#}
  577.     {#        {% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}#}
  578.     {#        {% macro tree(Category) %}#}
  579.     {#            {% from _self import tree %}#}
  580.     {#            <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">#}
  581.     {#                {{ Category.name }}#}
  582.     {#            </a>#}
  583.     {#            {% if Category.children|length > 0 %}#}
  584.     {#                <ul>#}
  585.     {#                    {% for ChildCategory in Category.children %}#}
  586.     {#                        <li>#}
  587.     {#                            {{ tree(ChildCategory) }}#}
  588.     {#                        </li>#}
  589.     {#                    {% endfor %}#}
  590.     {#                </ul>#}
  591.     {#            {% endif %}#}
  592.     {#        {% endmacro %}#}
  593.     
  594.             {# @see https://github.com/bolt/bolt/pull/2388 #}
  595.     {#        {% from _self import tree %}#}
  596.             
  597.     {#        <div class=\"ec-categoryNaviRole\">#}
  598.     {#            <div class=\"ec-itemNav\">#}
  599.     {#                <ul class=\"ec-itemNav__nav\">#}
  600.     {#                    {% for Category in Categories %}#}
  601.     {#                        <li>#}
  602.     {#                            {{ tree(Category) }}#}
  603.     {#                        </li>#}
  604.     {#                    {% endfor %}#}
  605.     {#                </ul>#}
  606.     {#            </div>#}
  607.     {#        </div>#}
  608.     {#    </ul>#}
  609.     {#</div>#}
  610.     <div class=\"sp-search-form\">
  611.         <form action=\"{{ path('product_list') }}\" class=\"search-form sp\">
  612.             <input type=\"text\" class=\"search-form-input\" placeholder=\"キーワード(タイトル、著者など)を入力\">
  613.             <button type=\"submit\" class=\"search-form-submit\" aria-label=\"検索\"></button>
  614.         </form>
  615.     </div>
  616. </section>
  617. </div>
  618. <style>
  619.     .fixed-header {
  620.     position: fixed;
  621.     top: 0;
  622.     left: 0;
  623.     width: 100%;
  624.     z-index: 9999;
  625.     background-color: #fff; /* 背景が透けないように */
  626.     box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 任意:影で浮かせる */
  627. }
  628. body {
  629.     padding-top: 100px; /* ヘッダーの高さに合わせて調整(例:80px) */
  630. }
  631. @media screen and (max-width: 820px) {
  632.     body {
  633.         padding-top: 120px; /* ヘッダーの高さに合わせて調整(例:80px) */
  634.     }
  635. }
  636. </style>""Block/header0.twig""/home/photo-pub/www/photo-pub.com/app/template/default/Block/header0.twig");
  637.     }
  638. }