<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Block/header.twig */
class __TwigTemplate_3fc4fbc4ffb69cc1588856142f2c24d1 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header.twig"));
// line 11
echo "<div id=\"header\">
<div class=\"h_logo\"><a href=\"";
// line 12
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\"><img class=\"u_visible_pc\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/logo.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"><img class=\"u_visible_sp\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/logo_sp.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></div>
<div class=\"h_menu\"><img class=\"open u_visible_pc\" src=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/h_menu.svg", "user_data"), "html", null, true);
echo "\" alt=\"MENU\" /><img class=\"open u_visible_sp\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/h_menu_sp.svg", "user_data"), "html", null, true);
echo "\" alt=\"MENU\" /><img class=\"close\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/h_close.svg", "user_data"), "html", null, true);
echo "\" alt=\"CLOSE\" /></div>
<ul class=\"h_link\">
<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=\"";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_pin.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></li>
<!--<li>";
// line 16
echo twig_include($this->env, $context, "Block/cart.twig");
echo "</li>-->
";
// line 17
$context["Carts"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_all_carts();
// line 18
echo " ";
$context["totalPrice"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_price();
// line 19
echo " ";
$context["totalQuantity"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_quantity();
// line 20
echo " <li><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_cart.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"><i class=\"ft_e\">";
echo twig_escape_filter($this->env, twig_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", null, true);
echo "</i></a></li>
<li class=\"u_visible_pc\">
";
// line 22
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", false, false, false, 22)) {
// line 23
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_favorite");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_favo.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a>
";
}
// line 25
echo " </li>
<li><a href=\"";
// line 26
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_member.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></li>
</ul>
<div id=\"toggle_menu\">
<div class=\"h_inner\">
<ul class=\"h_nav\">
<li><a href=\"https://ppplot.com/company/\"><img src=\"";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_logo.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">プロットについて</a></li>
<li><a href=\"/guide\"><img src=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_guide.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">ご利用ガイド</a></li>
<li><a href=\"/user_data/faq\"><img src=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_guide.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">よくある質問</a></li>
<li><a href=\"https://ppplot.com/#access\"><img src=\"";
// line 34
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_pin.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">アクセス</a></li>
<li><a href=\"https://ppplot.com/news/\"><img src=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_edit.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">トピックス</a></li>
";
// line 36
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 37
echo " <li><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_member.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">マイページ</a></li>
";
} else {
// line 39
echo " <li><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_member.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">新規会員登録</a></li>
";
}
// line 41
echo " <li><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_favorite");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/nav_favo.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">お気に入り</a></li>
</ul>
<ul class=\"h_list ft_e\">
<li>
<a href=\"/user_data/photobooth\">
<img src=\"";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/booth_img.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<!--<p>PHOTO BOOTH</p>--><p>COMING SOON</p>
</a>
</li>
<li>
<a href=\"https://ppplot.com/\">
<img src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/photo_img.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<p>PHOTO STUDIO</p>
</a>
</li>
</ul>
</div>
</div>
<div class=\"fixed_side\">
";
// line 60
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "
<ul class=\"h_sns c_sns\">
<li><a target=\"_blank\" href=\"https://www.instagram.com/plotprops/\"><img src=\"";
// line 62
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_insta.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></li>
<li><a target=\"_blank\" href=\"https://liff.line.me/1645278921-kWRPP32q/?accountId=416dellc\"><img src=\"";
// line 63
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/plot/ico_line.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></li>
</ul>
</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<div id=\"header\">
<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>
<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>
<ul class=\"h_link\">
<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>
<!--<li>{{ include('Block/cart.twig') }}</li>-->
{% set Carts = get_all_carts() %}
{% set totalPrice = get_carts_total_price() %}
{% set totalQuantity = get_carts_total_quantity() %}
<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>
<li class=\"u_visible_pc\">
{% if BaseInfo.option_favorite_product %}
<a href=\"{{ url('mypage_favorite') }}\"><img src=\"{{ asset('assets/img/plot/ico_favo.svg', 'user_data') }}\" alt=\"\"></a>
{% endif %}
</li>
<li><a href=\"{{ url('mypage') }}\"><img src=\"{{ asset('assets/img/plot/ico_member.svg', 'user_data') }}\" alt=\"\"></a></li>
</ul>
<div id=\"toggle_menu\">
<div class=\"h_inner\">
<ul class=\"h_nav\">
<li><a href=\"https://ppplot.com/company/\"><img src=\"{{ asset('assets/img/plot/nav_logo.svg', 'user_data') }}\" alt=\"\">プロットについて</a></li>
<li><a href=\"/guide\"><img src=\"{{ asset('assets/img/plot/nav_guide.svg', 'user_data') }}\" alt=\"\">ご利用ガイド</a></li>
<li><a href=\"/user_data/faq\"><img src=\"{{ asset('assets/img/plot/nav_guide.svg', 'user_data') }}\" alt=\"\">よくある質問</a></li>
<li><a href=\"https://ppplot.com/#access\"><img src=\"{{ asset('assets/img/plot/nav_pin.svg', 'user_data') }}\" alt=\"\">アクセス</a></li>
<li><a href=\"https://ppplot.com/news/\"><img src=\"{{ asset('assets/img/plot/nav_edit.svg', 'user_data') }}\" alt=\"\">トピックス</a></li>
{% if is_granted('ROLE_USER') %}
<li><a href=\"{{ url('mypage') }}\"><img src=\"{{ asset('assets/img/plot/nav_member.svg', 'user_data') }}\" alt=\"\">マイページ</a></li>
{% else %}
<li><a href=\"{{ url('entry') }}\"><img src=\"{{ asset('assets/img/plot/nav_member.svg', 'user_data') }}\" alt=\"\">新規会員登録</a></li>
{% endif %}
<li><a href=\"{{ url('mypage_favorite') }}\"><img src=\"{{ asset('assets/img/plot/nav_favo.svg', 'user_data') }}\" alt=\"\">お気に入り</a></li>
</ul>
<ul class=\"h_list ft_e\">
<li>
<a href=\"/user_data/photobooth\">
<img src=\"{{ asset('assets/img/plot/booth_img.jpg', 'user_data') }}\" alt=\"\">
<!--<p>PHOTO BOOTH</p>--><p>COMING SOON</p>
</a>
</li>
<li>
<a href=\"https://ppplot.com/\">
<img src=\"{{ asset('assets/img/plot/photo_img.jpg', 'user_data') }}\" alt=\"\">
<p>PHOTO STUDIO</p>
</a>
</li>
</ul>
</div>
</div>
<div class=\"fixed_side\">
{{ render(path('block_search_product')) }}
<ul class=\"h_sns c_sns\">
<li><a target=\"_blank\" href=\"https://www.instagram.com/plotprops/\"><img src=\"{{ asset('assets/img/plot/ico_insta.svg', 'user_data') }}\" alt=\"\"></a></li>
<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>
</ul>
</div>
</div>", "Block/header.twig", "/home/xs355060/ppplot.com/public_html/props.ppplot.com/app/template/default/Block/header.twig");
}
}