var/cache/dev/twig/b7/b7b7ab9cd5c7988d439c7ed96e111290.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/tradelaw.twig */
  14. class __TwigTemplate_14b469841631b5f7bc39fdf88f35eeab 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 11
  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/tradelaw.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/tradelaw.twig"));
  40.         $this->parent $this->loadTemplate("default_frame.twig""Help/tradelaw.twig"11);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 13
  48.     public function block_main($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  55.         // line 14
  56.         echo "
  57. \t<div class=\"pb-20 md:px-6 whitespace-nowrap bg-background-default w-full items-center justify-center flex-col flex\">
  58. \t\t<div class=\"w-full\">
  59. \t\t\t<div class=\"flex gap-4 md:gap-2 items-start mx-auto w-full pl-[10.625vw] md:pl-6 pt-[120px] md:pt-20 pb-10\">
  60. \t\t\t\t<hr class=\"md:h-[64px] h-[120px] w-[2px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
  61. \t\t\t\t<h1 class=\"text-2xl md:text-xl font-light leading-9 tracking-widest\">特定商取引法に基づく表記</h1>
  62. \t\t\t</div>
  63. \t\t\t";
  64.         // line 21
  65.         $context["breadcrumbs"] = [=> ["name" => "特定商取引法に基づく表記"]];
  66.         // line 22
  67.         echo "\t\t\t";
  68.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/breadcrumb.twig");
  69.         echo "
  70. \t\t</div>
  71. \t\t<div class=\"max-w-[592px] w-full text-sm whitespace-normal border-b border-sub-beige-pale\">
  72. \t\t\t";
  73.         // line 25
  74.         $context['_parent'] = $context;
  75.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["tradelaws"]) || array_key_exists("tradelaws"$context) ? $context["tradelaws"] : (function () { throw new RuntimeError('Variable "tradelaws" does not exist.'25$this->source); })()), function ($__t__) use ($context$macros) { $context["t"] = $__t__; return (twig_get_attribute($this->env$this->source, (isset($context["t"]) || array_key_exists("t"$context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.'25$this->source); })()), "name", [], "any"falsefalsetrue25) && twig_get_attribute($this->env$this->source, (isset($context["t"]) || array_key_exists("t"$context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.'25$this->source); })()), "description", [], "any"falsefalsetrue25)); }));
  76.         foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
  77.             // line 26
  78.             echo "\t\t\t\t<dl class=\"w-full flex-col flex gap-[10px] py-10 border-t border-sub-beige-pale\">
  79. \t\t\t\t\t<dt class=\"w-full font-medium\">
  80. \t\t\t\t\t\t<label class=\"leading-5\">";
  81.             // line 28
  82.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "name", [], "any"falsefalsetrue28), 28$this->source), "html"nulltrue);
  83.             echo "</label>
  84. \t\t\t\t\t</dt>
  85. \t\t\t\t\t";
  86.             // line 30
  87.             $context["isURL"] = (twig_get_attribute($this->env$this->source$context["tradelaw"], "name", [], "any"falsefalsetrue30) == "URL");
  88.             // line 31
  89.             echo "\t\t\t\t\t<a href=\"/\" class=\"";
  90.             if (((isset($context["isURL"]) || array_key_exists("isURL"$context) ? $context["isURL"] : (function () { throw new RuntimeError('Variable "isURL" does not exist.'31$this->source); })()) == true)) {
  91.                 echo " underline ";
  92.             }
  93.             echo "\">
  94. \t\t\t\t\t\t<dd class=\"w-full leading-7\">";
  95.             // line 32
  96.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "description", [], "any"falsefalsetrue32), 32$this->source));
  97.             echo "</dd>
  98. \t\t\t\t\t</a>
  99. \t\t\t\t</dl>
  100. \t\t\t";
  101.         }
  102.         $_parent $context['_parent'];
  103.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
  104.         $context array_intersect_key($context$_parent) + $_parent;
  105.         // line 36
  106.         echo "\t\t</div>
  107. \t</div>
  108. ";
  109.         
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.     }
  114.     public function getTemplateName()
  115.     {
  116.         return "Help/tradelaw.twig";
  117.     }
  118.     public function isTraitable()
  119.     {
  120.         return false;
  121.     }
  122.     public function getDebugInfo()
  123.     {
  124.         return array (  120 => 36,  110 => 32,  103 => 31,  101 => 30,  96 => 28,  92 => 26,  88 => 25,  81 => 22,  79 => 21,  70 => 14,  60 => 13,  37 => 11,);
  125.     }
  126.     public function getSourceContext()
  127.     {
  128.         return new Source("{#
  129. This file is part of EC-CUBE
  130. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  131. http://www.ec-cube.co.jp/
  132. For the full copyright and license information, please view the LICENSE
  133. file that was distributed with this source code.
  134. #}
  135. {% extends 'default_frame.twig' %}
  136. {% block main %}
  137. \t<div class=\"pb-20 md:px-6 whitespace-nowrap bg-background-default w-full items-center justify-center flex-col flex\">
  138. \t\t<div class=\"w-full\">
  139. \t\t\t<div class=\"flex gap-4 md:gap-2 items-start mx-auto w-full pl-[10.625vw] md:pl-6 pt-[120px] md:pt-20 pb-10\">
  140. \t\t\t\t<hr class=\"md:h-[64px] h-[120px] w-[2px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
  141. \t\t\t\t<h1 class=\"text-2xl md:text-xl font-light leading-9 tracking-widest\">特定商取引法に基づく表記</h1>
  142. \t\t\t</div>
  143. \t\t\t{% set breadcrumbs = [{'name': \"特定商取引法に基づく表記\" }] %}
  144. \t\t\t{{ include('Block/breadcrumb.twig') }}
  145. \t\t</div>
  146. \t\t<div class=\"max-w-[592px] w-full text-sm whitespace-normal border-b border-sub-beige-pale\">
  147. \t\t\t{% for tradelaw in tradelaws|filter(t => t.name and t.description)  %}
  148. \t\t\t\t<dl class=\"w-full flex-col flex gap-[10px] py-10 border-t border-sub-beige-pale\">
  149. \t\t\t\t\t<dt class=\"w-full font-medium\">
  150. \t\t\t\t\t\t<label class=\"leading-5\">{{ tradelaw.name }}</label>
  151. \t\t\t\t\t</dt>
  152. \t\t\t\t\t{% set isURL = tradelaw.name == \"URL\" %}
  153. \t\t\t\t\t<a href=\"/\" class=\"{% if isURL == true %} underline {% endif %}\">
  154. \t\t\t\t\t\t<dd class=\"w-full leading-7\">{{ tradelaw.description|raw|nl2br }}</dd>
  155. \t\t\t\t\t</a>
  156. \t\t\t\t</dl>
  157. \t\t\t{% endfor %}
  158. \t\t</div>
  159. \t</div>
  160. {% endblock %}
  161. ""Help/tradelaw.twig""/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Help/tradelaw.twig");
  162.     }
  163.     
  164.     public function checkSecurity()
  165.     {
  166.         static $tags = array("set" => 21"for" => 25"if" => 31);
  167.         static $filters = array("filter" => 25"escape" => 28"nl2br" => 32"raw" => 32);
  168.         static $functions = array("include" => 22);
  169.         try {
  170.             $this->sandbox->checkSecurity(
  171.                 ['set''for''if'],
  172.                 ['filter''escape''nl2br''raw'],
  173.                 ['include']
  174.             );
  175.         } catch (SecurityError $e) {
  176.             $e->setSourceContext($this->source);
  177.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  178.                 $e->setTemplateLine($tags[$e->getTagName()]);
  179.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  180.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  181.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  182.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  183.             }
  184.             throw $e;
  185.         }
  186.     }
  187. }