var/cache/dev/twig/8e/8e644936c638cd6f561f5ea95e23465a.php line 41

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. /* Category/2026-vday-sale.twig */
  14. class __TwigTemplate_c16041b0a662959a18fe2cc3b58b77cb 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.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 11
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Category/2026-vday-sale.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Category/2026-vday-sale.twig"));
  41.         $this->parent $this->loadTemplate("default_frame.twig""Category/2026-vday-sale.twig"11);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 13
  49.     public function block_javascript($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  56.         // line 14
  57.         echo "    <script></script>
  58. \t
  59. \t<style>
  60. \t  .bf-hero-note { font-size: 14px; line-height: 1.7; margin-top: 12px; }
  61. \t  .bf-count { font-weight: 700; font-size: 42px; letter-spacing: .04em; color:#dd0000; }
  62. \t  .bf-cta a { text-decoration: underline; }
  63. \t  .bf-subtle { font-size: 12px; color: #666; }
  64. \t  .bf-section { padding: 24px 0; text-align: center; }
  65. \t</style>
  66. ";
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.     }
  72.     // line 25
  73.     public function block_main($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  80.         // line 26
  81.         $this->loadTemplate("@CustomerReview42/Block/customer_review4_recommend_css.twig""Category/2026-vday-sale.twig"26)->display($context);
  82.         // line 27
  83.         echo "
  84. ";
  85.         // line 29
  86.         $context["tz"] = "Asia/Tokyo";
  87.         // line 31
  88.         $context["startAt"] = twig_date_format_filter($this->env"2026-02-12 11:00:00""U"$this->sandbox->ensureToStringAllowed((isset($context["tz"]) || array_key_exists("tz"$context) ? $context["tz"] : (function () { throw new RuntimeError('Variable "tz" does not exist.'31$this->source); })()), 31$this->source));
  89.         // line 32
  90.         $context["endAt"] = twig_date_format_filter($this->env"2026-02-19 18:00:00""U"$this->sandbox->ensureToStringAllowed((isset($context["tz"]) || array_key_exists("tz"$context) ? $context["tz"] : (function () { throw new RuntimeError('Variable "tz" does not exist.'32$this->source); })()), 32$this->source));
  91.         // line 33
  92.         $context["nowTs"] = twig_date_format_filter($this->env"now""U"$this->sandbox->ensureToStringAllowed((isset($context["tz"]) || array_key_exists("tz"$context) ? $context["tz"] : (function () { throw new RuntimeError('Variable "tz" does not exist.'33$this->source); })()), 33$this->source));
  93.         // line 34
  94.         echo "
  95. ";
  96.         // line 36
  97.         $context["phaseOverride"] = (((twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"truetruetrue36) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'36$this->source); })()), "request", [], "any"falsefalsetrue36), "query", [], "any"falsefalsetrue36), "get", [=> "phase"], "method"falsefalsetrue36))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'36$this->source); })()), "request", [], "any"falsefalsetrue36), "query", [], "any"falsefalsetrue36), "get", [=> "phase"], "method"falsefalsetrue36)) : (null));
  98.         // line 37
  99.         $context["phase"] = "pre";
  100.         // line 38
  101.         if ((((isset($context["nowTs"]) || array_key_exists("nowTs"$context) ? $context["nowTs"] : (function () { throw new RuntimeError('Variable "nowTs" does not exist.'38$this->source); })()) >= (isset($context["startAt"]) || array_key_exists("startAt"$context) ? $context["startAt"] : (function () { throw new RuntimeError('Variable "startAt" does not exist.'38$this->source); })())) && ((isset($context["nowTs"]) || array_key_exists("nowTs"$context) ? $context["nowTs"] : (function () { throw new RuntimeError('Variable "nowTs" does not exist.'38$this->source); })()) < (isset($context["endAt"]) || array_key_exists("endAt"$context) ? $context["endAt"] : (function () { throw new RuntimeError('Variable "endAt" does not exist.'38$this->source); })())))) {
  102.             // line 39
  103.             echo "  ";
  104.             $context["phase"] = "live";
  105.         } elseif ((        // line 40
  106. (isset($context["nowTs"]) || array_key_exists("nowTs"$context) ? $context["nowTs"] : (function () { throw new RuntimeError('Variable "nowTs" does not exist.'40$this->source); })()) >= (isset($context["endAt"]) || array_key_exists("endAt"$context) ? $context["endAt"] : (function () { throw new RuntimeError('Variable "endAt" does not exist.'40$this->source); })()))) {
  107.             // line 41
  108.             echo "  ";
  109.             $context["phase"] = "post";
  110.         }
  111.         // line 43
  112.         if (twig_in_filter((isset($context["phaseOverride"]) || array_key_exists("phaseOverride"$context) ? $context["phaseOverride"] : (function () { throw new RuntimeError('Variable "phaseOverride" does not exist.'43$this->source); })()), [=> "pre"=> "live"=> "post"])) {
  113.             // line 44
  114.             echo "  ";
  115.             $context["phase"] = (isset($context["phaseOverride"]) || array_key_exists("phaseOverride"$context) ? $context["phaseOverride"] : (function () { throw new RuntimeError('Variable "phaseOverride" does not exist.'44$this->source); })());
  116.         }
  117.         // line 46
  118.         echo "
  119. <div class=\"main-container category-page\" id=\"xmas2025\">
  120. \t<div class=\"breadcrumbs\">
  121. \t\t<div class=\"container\">
  122. \t\t\t<ul itemscope=\"\" itemtype=\"http://schema.org/BreadcrumbList\">
  123. \t\t\t\t<li class=\"home\" itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
  124. \t\t\t\t\t<a itemprop=\"item\" href=\"";
  125.         // line 52
  126.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  127.         echo "\" title=\"トップページ\"><span itemprop=\"name\" style=\"padding:0\">トップページ</span></a>
  128. \t\t\t\t\t<meta itemprop=\"position\" content=\"1\">
  129. \t\t\t\t\t<span>&gt;</span>
  130. \t\t\t\t</li>
  131. \t\t\t\t<li><strong>バレンタインセール2026</strong></li>
  132. \t\t\t</ul>
  133. \t\t</div>
  134. \t</div>
  135. \t<div class=\"col-main\">
  136. \t\t";
  137.         // line 66
  138.         echo "\t\t";
  139.         if (((isset($context["phase"]) || array_key_exists("phase"$context) ? $context["phase"] : (function () { throw new RuntimeError('Variable "phase" does not exist.'66$this->source); })()) == "pre")) {
  140.             // line 67
  141.             echo "\t\t\t<div class=\"bf-section\">
  142. \t\t\t\t<div class=\"container\">
  143. \t\t\t\t\t<p class=\"bf-hero-note\">
  144. \t\t\t\t\t\t<strong>全アネロス14%OFF。バレンタインはドライオーガズムと共に</strong>
  145. \t\t\t\t\t</p>
  146. \t\t\t\t\t<p class=\"bf-subtle\">1週間限定会員専用セール!</p>
  147. \t\t\t\t\t<div class=\"bf-count\" id=\"bf-count\" aria-live=\"polite\">--:--:--</div>
  148. \t\t\t\t</div>
  149. \t\t\t</div>
  150. \t\t\t<div class=\"container\">
  151. \t\t\t\t";
  152.             // line 79
  153.             echo "\t\t\t\t<img src=\"";
  154.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/category/2026-vday-sale/2026-vday-sale-list-pre.jpg"), "html"nulltrue);
  155.             echo "\" alt=\"バレンタインセール2026\" style=\"max-width:1000px; width:100%\">
  156. \t\t\t</div>
  157. \t\t\t";
  158.             // line 83
  159.             echo "\t\t\t<meta name=\"robots\" content=\"noindex,follow\">
  160. \t\t\t<script>
  161. \t\t\t  (function () {
  162. \t\t\t    var target = new Date(\"2026-02-12T11:00:00+09:00\").getTime();
  163. \t\t\t    var el = document.getElementById(\"bf-count\");
  164. \t\t\t    function tick() {
  165. \t\t\t      var diff = target - Date.now();
  166. \t\t\t      if (diff <= 0) {
  167. \t\t\t        el.textContent = \"00:00:00\";
  168. \t\t\t        setTimeout(function(){ location.reload(); }, 600);
  169. \t\t\t        return;
  170. \t\t\t      }
  171. \t\t\t      var h = Math.floor(diff/3600000),
  172. \t\t\t          m = Math.floor((diff%3600000)/60000),
  173. \t\t\t          s = Math.floor((diff%60000)/1000);
  174. \t\t\t      el.textContent =
  175. \t\t\t        String(h).padStart(2,'0') + \":\" +
  176. \t\t\t        String(m).padStart(2,'0') + \":\" +
  177. \t\t\t        String(s).padStart(2,'0');
  178. \t\t\t    }
  179. \t\t\t    tick(); setInterval(tick, 1000);
  180. \t\t\t  })();
  181. \t\t\t</script>
  182. \t\t";
  183.             // line 111
  184.             echo "\t\t";
  185.         } elseif (((isset($context["phase"]) || array_key_exists("phase"$context) ? $context["phase"] : (function () { throw new RuntimeError('Variable "phase" does not exist.'111$this->source); })()) == "live")) {
  186.             // line 112
  187.             echo "
  188. \t\t\t<div class=\"container\">
  189. \t\t\t\t";
  190.             // line 115
  191.             echo "\t\t\t\t<img src=\"";
  192.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/category/2026-vday-sale/2026-vday-sale-list.jpg"), "html"nulltrue);
  193.             echo "\" alt=\"バレンタインセール2026\" style=\"max-width:1000px; width:100%\">
  194. \t\t\t</div>
  195. \t\t\t
  196. \t\t\t<div class=\"category-info\" style=\"margin-top:0px\">
  197. \t\t\t\t<div class=\"container\">
  198. \t\t\t\t\t<div class=\"category-description\">
  199. \t\t\t\t\t\t<span style=\"font-weight:bold; font-size: 14px;\">対象商品:</span>
  200. \t\t\t\t\t</div>
  201. \t\t\t\t</div>
  202. \t\t\t</div>
  203. \t\t\t";
  204.             // line 125
  205.             $context["Category"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [=> 25], "method"falsefalsetrue125);
  206.             // line 126
  207.             echo "\t\t\t";
  208.             $context["Order"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Master\\ProductListOrderBy"), "find", [=> 0], "method"falsefalsetrue126);
  209.             // line 127
  210.             echo "\t\t\t";
  211.             // line 128
  212.             $context["Products"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "getQueryBuilderBySearchData", [=> ["category_id" =>             // line 129
  213. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'129$this->source); })()), "orderby" => (isset($context["Order"]) || array_key_exists("Order"$context) ? $context["Order"] : (function () { throw new RuntimeError('Variable "Order" does not exist.'129$this->source); })())]], "method"falsefalsetrue128), "getQuery", [], "method"falsefalsetrue129), "getResult", [], "method"falsefalsetrue130);
  214.             // line 133
  215.             echo "
  216. \t\t\t<div class=\"ec-shelfRole container\">
  217. \t\t\t\t<ul class=\"ec-shelfGrid flexbox\">
  218. \t\t\t\t\t";
  219.             // line 136
  220.             $context['_parent'] = $context;
  221.             $context['_seq'] = twig_ensure_traversable((isset($context["Products"]) || array_key_exists("Products"$context) ? $context["Products"] : (function () { throw new RuntimeError('Variable "Products" does not exist.'136$this->source); })()));
  222.             foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  223.                 // line 137
  224.                 echo "\t\t\t\t\t\t";
  225.                 list($context["campaignProduct"], $context["newProduct"], $context["limitedProduct"]) =                 [falsefalsefalse];
  226.                 // line 138
  227.                 echo "                        ";
  228.                 $context['_parent'] = $context;
  229.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductTag", [], "any"falsefalsetrue138));
  230.                 foreach ($context['_seq'] as $context["_key"] => $context["ProductTag"]) {
  231.                     // line 139
  232.                     echo "\t\t\t\t\t\t\t";
  233.                     if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductTag"], "Tag", [], "any"falsefalsetrue139), "id", [], "any"falsefalsetrue139) == 100)) {
  234.                         // line 140
  235.                         echo "\t\t\t\t\t\t\t\t";
  236.                         $context["campaignProduct"] = true;
  237.                         // line 141
  238.                         echo "\t\t\t\t\t\t\t";
  239.                     } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductTag"], "Tag", [], "any"falsefalsetrue141), "id", [], "any"falsefalsetrue141) == 1)) {
  240.                         // line 142
  241.                         echo "\t\t\t\t\t\t\t\t";
  242.                         $context["newProduct"] = true;
  243.                         // line 143
  244.                         echo "\t\t\t\t\t\t\t";
  245.                     } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductTag"], "Tag", [], "any"falsefalsetrue143), "id", [], "any"falsefalsetrue143) == 3)) {
  246.                         // line 144
  247.                         echo "\t\t\t\t\t\t\t\t";
  248.                         $context["limitedProduct"] = true;
  249.                         // line 145
  250.                         echo "\t\t\t\t\t\t\t";
  251.                     }
  252.                     // line 146
  253.                     echo "\t\t\t\t\t\t";
  254.                 }
  255.                 $_parent $context['_parent'];
  256.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductTag'], $context['_parent'], $context['loop']);
  257.                 $context array_intersect_key($context$_parent) + $_parent;
  258.                 // line 147
  259.                 echo "\t\t\t\t\t\t<li class=\"ec-shelfGrid__item flexbox\">
  260. \t\t\t\t\t\t\t<a href=\"";
  261.                 // line 148
  262.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue148)]), "html"nulltrue);
  263.                 echo "\">
  264. \t\t\t\t\t\t\t";
  265.                 // line 149
  266.                 if (((isset($context["campaignProduct"]) || array_key_exists("campaignProduct"$context) ? $context["campaignProduct"] : (function () { throw new RuntimeError('Variable "campaignProduct" does not exist.'149$this->source); })()) == true)) {
  267.                     // line 150
  268.                     echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image campaignProduct\">
  269. \t\t\t\t\t\t\t";
  270.                 } elseif ((                // line 151
  271. (isset($context["newProduct"]) || array_key_exists("newProduct"$context) ? $context["newProduct"] : (function () { throw new RuntimeError('Variable "newProduct" does not exist.'151$this->source); })()) == true)) {
  272.                     // line 152
  273.                     echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image newProduct\">
  274. \t\t\t\t\t\t\t";
  275.                 } elseif ((                // line 153
  276. (isset($context["limitedProduct"]) || array_key_exists("limitedProduct"$context) ? $context["limitedProduct"] : (function () { throw new RuntimeError('Variable "limitedProduct" does not exist.'153$this->source); })()) == true)) {
  277.                     // line 154
  278.                     echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image limitedProduct\">
  279. \t\t\t\t\t\t\t";
  280.                 } else {
  281.                     // line 156
  282.                     echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image\">
  283. \t\t\t\t\t\t\t";
  284.                 }
  285.                 // line 158
  286.                 echo "\t\t\t\t\t\t\t\t\t<img src=\"";
  287.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue158), 158$this->source)), "save_image"), "html"nulltrue);
  288.                 echo "\" alt=\"";
  289.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue158), 158$this->source), "html"nulltrue);
  290.                 echo "\">
  291. \t\t\t\t\t\t\t\t</p>
  292. \t\t\t\t\t\t\t\t<p>";
  293.                 // line 160
  294.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue160), 160$this->source), "html"nulltrue);
  295.                 echo "</p>
  296. \t\t\t\t\t\t\t</a>
  297. \t\t\t\t\t\t\t
  298. \t\t\t\t\t\t\t<!-- REVIEW AREA -->
  299. \t\t\t\t\t\t\t";
  300.                 // line 164
  301.                 $macros["recommend_macro"] = $this->loadTemplate("@CustomerReview42/Block/customer_review4_recommend_macro.twig""Category/2026-vday-sale.twig"164)->unwrap();
  302.                 // line 165
  303.                 echo "
  304. \t\t\t\t\t\t\t";
  305.                 // line 166
  306.                 $context["review_list"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal"), "getRecommend", [=> twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue166)], "method"falsefalsetrue166);
  307.                 // line 167
  308.                 echo "\t\t\t\t\t\t\t";
  309.                 $context["reviewer_total"] = 0;
  310.                 // line 168
  311.                 echo "\t\t\t\t\t\t\t";
  312.                 $context["review_total_point"] = 0;
  313.                 // line 169
  314.                 echo "\t\t\t\t\t\t\t";
  315.                 $context["count"] = 5;
  316.                 // line 170
  317.                 echo "\t\t\t\t\t\t\t";
  318.                 $context['_parent'] = $context;
  319.                 $context['_seq'] = twig_ensure_traversable((isset($context["review_list"]) || array_key_exists("review_list"$context) ? $context["review_list"] : (function () { throw new RuntimeError('Variable "review_list" does not exist.'170$this->source); })()));
  320.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  321.                     // line 171
  322.                     echo "\t\t\t\t\t\t\t    ";
  323.                     $context["reviewer_total"] = ((isset($context["reviewer_total"]) || array_key_exists("reviewer_total"$context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.'171$this->source); })()) + $context["i"]);
  324.                     // line 172
  325.                     echo "\t\t\t\t\t\t\t    ";
  326.                     $context["review_total_point"] = ((isset($context["review_total_point"]) || array_key_exists("review_total_point"$context) ? $context["review_total_point"] : (function () { throw new RuntimeError('Variable "review_total_point" does not exist.'172$this->source); })()) + ($context["i"] * (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'172$this->source); })())));
  327.                     // line 173
  328.                     echo "\t\t\t\t\t\t\t    ";
  329.                     $context["count"] = ((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'173$this->source); })()) - 1);
  330.                     // line 174
  331.                     echo "\t\t\t\t\t\t\t";
  332.                 }
  333.                 $_parent $context['_parent'];
  334.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  335.                 $context array_intersect_key($context$_parent) + $_parent;
  336.                 // line 175
  337.                 echo "\t\t\t\t\t\t\t";
  338.                 $context["review_point"] = ((((isset($context["reviewer_total"]) || array_key_exists("reviewer_total"$context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.'175$this->source); })()) == 0)) ? (0) : (((isset($context["review_total_point"]) || array_key_exists("review_total_point"$context) ? $context["review_total_point"] : (function () { throw new RuntimeError('Variable "review_total_point" does not exist.'175$this->source); })()) / (isset($context["reviewer_total"]) || array_key_exists("reviewer_total"$context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.'175$this->source); })()))));
  339.                 // line 176
  340.                 echo "\t\t\t\t\t\t\t
  341. \t\t\t\t\t\t\t";
  342.                 // line 177
  343.                 if ((< (isset($context["reviewer_total"]) || array_key_exists("reviewer_total"$context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.'177$this->source); })()))) {
  344.                     // line 178
  345.                     echo "\t\t\t\t\t\t\t\t<div id=\"plg_customer_review";
  346.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue178), 178$this->source), "html"nulltrue);
  347.                     echo "\" class=\"review-layoutRole product_list\">
  348. \t\t\t\t\t\t\t\t\t<h3 class=\"review_score\" data-id=\"";
  349.                     // line 179
  350.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue179), 179$this->source), "html"nulltrue);
  351.                     echo "\" data-avg=\"";
  352.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["review_point"]) || array_key_exists("review_point"$context) ? $context["review_point"] : (function () { throw new RuntimeError('Variable "review_point" does not exist.'179$this->source); })()), 179$this->source), "html"nulltrue);
  353.                     echo "\" data-num=\"";
  354.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["reviewer_total"]) || array_key_exists("reviewer_total"$context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.'179$this->source); })()), 179$this->source), "html"nulltrue);
  355.                     echo "\" data-starsize=\"22\" data-mstarsize=\"14\" data-imgbase=\"";
  356.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/products/"), "html"nulltrue);
  357.                     echo "\">
  358. \t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_title\"></span>
  359. \t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_image\" style=\"display: inline-block\"></span>
  360. \t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score\"><a href=\"";
  361.                     // line 182
  362.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue182)]), "html"nulltrue);
  363.                     echo "#review_area\"></a></span>
  364. \t\t\t\t\t\t\t\t\t</h3>
  365. \t\t\t\t\t\t\t\t</div>
  366. \t\t\t\t\t\t\t";
  367.                 }
  368.                 // line 186
  369.                 echo "\t\t\t\t\t\t\t
  370. \t\t\t\t\t\t\t<script>
  371. \t\t\t\t\t\t\t  \$(function () {
  372. \t\t\t\t\t\t\t    if ( \$('#plg_customer_review_anchor";
  373.                 // line 189
  374.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue189), 189$this->source), "html"nulltrue);
  375.                 echo "').length) {
  376. \t\t\t\t\t\t\t        \$('#plg_customer_review";
  377.                 // line 190
  378.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue190), 190$this->source), "html"nulltrue);
  379.                 echo "').insertAfter(\$('#plg_customer_review_anchor";
  380.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue190), 190$this->source), "html"nulltrue);
  381.                 echo "'));
  382. \t\t\t\t\t\t\t    } else if ( \$('#productForm";
  383.                 // line 191
  384.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue191), 191$this->source), "html"nulltrue);
  385.                 echo "').length) {
  386. \t\t\t\t\t\t\t        \$('#plg_customer_review";
  387.                 // line 192
  388.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue192), 192$this->source), "html"nulltrue);
  389.                 echo "').insertBefore(\$('#productForm";
  390.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue192), 192$this->source), "html"nulltrue);
  391.                 echo "'));
  392. \t\t\t\t\t\t\t    } else {
  393. \t\t\t\t\t\t\t        \$('#plg_customer_review";
  394.                 // line 194
  395.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue194), 194$this->source), "html"nulltrue);
  396.                 echo "').hide();
  397. \t\t\t\t\t\t\t    }
  398. \t\t\t\t\t\t\t  });
  399. \t\t\t\t\t\t\t</script>
  400. \t\t\t\t\t\t\t<!-- REVIEW AREA END -->\t
  401. \t\t\t\t\t\t\t
  402. \t\t\t\t\t\t\t<div class=\"bottom-box flexbox\" id=\"productForm";
  403.                 // line 200
  404.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue200), 200$this->source), "html"nulltrue);
  405.                 echo "\">
  406. \t\t\t\t\t\t\t
  407. \t\t\t\t\t\t\t\t<div class=\"price-box\">
  408. \t\t\t\t\t\t\t\t\t<span class=\"price\">
  409. \t\t\t\t\t\t\t\t\t\t<div class=\"normal_price\" id=\"product-normal-price-";
  410.                 // line 204
  411.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue204), 204$this->source), "html"nulltrue);
  412.                 echo "\">
  413. \t\t\t\t\t\t\t\t\t\t\t";
  414.                 // line 205
  415.                 if (( !(null === twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Min", [], "any"falsefalsetrue205)) && (twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsetrue205) != 0))) {
  416.                     // line 206
  417.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  418.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue206)) {
  419.                         // line 207
  420.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  421.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Min", [], "any"falsefalsetrue207) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Max", [], "any"falsefalsetrue207))) {
  422.                             // line 208
  423.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
  424.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsetrue208), 208$this->source)), "html"nulltrue);
  425.                             echo "<span class=\"inctax\"> (税込)</span></span>
  426. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  427.                         } else {
  428.                             // line 210
  429.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
  430.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsetrue210), 210$this->source)), "html"nulltrue);
  431.                             echo "<!-- ~ ";
  432.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMax", [], "any"falsefalsetrue210), 210$this->source)), "html"nulltrue);
  433.                             echo "--><span class=\"inctax\"> (税込)</span></span>
  434. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  435.                         }
  436.                         // line 212
  437.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  438.                     } else {
  439.                         // line 213
  440.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
  441.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsetrue213), 213$this->source)), "html"nulltrue);
  442.                         echo "<span class=\"inctax\"> (税込)</span></span>
  443. \t\t\t\t\t\t\t\t\t\t\t\t";
  444.                     }
  445.                     // line 215
  446.                     echo "\t\t\t\t\t\t\t\t\t\t\t";
  447.                 }
  448.                 // line 216
  449.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t</div>
  450. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sale_price\" id=\"product-price-";
  451.                 // line 217
  452.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue217), 217$this->source), "html"nulltrue);
  453.                 echo "\">
  454. \t\t\t\t\t\t\t\t\t\t\t";
  455.                 // line 218
  456.                 if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue218)) {
  457.                     // line 219
  458.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  459.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue219) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue219))) {
  460.                         // line 220
  461.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
  462.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue220), 220$this->source)), "html"nulltrue);
  463.                         echo "<span class=\"inctax\"> (税込)</span></span>
  464. \t\t\t\t\t\t\t\t\t\t\t\t";
  465.                     } else {
  466.                         // line 222
  467.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
  468.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue222), 222$this->source)), "html"nulltrue);
  469.                         echo "<!-- ~ ";
  470.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue222), 222$this->source)), "html"nulltrue);
  471.                         echo "--><span class=\"inctax\"> (税込)</span></span>
  472. \t\t\t\t\t\t\t\t\t\t\t\t";
  473.                     }
  474.                     // line 224
  475.                     echo "\t\t\t\t\t\t\t\t\t\t\t";
  476.                 } else {
  477.                     // line 225
  478.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
  479.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue225), 225$this->source)), "html"nulltrue);
  480.                     echo "<span class=\"inctax\"> (税込)</span></span>
  481. \t\t\t\t\t\t\t\t\t\t\t";
  482.                 }
  483.                 // line 227
  484.                 echo "\t\t\t\t\t\t\t\t\t\t</div>
  485. \t\t\t\t\t\t\t\t\t</span>
  486. \t\t\t\t\t\t\t\t</div>
  487. \t\t\t\t\t\t\t\t<div class=\"actions\">
  488. \t\t\t\t\t\t\t\t";
  489.                 // line 231
  490.                 if (twig_get_attribute($this->env$this->source$context["Product"], "stock_find", [], "any"falsefalsetrue231)) {
  491.                     // line 232
  492.                     echo "\t\t\t\t\t\t\t\t\t";
  493.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue232)) {
  494.                         // line 233
  495.                         echo "\t\t\t\t\t\t\t\t\t\t<a class=\"button btn-cart learn-more\" title=\"商品詳細\" href=\"";
  496.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue233)]), "html"nulltrue);
  497.                         echo "\">
  498. \t\t\t\t\t\t\t\t\t\t\t<span>
  499. \t\t\t\t\t\t\t\t\t\t\t\t<span>商品詳細</span>
  500. \t\t\t\t\t\t\t\t\t\t\t</span>
  501. \t\t\t\t\t\t\t\t\t\t</a>
  502. \t\t\t\t\t\t\t\t\t";
  503.                     } else {
  504.                         // line 239
  505.                         echo "\t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"カゴに入れる\" class=\"button btn-cart one-click-add-cart\" 
  506. \t\t\t\t\t\t\t\t\t\tdata-action=\"";
  507.                         // line 240
  508.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue240)]), "html"nulltrue);
  509.                         echo "\" 
  510. \t\t\t\t\t\t\t\t\t\tdata-product_id=\"";
  511.                         // line 241
  512.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue241), 241$this->source), "html"nulltrue);
  513.                         echo "\" data-product_name=\"";
  514.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue241), 241$this->source), "html"nulltrue);
  515.                         echo "\"  data-product_img=\"";
  516.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue241), 241$this->source)), "save_image"), "html"nulltrue);
  517.                         echo "\"
  518. \t\t\t\t\t\t\t\t\t\tdata-product_class=\"";
  519.                         // line 242
  520.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Product"], "ProductClasses", [], "any"falsefalsetrue242), 0, [], "array"falsefalsetrue242), "id", [], "any"falsefalsetrue242), 242$this->source), "html"nulltrue);
  521.                         echo "\" 
  522. \t\t\t\t\t\t\t\t\t\tdata-token=\"";
  523.                         // line 243
  524.                         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("Eccube\\Form\\Type\\AddCartType"), "html"nulltrue);
  525.                         echo "\">
  526. \t\t\t\t\t\t\t\t\t\t\t<span>カゴに入れる</span>
  527. \t\t\t\t\t\t\t\t\t\t</button>
  528. \t\t\t\t\t\t\t\t\t";
  529.                     }
  530.                     // line 247
  531.                     echo "\t\t\t\t\t\t\t\t";
  532.                 } else {
  533.                     // line 248
  534.                     echo "\t\t\t\t\t\t\t\t\t";
  535.                     $context["arrivemail"] = true;
  536.                     // line 249
  537.                     echo "\t\t\t\t\t\t\t\t\t";
  538.                     $context['_parent'] = $context;
  539.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductTag", [], "any"falsefalsetrue249));
  540.                     foreach ($context['_seq'] as $context["_key"] => $context["ProductTag"]) {
  541.                         // line 250
  542.                         echo "\t\t\t\t\t\t\t\t\t\t";
  543.                         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductTag"], "Tag", [], "any"falsefalsetrue250), "id", [], "any"falsefalsetrue250) == 99)) {
  544.                             // line 251
  545.                             echo "\t\t\t\t\t\t\t\t\t\t\t";
  546.                             $context["arrivemail"] = false;
  547.                             // line 252
  548.                             echo "\t\t\t\t\t\t\t\t\t\t";
  549.                         }
  550.                         // line 253
  551.                         echo "\t\t\t\t\t\t\t\t\t";
  552.                     }
  553.                     $_parent $context['_parent'];
  554.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductTag'], $context['_parent'], $context['loop']);
  555.                     $context array_intersect_key($context$_parent) + $_parent;
  556.                     // line 254
  557.                     echo "\t\t\t\t\t\t\t\t\t
  558. \t\t\t\t\t\t\t\t\t";
  559.                     // line 255
  560.                     if ((isset($context["arrivemail"]) || array_key_exists("arrivemail"$context) ? $context["arrivemail"] : (function () { throw new RuntimeError('Variable "arrivemail" does not exist.'255$this->source); })())) {
  561.                         // line 256
  562.                         echo "\t\t\t\t\t\t\t\t\t\t<button type=\"button\" data-productid=\"";
  563.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue256), 256$this->source), "html"nulltrue);
  564.                         echo "\" data-productname=\"";
  565.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue256), 256$this->source), "html"nulltrue);
  566.                         echo "\" title=\"入荷お知らせ\" class=\"button btn-cart add-to-mail\">
  567. \t\t\t\t\t\t\t\t\t\t\t<span>入荷お知らせ</span>
  568. \t\t\t\t\t\t\t\t\t\t</button>
  569. \t\t\t\t\t\t\t\t\t";
  570.                     } else {
  571.                         // line 260
  572.                         echo "\t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"在庫切れ\" class=\"button btn-cart add-to-cart-out\">
  573. \t\t\t\t\t\t\t\t\t\t\t<span>在庫切れ</span>
  574. \t\t\t\t\t\t\t\t\t\t</button>
  575. \t\t\t\t\t\t\t\t\t";
  576.                     }
  577.                     // line 264
  578.                     echo "\t\t\t\t\t\t\t\t";
  579.                 }
  580.                 // line 265
  581.                 echo "\t\t\t\t\t\t\t\t</div>
  582. \t\t\t\t\t\t\t</div>
  583. \t\t\t\t\t\t</li>
  584. \t\t\t\t\t";
  585.             }
  586.             $_parent $context['_parent'];
  587.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  588.             $context array_intersect_key($context$_parent) + $_parent;
  589.             // line 269
  590.             echo "\t\t\t\t</ul>
  591. \t\t\t</div>
  592. ";
  593.             // line 278
  594.             echo "
  595. \t\t";
  596.             // line 282
  597.             echo "\t\t";
  598.         } else {
  599.             // line 283
  600.             echo "\t\t\t<div class=\"container\">
  601. \t\t\t\t";
  602.             // line 285
  603.             echo "\t\t\t\t<img src=\"";
  604.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/category/2026-vday-sale/2026-vday-sale-list-post.jpg"), "html"nulltrue);
  605.             echo "\" alt=\"バレンタインセール2026にご参加ありがとうございます\" style=\"max-width:1000px; width:100%\">
  606. \t\t\t</div>
  607. \t\t\t<div class=\"bf-section\">
  608. \t\t\t\t<div class=\"container\">
  609. \t\t\t\t\t<p><strong>バレンタインセール2026は終了いたしました。たくさんのご参加、ありがとうございました。</strong></p>
  610. \t\t\t\t\t<p class=\"bf-hero-note\">次回の先行案内や会員限定情報をご希望の方は、<a href=\"";
  611.             // line 291
  612.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  613.             echo "\">会員登録</a>をご利用ください。</p>
  614. \t\t\t\t</div>
  615. \t\t\t</div>
  616. \t\t";
  617.         }
  618.         // line 295
  619.         echo "
  620. \t</div>
  621. \t";
  622.         // line 298
  623.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/add_to_cart.twig");
  624.         echo "
  625.     <div class=\"swooth-wrapper grey-swooth\"></div>
  626. </div>
  627. ";
  628.         
  629.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  630.         
  631.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  632.     }
  633.     public function getTemplateName()
  634.     {
  635.         return "Category/2026-vday-sale.twig";
  636.     }
  637.     public function isTraitable()
  638.     {
  639.         return false;
  640.     }
  641.     public function getDebugInfo()
  642.     {
  643.         return array (  651 => 298,  646 => 295,  639 => 291,  629 => 285,  626 => 283,  623 => 282,  620 => 278,  615 => 269,  606 => 265,  603 => 264,  597 => 260,  587 => 256,  585 => 255,  582 => 254,  576 => 253,  573 => 252,  570 => 251,  567 => 250,  562 => 249,  559 => 248,  556 => 247,  549 => 243,  545 => 242,  537 => 241,  533 => 240,  530 => 239,  520 => 233,  517 => 232,  515 => 231,  509 => 227,  503 => 225,  500 => 224,  492 => 222,  486 => 220,  483 => 219,  481 => 218,  477 => 217,  474 => 216,  471 => 215,  465 => 213,  462 => 212,  454 => 210,  448 => 208,  445 => 207,  442 => 206,  440 => 205,  436 => 204,  429 => 200,  420 => 194,  413 => 192,  409 => 191,  403 => 190,  399 => 189,  394 => 186,  387 => 182,  375 => 179,  370 => 178,  368 => 177,  365 => 176,  362 => 175,  356 => 174,  353 => 173,  350 => 172,  347 => 171,  342 => 170,  339 => 169,  336 => 168,  333 => 167,  331 => 166,  328 => 165,  326 => 164,  319 => 160,  311 => 158,  307 => 156,  303 => 154,  301 => 153,  298 => 152,  296 => 151,  293 => 150,  291 => 149,  287 => 148,  284 => 147,  278 => 146,  275 => 145,  272 => 144,  269 => 143,  266 => 142,  263 => 141,  260 => 140,  257 => 139,  252 => 138,  249 => 137,  245 => 136,  240 => 133,  238 => 129,  237 => 128,  235 => 127,  232 => 126,  230 => 125,  216 => 115,  212 => 112,  209 => 111,  182 => 83,  175 => 79,  162 => 67,  159 => 66,  145 => 52,  137 => 46,  133 => 44,  131 => 43,  127 => 41,  125 => 40,  122 => 39,  120 => 38,  118 => 37,  116 => 36,  113 => 34,  111 => 33,  109 => 32,  107 => 31,  105 => 29,  102 => 27,  100 => 26,  90 => 25,  71 => 14,  61 => 13,  38 => 11,);
  644.     }
  645.     public function getSourceContext()
  646.     {
  647.         return new Source("{#
  648. This file is part of EC-CUBE
  649. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  650. http://www.ec-cube.co.jp/
  651. For the full copyright and license information, please view the LICENSE
  652. file that was distributed with this source code.
  653. #}
  654. {% extends 'default_frame.twig' %}
  655. {% block javascript %}
  656.     <script></script>
  657. \t
  658. \t<style>
  659. \t  .bf-hero-note { font-size: 14px; line-height: 1.7; margin-top: 12px; }
  660. \t  .bf-count { font-weight: 700; font-size: 42px; letter-spacing: .04em; color:#dd0000; }
  661. \t  .bf-cta a { text-decoration: underline; }
  662. \t  .bf-subtle { font-size: 12px; color: #666; }
  663. \t  .bf-section { padding: 24px 0; text-align: center; }
  664. \t</style>
  665. {% endblock %}
  666. {% block main %}
  667. {% include('@CustomerReview42/Block/customer_review4_recommend_css.twig') %}
  668. {# ==== Phase gating (JST) ==== #}
  669. {% set tz = 'Asia/Tokyo' %}
  670. {# 開始/終了の日時はここだけで管理 #}
  671. {% set startAt = \"2026-02-12 11:00:00\"|date(\"U\", tz) %}
  672. {% set endAt   = \"2026-02-19 18:00:00\"|date(\"U\", tz) %}
  673. {% set nowTs   = \"now\"|date(\"U\", tz) %}
  674. {# プレビュー強制切替(?phase=pre|live|post) #}
  675. {% set phaseOverride = app.request is defined and app.request.query.get('phase') ? app.request.query.get('phase') : null %}
  676. {% set phase = 'pre' %}
  677. {% if nowTs >= startAt and nowTs < endAt %}
  678.   {% set phase = 'live' %}
  679. {% elseif nowTs >= endAt %}
  680.   {% set phase = 'post' %}
  681. {% endif %}
  682. {% if phaseOverride in ['pre','live','post'] %}
  683.   {% set phase = phaseOverride %}
  684. {% endif %}
  685. <div class=\"main-container category-page\" id=\"xmas2025\">
  686. \t<div class=\"breadcrumbs\">
  687. \t\t<div class=\"container\">
  688. \t\t\t<ul itemscope=\"\" itemtype=\"http://schema.org/BreadcrumbList\">
  689. \t\t\t\t<li class=\"home\" itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
  690. \t\t\t\t\t<a itemprop=\"item\" href=\"{{ url('homepage') }}\" title=\"トップページ\"><span itemprop=\"name\" style=\"padding:0\">トップページ</span></a>
  691. \t\t\t\t\t<meta itemprop=\"position\" content=\"1\">
  692. \t\t\t\t\t<span>&gt;</span>
  693. \t\t\t\t</li>
  694. \t\t\t\t<li><strong>バレンタインセール2026</strong></li>
  695. \t\t\t</ul>
  696. \t\t</div>
  697. \t</div>
  698. \t<div class=\"col-main\">
  699. \t\t{# =========================
  700. \t\t   PRE (開始前)
  701. \t\t   ========================= #}
  702. \t\t{% if phase == 'pre' %}
  703. \t\t\t<div class=\"bf-section\">
  704. \t\t\t\t<div class=\"container\">
  705. \t\t\t\t\t<p class=\"bf-hero-note\">
  706. \t\t\t\t\t\t<strong>全アネロス14%OFF。バレンタインはドライオーガズムと共に</strong>
  707. \t\t\t\t\t</p>
  708. \t\t\t\t\t<p class=\"bf-subtle\">1週間限定会員専用セール!</p>
  709. \t\t\t\t\t<div class=\"bf-count\" id=\"bf-count\" aria-live=\"polite\">--:--:--</div>
  710. \t\t\t\t</div>
  711. \t\t\t</div>
  712. \t\t\t<div class=\"container\">
  713. \t\t\t\t{#<h1 class=\"category-title\">バレンタインセール2026</h1>#}
  714. \t\t\t\t<img src=\"{{ asset('aneros/img/category/2026-vday-sale/2026-vday-sale-list-pre.jpg') }}\" alt=\"バレンタインセール2026\" style=\"max-width:1000px; width:100%\">
  715. \t\t\t</div>
  716. \t\t\t{# 予告期間はインデックスさせない場合 #}
  717. \t\t\t<meta name=\"robots\" content=\"noindex,follow\">
  718. \t\t\t<script>
  719. \t\t\t  (function () {
  720. \t\t\t    var target = new Date(\"2026-02-12T11:00:00+09:00\").getTime();
  721. \t\t\t    var el = document.getElementById(\"bf-count\");
  722. \t\t\t    function tick() {
  723. \t\t\t      var diff = target - Date.now();
  724. \t\t\t      if (diff <= 0) {
  725. \t\t\t        el.textContent = \"00:00:00\";
  726. \t\t\t        setTimeout(function(){ location.reload(); }, 600);
  727. \t\t\t        return;
  728. \t\t\t      }
  729. \t\t\t      var h = Math.floor(diff/3600000),
  730. \t\t\t          m = Math.floor((diff%3600000)/60000),
  731. \t\t\t          s = Math.floor((diff%60000)/1000);
  732. \t\t\t      el.textContent =
  733. \t\t\t        String(h).padStart(2,'0') + \":\" +
  734. \t\t\t        String(m).padStart(2,'0') + \":\" +
  735. \t\t\t        String(s).padStart(2,'0');
  736. \t\t\t    }
  737. \t\t\t    tick(); setInterval(tick, 1000);
  738. \t\t\t  })();
  739. \t\t\t</script>
  740. \t\t{# =========================
  741. \t\t   LIVE
  742. \t\t   ========================= #}
  743. \t\t{% elseif phase == 'live' %}
  744. \t\t\t<div class=\"container\">
  745. \t\t\t\t{#<h1 class=\"category-title\">バレンタインセール2026</h1>#}
  746. \t\t\t\t<img src=\"{{ asset('aneros/img/category/2026-vday-sale/2026-vday-sale-list.jpg') }}\" alt=\"バレンタインセール2026\" style=\"max-width:1000px; width:100%\">
  747. \t\t\t</div>
  748. \t\t\t
  749. \t\t\t<div class=\"category-info\" style=\"margin-top:0px\">
  750. \t\t\t\t<div class=\"container\">
  751. \t\t\t\t\t<div class=\"category-description\">
  752. \t\t\t\t\t\t<span style=\"font-weight:bold; font-size: 14px;\">対象商品:</span>
  753. \t\t\t\t\t</div>
  754. \t\t\t\t</div>
  755. \t\t\t</div>
  756. \t\t\t{% set Category = repository(\"Eccube\\\\Entity\\\\Category\").find(25) %}
  757. \t\t\t{% set Order = repository(\"Eccube\\\\Entity\\\\Master\\\\ProductListOrderBy\").find(0) %}
  758. \t\t\t{% 
  759. \t\t\t\tset Products = repository('Eccube\\\\Entity\\\\Product')
  760. \t\t\t\t.getQueryBuilderBySearchData({'category_id':Category, 'orderby':Order})
  761. \t\t\t\t.getQuery()
  762. \t\t\t\t.getResult()
  763. \t\t\t%}
  764. \t\t\t<div class=\"ec-shelfRole container\">
  765. \t\t\t\t<ul class=\"ec-shelfGrid flexbox\">
  766. \t\t\t\t\t{% for Product in Products %}
  767. \t\t\t\t\t\t{% set campaignProduct, newProduct, limitedProduct = false, false, false %}
  768.                         {% for ProductTag in Product.ProductTag %}
  769. \t\t\t\t\t\t\t{% if ProductTag.Tag.id == 100 %}
  770. \t\t\t\t\t\t\t\t{% set campaignProduct = true %}
  771. \t\t\t\t\t\t\t{% elseif ProductTag.Tag.id == 1 %}
  772. \t\t\t\t\t\t\t\t{% set newProduct = true %}
  773. \t\t\t\t\t\t\t{% elseif ProductTag.Tag.id == 3 %}
  774. \t\t\t\t\t\t\t\t{% set limitedProduct = true %}
  775. \t\t\t\t\t\t\t{% endif %}
  776. \t\t\t\t\t\t{% endfor %}
  777. \t\t\t\t\t\t<li class=\"ec-shelfGrid__item flexbox\">
  778. \t\t\t\t\t\t\t<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  779. \t\t\t\t\t\t\t{% if campaignProduct == true %}
  780. \t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image campaignProduct\">
  781. \t\t\t\t\t\t\t{% elseif newProduct == true %}
  782. \t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image newProduct\">
  783. \t\t\t\t\t\t\t{% elseif limitedProduct == true %}
  784. \t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image limitedProduct\">
  785. \t\t\t\t\t\t\t{% else %}
  786. \t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image\">
  787. \t\t\t\t\t\t\t{% endif %}
  788. \t\t\t\t\t\t\t\t\t<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\">
  789. \t\t\t\t\t\t\t\t</p>
  790. \t\t\t\t\t\t\t\t<p>{{ Product.name }}</p>
  791. \t\t\t\t\t\t\t</a>
  792. \t\t\t\t\t\t\t
  793. \t\t\t\t\t\t\t<!-- REVIEW AREA -->
  794. \t\t\t\t\t\t\t{% import('@CustomerReview42/Block/customer_review4_recommend_macro.twig') as recommend_macro %}
  795. \t\t\t\t\t\t\t{% set review_list = repository('Plugin\\\\CustomerReview42\\\\Entity\\\\CustomerReviewTotal').getRecommend(Product.id) %}
  796. \t\t\t\t\t\t\t{% set reviewer_total = 0 %}
  797. \t\t\t\t\t\t\t{% set review_total_point = 0 %}
  798. \t\t\t\t\t\t\t{% set count = 5 %}
  799. \t\t\t\t\t\t\t{% for i in review_list %}
  800. \t\t\t\t\t\t\t    {% set reviewer_total = reviewer_total + i %}
  801. \t\t\t\t\t\t\t    {% set review_total_point = review_total_point + i * count %}
  802. \t\t\t\t\t\t\t    {% set count = count - 1 %}
  803. \t\t\t\t\t\t\t{% endfor %}
  804. \t\t\t\t\t\t\t{% set review_point = reviewer_total == 0 ? 0  : (review_total_point / reviewer_total) %}
  805. \t\t\t\t\t\t\t
  806. \t\t\t\t\t\t\t{% if 0 < reviewer_total %}
  807. \t\t\t\t\t\t\t\t<div id=\"plg_customer_review{{Product.id}}\" class=\"review-layoutRole product_list\">
  808. \t\t\t\t\t\t\t\t\t<h3 class=\"review_score\" data-id=\"{{ Product.id }}\" data-avg=\"{{ review_point }}\" data-num=\"{{ reviewer_total }}\" data-starsize=\"22\" data-mstarsize=\"14\" data-imgbase=\"{{ asset('aneros/img/products/') }}\">
  809. \t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_title\"></span>
  810. \t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_image\" style=\"display: inline-block\"></span>
  811. \t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score\"><a href=\"{{ url('product_detail', {'id': Product.id}) }}#review_area\"></a></span>
  812. \t\t\t\t\t\t\t\t\t</h3>
  813. \t\t\t\t\t\t\t\t</div>
  814. \t\t\t\t\t\t\t{% endif %}
  815. \t\t\t\t\t\t\t
  816. \t\t\t\t\t\t\t<script>
  817. \t\t\t\t\t\t\t  \$(function () {
  818. \t\t\t\t\t\t\t    if ( \$('#plg_customer_review_anchor{{Product.id}}').length) {
  819. \t\t\t\t\t\t\t        \$('#plg_customer_review{{Product.id}}').insertAfter(\$('#plg_customer_review_anchor{{Product.id}}'));
  820. \t\t\t\t\t\t\t    } else if ( \$('#productForm{{Product.id}}').length) {
  821. \t\t\t\t\t\t\t        \$('#plg_customer_review{{Product.id}}').insertBefore(\$('#productForm{{Product.id}}'));
  822. \t\t\t\t\t\t\t    } else {
  823. \t\t\t\t\t\t\t        \$('#plg_customer_review{{Product.id}}').hide();
  824. \t\t\t\t\t\t\t    }
  825. \t\t\t\t\t\t\t  });
  826. \t\t\t\t\t\t\t</script>
  827. \t\t\t\t\t\t\t<!-- REVIEW AREA END -->\t
  828. \t\t\t\t\t\t\t
  829. \t\t\t\t\t\t\t<div class=\"bottom-box flexbox\" id=\"productForm{{ Product.id }}\">
  830. \t\t\t\t\t\t\t
  831. \t\t\t\t\t\t\t\t<div class=\"price-box\">
  832. \t\t\t\t\t\t\t\t\t<span class=\"price\">
  833. \t\t\t\t\t\t\t\t\t\t<div class=\"normal_price\" id=\"product-normal-price-{{ Product.id }}\">
  834. \t\t\t\t\t\t\t\t\t\t\t{% if  Product.getPrice01Min is not null and Product.getPrice01IncTaxMin != 0 %}
  835. \t\t\t\t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
  836. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if Product.getPrice01Min == Product.getPrice01Max %}
  837. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice01IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
  838. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  839. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice01IncTaxMin|price }}<!-- ~ {{ Product.getPrice01IncTaxMax|price }}--><span class=\"inctax\"> (税込)</span></span>
  840. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  841. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  842. \t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice01IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
  843. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  844. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  845. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  846. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sale_price\" id=\"product-price-{{ Product.id }}\">
  847. \t\t\t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
  848. \t\t\t\t\t\t\t\t\t\t\t\t{% if Product.getPrice02Min == Product.getPrice02Max %}
  849. \t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice02IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
  850. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  851. \t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice02IncTaxMin|price }}<!-- ~ {{ Product.getPrice02IncTaxMax|price }}--><span class=\"inctax\"> (税込)</span></span>
  852. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  853. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  854. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice02IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
  855. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  856. \t\t\t\t\t\t\t\t\t\t</div>
  857. \t\t\t\t\t\t\t\t\t</span>
  858. \t\t\t\t\t\t\t\t</div>
  859. \t\t\t\t\t\t\t\t<div class=\"actions\">
  860. \t\t\t\t\t\t\t\t{% if Product.stock_find %}
  861. \t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
  862. \t\t\t\t\t\t\t\t\t\t<a class=\"button btn-cart learn-more\" title=\"商品詳細\" href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  863. \t\t\t\t\t\t\t\t\t\t\t<span>
  864. \t\t\t\t\t\t\t\t\t\t\t\t<span>商品詳細</span>
  865. \t\t\t\t\t\t\t\t\t\t\t</span>
  866. \t\t\t\t\t\t\t\t\t\t</a>
  867. \t\t\t\t\t\t\t\t\t{% else %}
  868. \t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"カゴに入れる\" class=\"button btn-cart one-click-add-cart\" 
  869. \t\t\t\t\t\t\t\t\t\tdata-action=\"{{ url('product_add_cart', {id:Product.id}) }}\" 
  870. \t\t\t\t\t\t\t\t\t\tdata-product_id=\"{{ Product.id }}\" data-product_name=\"{{ Product.name }}\"  data-product_img=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\"
  871. \t\t\t\t\t\t\t\t\t\tdata-product_class=\"{{ Product.ProductClasses[0].id }}\" 
  872. \t\t\t\t\t\t\t\t\t\tdata-token=\"{{ csrf_token('Eccube\\\\Form\\\\Type\\\\AddCartType') }}\">
  873. \t\t\t\t\t\t\t\t\t\t\t<span>カゴに入れる</span>
  874. \t\t\t\t\t\t\t\t\t\t</button>
  875. \t\t\t\t\t\t\t\t\t{% endif %}
  876. \t\t\t\t\t\t\t\t{% else %}
  877. \t\t\t\t\t\t\t\t\t{% set arrivemail = true %}
  878. \t\t\t\t\t\t\t\t\t{% for ProductTag in Product.ProductTag %}
  879. \t\t\t\t\t\t\t\t\t\t{% if ProductTag.Tag.id == 99 %}
  880. \t\t\t\t\t\t\t\t\t\t\t{% set arrivemail = false %}
  881. \t\t\t\t\t\t\t\t\t\t{% endif %}
  882. \t\t\t\t\t\t\t\t\t{% endfor %}
  883. \t\t\t\t\t\t\t\t\t
  884. \t\t\t\t\t\t\t\t\t{% if arrivemail %}
  885. \t\t\t\t\t\t\t\t\t\t<button type=\"button\" data-productid=\"{{ Product.id }}\" data-productname=\"{{ Product.name }}\" title=\"入荷お知らせ\" class=\"button btn-cart add-to-mail\">
  886. \t\t\t\t\t\t\t\t\t\t\t<span>入荷お知らせ</span>
  887. \t\t\t\t\t\t\t\t\t\t</button>
  888. \t\t\t\t\t\t\t\t\t{% else %}
  889. \t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"在庫切れ\" class=\"button btn-cart add-to-cart-out\">
  890. \t\t\t\t\t\t\t\t\t\t\t<span>在庫切れ</span>
  891. \t\t\t\t\t\t\t\t\t\t</button>
  892. \t\t\t\t\t\t\t\t\t{% endif %}
  893. \t\t\t\t\t\t\t\t{% endif %}
  894. \t\t\t\t\t\t\t\t</div>
  895. \t\t\t\t\t\t\t</div>
  896. \t\t\t\t\t\t</li>
  897. \t\t\t\t\t{% endfor %}
  898. \t\t\t\t</ul>
  899. \t\t\t</div>
  900. {#
  901. \t\t\t<div class=\"container\">
  902. \t\t\t\t<p><b>ヒリックスシンVも14%OFF</b></p>
  903. \t\t\t\t<img src=\"{{ asset('aneros/img/category/2026-vday-sale/2026-vday-sale-hsv.jpg') }}\" alt=\"ヒリックスシンVも14%OFF\" style=\"max-width:1000px; width:100%\">
  904. \t\t\t</div>
  905. #}
  906. \t\t{# =========================
  907. \t\t   POST (終了後)
  908. \t\t   ========================= #}
  909. \t\t{% else %}
  910. \t\t\t<div class=\"container\">
  911. \t\t\t\t{#<h1 class=\"category-title\">バレンタインセール2026</h1>#}
  912. \t\t\t\t<img src=\"{{ asset('aneros/img/category/2026-vday-sale/2026-vday-sale-list-post.jpg') }}\" alt=\"バレンタインセール2026にご参加ありがとうございます\" style=\"max-width:1000px; width:100%\">
  913. \t\t\t</div>
  914. \t\t\t<div class=\"bf-section\">
  915. \t\t\t\t<div class=\"container\">
  916. \t\t\t\t\t<p><strong>バレンタインセール2026は終了いたしました。たくさんのご参加、ありがとうございました。</strong></p>
  917. \t\t\t\t\t<p class=\"bf-hero-note\">次回の先行案内や会員限定情報をご希望の方は、<a href=\"{{ url('entry') }}\">会員登録</a>をご利用ください。</p>
  918. \t\t\t\t</div>
  919. \t\t\t</div>
  920. \t\t{% endif %}
  921. \t</div>
  922. \t{{ include('Block/add_to_cart.twig') }}
  923.     <div class=\"swooth-wrapper grey-swooth\"></div>
  924. </div>
  925. {% endblock %}
  926. ""Category/2026-vday-sale.twig""/home/kir018258/public_html/test.aneros.co.jp/aneros_2023_b/app/template/aneros2023/Category/2026-vday-sale.twig");
  927.     }
  928.     
  929.     public function checkSecurity()
  930.     {
  931.         static $tags = array("include" => 26"set" => 29"if" => 38"for" => 136"import" => 164);
  932.         static $filters = array("date" => 31"escape" => 79"no_image_product" => 158"price" => 208);
  933.         static $functions = array("url" => 52"asset" => 79"repository" => 125"csrf_token" => 243"include" => 298);
  934.         try {
  935.             $this->sandbox->checkSecurity(
  936.                 ['include''set''if''for''import'],
  937.                 ['date''escape''no_image_product''price'],
  938.                 ['url''asset''repository''csrf_token''include']
  939.             );
  940.         } catch (SecurityError $e) {
  941.             $e->setSourceContext($this->source);
  942.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  943.                 $e->setTemplateLine($tags[$e->getTagName()]);
  944.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  945.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  946.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  947.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  948.             }
  949.             throw $e;
  950.         }
  951.     }
  952. }