var/cache/dev/twig/1d/1d291b3d7baacb340e3cc1a759ecc14d.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/header.twig */
  14. class __TwigTemplate_3fc4fbc4ffb69cc1588856142f2c24d1 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/header.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/header.twig"));
  33.         // line 11
  34.         echo "<div id=\"header\">
  35.   <div class=\"h_logo\"><a href=\"";
  36.         // line 12
  37.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  38.         echo "\"><img class=\"u_visible_pc\" src=\"";
  39.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/logo.svg""user_data"), "html"nulltrue);
  40.         echo "\" alt=\"\"><img class=\"u_visible_sp\" src=\"";
  41.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/logo_sp.svg""user_data"), "html"nulltrue);
  42.         echo "\" alt=\"\"></a></div>
  43.   <div class=\"h_menu\"><img class=\"open u_visible_pc\" src=\"";
  44.         // line 13
  45.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/h_menu.svg""user_data"), "html"nulltrue);
  46.         echo "\" alt=\"MENU\" /><img class=\"open u_visible_sp\" src=\"";
  47.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/h_menu_sp.svg""user_data"), "html"nulltrue);
  48.         echo "\" alt=\"MENU\" /><img class=\"close\" src=\"";
  49.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/h_close.svg""user_data"), "html"nulltrue);
  50.         echo "\" alt=\"CLOSE\" /></div>
  51.   <ul class=\"h_link\">
  52.     <li class=\"u_visible_pc\"><a href=\"https://www.google.co.jp/maps/place/Plot+-+photo+studio+%26+props+-/@34.6745759,135.4827218,15z/data=!4m6!3m5!1s0x6000e723dc0a2d53:0xb50755cc2a18d1d4!8m2!3d34.6745759!4d135.4827218!16s%2Fg%2F11gd1s0jr_?entry=ttu\"><img src=\"";
  53.         // line 15
  54.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_pin.svg""user_data"), "html"nulltrue);
  55.         echo "\" alt=\"\"></a></li>
  56.     <!--<li>";
  57.         // line 16
  58.         echo twig_include($this->env$context"Block/cart.twig");
  59.         echo "</li>-->
  60.     ";
  61.         // line 17
  62.         $context["Carts"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_all_carts();
  63.         // line 18
  64.         echo "    ";
  65.         $context["totalPrice"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_price();
  66.         // line 19
  67.         echo "    ";
  68.         $context["totalQuantity"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_quantity();
  69.         // line 20
  70.         echo "    <li><a href=\"";
  71.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  72.         echo "\"><img src=\"";
  73.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_cart.svg""user_data"), "html"nulltrue);
  74.         echo "\" alt=\"\"><i class=\"ft_e\">";
  75.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'20$this->source); })())), "html"nulltrue);
  76.         echo "</i></a></li>
  77.     <li class=\"u_visible_pc\">
  78.     ";
  79.         // line 22
  80.         if (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.'22$this->source); })()), "option_favorite_product", [], "any"falsefalsefalse22)) {
  81.             // line 23
  82.             echo "      <a href=\"";
  83.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_favorite");
  84.             echo "\"><img src=\"";
  85.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_favo.svg""user_data"), "html"nulltrue);
  86.             echo "\" alt=\"\"></a>
  87.     ";
  88.         }
  89.         // line 25
  90.         echo "    </li>
  91.     <li><a href=\"";
  92.         // line 26
  93.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
  94.         echo "\"><img src=\"";
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_member.svg""user_data"), "html"nulltrue);
  96.         echo "\" alt=\"\"></a></li>
  97.   </ul>
  98.   <div id=\"toggle_menu\">
  99.     <div class=\"h_inner\">
  100.       <ul class=\"h_nav\">
  101.         <li><a href=\"https://ppplot.com/company/\"><img src=\"";
  102.         // line 31
  103.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_logo.svg""user_data"), "html"nulltrue);
  104.         echo "\" alt=\"\">プロットについて</a></li>
  105.          <li><a href=\"/guide\"><img src=\"";
  106.         // line 32
  107.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_guide.svg""user_data"), "html"nulltrue);
  108.         echo "\" alt=\"\">ご利用ガイド</a></li>
  109.         <li><a href=\"/user_data/faq\"><img src=\"";
  110.         // line 33
  111.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_guide.svg""user_data"), "html"nulltrue);
  112.         echo "\" alt=\"\">よくある質問</a></li>
  113.         <li><a href=\"https://ppplot.com/#access\"><img src=\"";
  114.         // line 34
  115.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_pin.svg""user_data"), "html"nulltrue);
  116.         echo "\" alt=\"\">アクセス</a></li>
  117.         <li><a href=\"https://ppplot.com/news/\"><img src=\"";
  118.         // line 35
  119.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_edit.svg""user_data"), "html"nulltrue);
  120.         echo "\" alt=\"\">トピックス</a></li>
  121.     ";
  122.         // line 36
  123.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  124.             // line 37
  125.             echo "        <li><a href=\"";
  126.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
  127.             echo "\"><img src=\"";
  128.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_member.svg""user_data"), "html"nulltrue);
  129.             echo "\" alt=\"\">マイページ</a></li>
  130.     ";
  131.         } else {
  132.             // line 39
  133.             echo "        <li><a href=\"";
  134.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  135.             echo "\"><img src=\"";
  136.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_member.svg""user_data"), "html"nulltrue);
  137.             echo "\" alt=\"\">新規会員登録</a></li>
  138.     ";
  139.         }
  140.         // line 41
  141.         echo "        <li><a href=\"";
  142.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_favorite");
  143.         echo "\"><img src=\"";
  144.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_favo.svg""user_data"), "html"nulltrue);
  145.         echo "\" alt=\"\">お気に入り</a></li>
  146.       </ul>
  147.       <ul class=\"h_list ft_e\">
  148.         <li>
  149.           <a href=\"/user_data/photobooth\">
  150.             <img src=\"";
  151.         // line 46
  152.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/booth_img.jpg""user_data"), "html"nulltrue);
  153.         echo "\" alt=\"\">
  154.             <!--<p>PHOTO BOOTH</p>--><p>COMING SOON</p>
  155.           </a>
  156.         </li>
  157.         <li>
  158.           <a href=\"https://ppplot.com/\">
  159.             <img src=\"";
  160.         // line 52
  161.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/photo_img.jpg""user_data"), "html"nulltrue);
  162.         echo "\" alt=\"\">
  163.             <p>PHOTO STUDIO</p>
  164.           </a>
  165.         </li>
  166.       </ul>
  167.     </div>
  168.   </div>
  169.   <div class=\"fixed_side\">
  170.     ";
  171.         // line 60
  172.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  173.         echo "
  174.     <ul class=\"h_sns c_sns\">
  175.       <li><a target=\"_blank\" href=\"https://www.instagram.com/plotprops/\"><img src=\"";
  176.         // line 62
  177.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_insta.svg""user_data"), "html"nulltrue);
  178.         echo "\" alt=\"\"></a></li>
  179.       <li><a target=\"_blank\" href=\"https://liff.line.me/1645278921-kWRPP32q/?accountId=416dellc\"><img src=\"";
  180.         // line 63
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_line.svg""user_data"), "html"nulltrue);
  182.         echo "\" alt=\"\"></a></li>
  183.     </ul>
  184.   </div>
  185. </div>";
  186.         
  187.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  188.         
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  190.     }
  191.     public function getTemplateName()
  192.     {
  193.         return "Block/header.twig";
  194.     }
  195.     public function isTraitable()
  196.     {
  197.         return false;
  198.     }
  199.     public function getDebugInfo()
  200.     {
  201.         return array (  190 => 63,  186 => 62,  181 => 60,  170 => 52,  161 => 46,  150 => 41,  142 => 39,  134 => 37,  132 => 36,  128 => 35,  124 => 34,  120 => 33,  116 => 32,  112 => 31,  102 => 26,  99 => 25,  91 => 23,  89 => 22,  79 => 20,  76 => 19,  73 => 18,  71 => 17,  67 => 16,  63 => 15,  54 => 13,  46 => 12,  43 => 11,);
  202.     }
  203.     public function getSourceContext()
  204.     {
  205.         return new Source("{#
  206. This file is part of EC-CUBE
  207. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  208. http://www.ec-cube.co.jp/
  209. For the full copyright and license information, please view the LICENSE
  210. file that was distributed with this source code.
  211. #}
  212. <div id=\"header\">
  213.   <div class=\"h_logo\"><a href=\"{{ url('homepage') }}\"><img class=\"u_visible_pc\" src=\"{{ asset('assets/img/plot/logo.svg', 'user_data') }}\" alt=\"\"><img class=\"u_visible_sp\" src=\"{{ asset('assets/img/plot/logo_sp.svg', 'user_data') }}\" alt=\"\"></a></div>
  214.   <div class=\"h_menu\"><img class=\"open u_visible_pc\" src=\"{{ asset('assets/img/plot/h_menu.svg', 'user_data') }}\" alt=\"MENU\" /><img class=\"open u_visible_sp\" src=\"{{ asset('assets/img/plot/h_menu_sp.svg', 'user_data') }}\" alt=\"MENU\" /><img class=\"close\" src=\"{{ asset('assets/img/plot/h_close.svg', 'user_data') }}\" alt=\"CLOSE\" /></div>
  215.   <ul class=\"h_link\">
  216.     <li class=\"u_visible_pc\"><a href=\"https://www.google.co.jp/maps/place/Plot+-+photo+studio+%26+props+-/@34.6745759,135.4827218,15z/data=!4m6!3m5!1s0x6000e723dc0a2d53:0xb50755cc2a18d1d4!8m2!3d34.6745759!4d135.4827218!16s%2Fg%2F11gd1s0jr_?entry=ttu\"><img src=\"{{ asset('assets/img/plot/ico_pin.svg', 'user_data') }}\" alt=\"\"></a></li>
  217.     <!--<li>{{ include('Block/cart.twig') }}</li>-->
  218.     {% set Carts = get_all_carts() %}
  219.     {% set totalPrice = get_carts_total_price() %}
  220.     {% set totalQuantity = get_carts_total_quantity() %}
  221.     <li><a href=\"{{ url('cart') }}\"><img src=\"{{ asset('assets/img/plot/ico_cart.svg', 'user_data') }}\" alt=\"\"><i class=\"ft_e\">{{ totalQuantity|number_format }}</i></a></li>
  222.     <li class=\"u_visible_pc\">
  223.     {% if BaseInfo.option_favorite_product %}
  224.       <a href=\"{{ url('mypage_favorite') }}\"><img src=\"{{ asset('assets/img/plot/ico_favo.svg', 'user_data') }}\" alt=\"\"></a>
  225.     {% endif %}
  226.     </li>
  227.     <li><a href=\"{{ url('mypage') }}\"><img src=\"{{ asset('assets/img/plot/ico_member.svg', 'user_data') }}\" alt=\"\"></a></li>
  228.   </ul>
  229.   <div id=\"toggle_menu\">
  230.     <div class=\"h_inner\">
  231.       <ul class=\"h_nav\">
  232.         <li><a href=\"https://ppplot.com/company/\"><img src=\"{{ asset('assets/img/plot/nav_logo.svg', 'user_data') }}\" alt=\"\">プロットについて</a></li>
  233.          <li><a href=\"/guide\"><img src=\"{{ asset('assets/img/plot/nav_guide.svg', 'user_data') }}\" alt=\"\">ご利用ガイド</a></li>
  234.         <li><a href=\"/user_data/faq\"><img src=\"{{ asset('assets/img/plot/nav_guide.svg', 'user_data') }}\" alt=\"\">よくある質問</a></li>
  235.         <li><a href=\"https://ppplot.com/#access\"><img src=\"{{ asset('assets/img/plot/nav_pin.svg', 'user_data') }}\" alt=\"\">アクセス</a></li>
  236.         <li><a href=\"https://ppplot.com/news/\"><img src=\"{{ asset('assets/img/plot/nav_edit.svg', 'user_data') }}\" alt=\"\">トピックス</a></li>
  237.     {% if is_granted('ROLE_USER') %}
  238.         <li><a href=\"{{ url('mypage') }}\"><img src=\"{{ asset('assets/img/plot/nav_member.svg', 'user_data') }}\" alt=\"\">マイページ</a></li>
  239.     {% else %}
  240.         <li><a href=\"{{ url('entry') }}\"><img src=\"{{ asset('assets/img/plot/nav_member.svg', 'user_data') }}\" alt=\"\">新規会員登録</a></li>
  241.     {% endif %}
  242.         <li><a href=\"{{ url('mypage_favorite') }}\"><img src=\"{{ asset('assets/img/plot/nav_favo.svg', 'user_data') }}\" alt=\"\">お気に入り</a></li>
  243.       </ul>
  244.       <ul class=\"h_list ft_e\">
  245.         <li>
  246.           <a href=\"/user_data/photobooth\">
  247.             <img src=\"{{ asset('assets/img/plot/booth_img.jpg', 'user_data') }}\" alt=\"\">
  248.             <!--<p>PHOTO BOOTH</p>--><p>COMING SOON</p>
  249.           </a>
  250.         </li>
  251.         <li>
  252.           <a href=\"https://ppplot.com/\">
  253.             <img src=\"{{ asset('assets/img/plot/photo_img.jpg', 'user_data') }}\" alt=\"\">
  254.             <p>PHOTO STUDIO</p>
  255.           </a>
  256.         </li>
  257.       </ul>
  258.     </div>
  259.   </div>
  260.   <div class=\"fixed_side\">
  261.     {{ render(path('block_search_product')) }}
  262.     <ul class=\"h_sns c_sns\">
  263.       <li><a target=\"_blank\" href=\"https://www.instagram.com/plotprops/\"><img src=\"{{ asset('assets/img/plot/ico_insta.svg', 'user_data') }}\" alt=\"\"></a></li>
  264.       <li><a target=\"_blank\" href=\"https://liff.line.me/1645278921-kWRPP32q/?accountId=416dellc\"><img src=\"{{ asset('assets/img/plot/ico_line.svg', 'user_data') }}\" alt=\"\"></a></li>
  265.     </ul>
  266.   </div>
  267. </div>""Block/header.twig""/home/xs355060/ppplot.com/public_html/props.ppplot.com/app/template/default/Block/header.twig");
  268.     }
  269. }