var/cache/dev/twig/3c/3cb715b6cc23f888ad3466519bf3d314.php line 40

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. /* Help/sitemap.twig */
  14. class __TwigTemplate_521a6615cfa7b1bda0937db8deeba22c 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->blocks = [
  23.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Help/sitemap.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Help/sitemap.twig"));
  40.         // line 3
  41.         $context["links"] = [=> ["url" => "/help/about""title" => "CONCEPT"], => ["url" => "/products/list""title" => "LINE UP"], => ["url" => "/sea_burial""title" => "海洋散骨"], => ["url" => "/special""title" => "SPECIAL"], => ["url" => "/news""title" => "ニュース"], => ["url" => "/guide""title" => "ご利用ガイド"], => ["url" => "/contact""title" => "お問い合わせ"], => ["url" => "/qa""title" => "よくあるご質問"], => ["url" => "/help/privacy""title" => "プライバシーポリシー"], => ["url" => "/help/agreement""title" => "会員規約"], 10 => ["url" => "/help/tradelaw""title" => "特定商取引法に基づく表記"], 11 => ["url" => "/help/sitemap""title" => "サイトマップ"], 12 => ["url" => "http://manaka-ltd.jp/profile/""title" => "会社概要""separate" => true], 13 => ["url" => "/mypage/login""title" => "新規会員登録・ログイン"]];
  42.         // line 62
  43.         $context["breadcrumbs"] = [=> ["name" => "サイトマップ"]];
  44.         // line 1
  45.         $this->parent $this->loadTemplate("default_frame.twig""Help/sitemap.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 64
  53.     public function block_main($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  60.         // line 65
  61.         echo "\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
  62. \t\t<div class=\"mx-auto w-full max-w-[63rem]\">
  63. \t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
  64. \t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
  65. \t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
  66. \t\t\t\t\tサイトマップ</p>
  67. \t\t\t</h1>
  68. \t\t</div>
  69. \t</section>
  70. \t";
  71.         // line 74
  72.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/breadcrumb.twig");
  73.         echo "
  74. \t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black text-sm leading-loose\">
  75. \t\t<div class=\"mx-auto w-full max-w-[37rem]\">
  76. \t\t\t<div class=\"grid grid-cols-2 md:grid-cols-1 md:gap-0 gap-x-8 md:border-t md:border-sub-gray\">
  77. \t\t\t\t";
  78.         // line 78
  79.         $context['_parent'] = $context;
  80.         $context['_seq'] = twig_ensure_traversable((isset($context["links"]) || array_key_exists("links"$context) ? $context["links"] : (function () { throw new RuntimeError('Variable "links" does not exist.'78$this->source); })()));
  81.         $context['loop'] = [
  82.           'parent' => $context['_parent'],
  83.           'index0' => 0,
  84.           'index'  => 1,
  85.           'first'  => true,
  86.         ];
  87.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  88.             $length count($context['_seq']);
  89.             $context['loop']['revindex0'] = $length 1;
  90.             $context['loop']['revindex'] = $length;
  91.             $context['loop']['length'] = $length;
  92.             $context['loop']['last'] = === $length;
  93.         }
  94.         foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
  95.             // line 79
  96.             echo "\t\t\t\t\t";
  97.             if (twig_get_attribute($this->env$this->source$context["link"], "separate", [], "any"truetruetrue79)) {
  98.                 // line 80
  99.                 echo "\t\t\t\t\t\t<a href=\"";
  100.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["link"], "url", [], "any"falsefalsetrue80), 80$this->source), "html"nulltrue);
  101.                 echo "\" class=\"flex gap-1 py-6 md:py-2 items-center border-b border-sub-gray ";
  102.                 if ((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue80) < 2)) {
  103.                     echo "border-t";
  104.                 }
  105.                 echo " hover\" target=\"_blank\">";
  106.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["link"], "title", [], "any"falsefalsetrue80), 80$this->source), "html"nulltrue);
  107.                 echo "<img src=\"";
  108.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/open_in_new.svg"), "html"nulltrue);
  109.                 echo "\" alt=\"\" class=\"h-4 w-4\">
  110. \t\t\t\t\t\t</a>
  111. \t\t\t\t\t";
  112.             } else {
  113.                 // line 83
  114.                 echo "\t\t\t\t\t\t<a href=\"";
  115.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["link"], "url", [], "any"falsefalsetrue83), 83$this->source), "html"nulltrue);
  116.                 echo "\" class=\"block py-6 md:py-2 border-b border-sub-gray ";
  117.                 if ((twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue83) < 2)) {
  118.                     echo "border-t md:border-t-0";
  119.                 }
  120.                 echo " hover\">";
  121.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["link"], "title", [], "any"falsefalsetrue83), 83$this->source), "html"nulltrue);
  122.                 echo "</a>
  123. \t\t\t\t\t";
  124.             }
  125.             // line 85
  126.             echo "\t\t\t\t";
  127.             ++$context['loop']['index0'];
  128.             ++$context['loop']['index'];
  129.             $context['loop']['first'] = false;
  130.             if (isset($context['loop']['length'])) {
  131.                 --$context['loop']['revindex0'];
  132.                 --$context['loop']['revindex'];
  133.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  134.             }
  135.         }
  136.         $_parent $context['_parent'];
  137.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
  138.         $context array_intersect_key($context$_parent) + $_parent;
  139.         // line 86
  140.         echo "\t\t\t</div>
  141. \t\t</div>
  142. \t</section>
  143. ";
  144.         
  145.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  146.         
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  148.     }
  149.     public function getTemplateName()
  150.     {
  151.         return "Help/sitemap.twig";
  152.     }
  153.     public function isTraitable()
  154.     {
  155.         return false;
  156.     }
  157.     public function getDebugInfo()
  158.     {
  159.         return array (  154 => 86,  140 => 85,  128 => 83,  113 => 80,  110 => 79,  93 => 78,  86 => 74,  75 => 65,  65 => 64,  54 => 1,  52 => 62,  50 => 3,  37 => 1,);
  160.     }
  161.     public function getSourceContext()
  162.     {
  163.         return new Source("{% extends 'default_frame.twig' %}
  164. {% set links = [
  165. \t{
  166. \t\turl:'/help/about',
  167. \t\ttitle:'CONCEPT',
  168. \t},
  169. \t{
  170. \t\turl:'/products/list',
  171. \t\ttitle:'LINE UP',
  172. \t},
  173. \t{
  174. \t\turl:'/sea_burial',
  175. \t\ttitle:'海洋散骨',
  176. \t},
  177. \t{
  178. \t\turl:'/special',
  179. \t\ttitle:'SPECIAL',
  180. \t},
  181. \t{
  182. \t\turl:'/news',
  183. \t\ttitle:'ニュース',
  184. \t},
  185. \t{
  186. \t\turl:'/guide',
  187. \t\ttitle:'ご利用ガイド',
  188. \t},
  189. \t{
  190. \t\turl:'/contact',
  191. \t\ttitle:'お問い合わせ',
  192. \t},
  193. \t{
  194. \t\turl:'/qa',
  195. \t\ttitle:'よくあるご質問',
  196. \t},
  197. \t{
  198. \t\turl:'/help/privacy',
  199. \t\ttitle:'プライバシーポリシー',
  200. \t},
  201. \t{
  202. \t\turl:'/help/agreement',
  203. \t\ttitle:'会員規約',
  204. \t},
  205. \t{
  206. \t\turl:'/help/tradelaw',
  207. \t\ttitle:'特定商取引法に基づく表記',
  208. \t},
  209. \t{
  210. \t\turl:'/help/sitemap',
  211. \t\ttitle:'サイトマップ',
  212. \t},
  213. \t\t{
  214. \t\turl:'http://manaka-ltd.jp/profile/',
  215. \t\ttitle:'会社概要',
  216. \t\tseparate:true,
  217. \t},
  218. \t{
  219. \t\turl:'/mypage/login',
  220. \t\ttitle:'新規会員登録・ログイン',
  221. \t},
  222. ] %}
  223. {% set breadcrumbs = [ {'name': 'サイトマップ'}] %}
  224. {% block main %}
  225. \t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
  226. \t\t<div class=\"mx-auto w-full max-w-[63rem]\">
  227. \t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
  228. \t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
  229. \t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
  230. \t\t\t\t\tサイトマップ</p>
  231. \t\t\t</h1>
  232. \t\t</div>
  233. \t</section>
  234. \t{{ include('Block/breadcrumb.twig') }}
  235. \t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black text-sm leading-loose\">
  236. \t\t<div class=\"mx-auto w-full max-w-[37rem]\">
  237. \t\t\t<div class=\"grid grid-cols-2 md:grid-cols-1 md:gap-0 gap-x-8 md:border-t md:border-sub-gray\">
  238. \t\t\t\t{% for link in links %}
  239. \t\t\t\t\t{% if link.separate is defined %}
  240. \t\t\t\t\t\t<a href=\"{{link.url}}\" class=\"flex gap-1 py-6 md:py-2 items-center border-b border-sub-gray {% if loop.index0 < 2 %}border-t{% endif %} hover\" target=\"_blank\">{{link.title}}<img src=\"{{asset('assets/icon/open_in_new.svg')}}\" alt=\"\" class=\"h-4 w-4\">
  241. \t\t\t\t\t\t</a>
  242. \t\t\t\t\t{% else %}
  243. \t\t\t\t\t\t<a href=\"{{link.url}}\" class=\"block py-6 md:py-2 border-b border-sub-gray {% if loop.index0 < 2 %}border-t md:border-t-0{% endif %} hover\">{{link.title}}</a>
  244. \t\t\t\t\t{% endif %}
  245. \t\t\t\t{% endfor %}
  246. \t\t\t</div>
  247. \t\t</div>
  248. \t</section>
  249. {% endblock %}
  250. ""Help/sitemap.twig""/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Help/sitemap.twig");
  251.     }
  252.     
  253.     public function checkSecurity()
  254.     {
  255.         static $tags = array("set" => 3"for" => 78"if" => 79);
  256.         static $filters = array("escape" => 80);
  257.         static $functions = array("include" => 74"asset" => 80);
  258.         try {
  259.             $this->sandbox->checkSecurity(
  260.                 ['set''for''if'],
  261.                 ['escape'],
  262.                 ['include''asset']
  263.             );
  264.         } catch (SecurityError $e) {
  265.             $e->setSourceContext($this->source);
  266.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  267.                 $e->setTemplateLine($tags[$e->getTagName()]);
  268.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  269.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  270.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  271.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  272.             }
  273.             throw $e;
  274.         }
  275.     }
  276. }