<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Category/2026-vday-sale.twig */
class __TwigTemplate_c16041b0a662959a18fe2cc3b58b77cb extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Category/2026-vday-sale.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Category/2026-vday-sale.twig"));
$this->parent = $this->loadTemplate("default_frame.twig", "Category/2026-vday-sale.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 13
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 14
echo " <script></script>
\t
\t<style>
\t .bf-hero-note { font-size: 14px; line-height: 1.7; margin-top: 12px; }
\t .bf-count { font-weight: 700; font-size: 42px; letter-spacing: .04em; color:#dd0000; }
\t .bf-cta a { text-decoration: underline; }
\t .bf-subtle { font-size: 12px; color: #666; }
\t .bf-section { padding: 24px 0; text-align: center; }
\t</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 25
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 26
$this->loadTemplate("@CustomerReview42/Block/customer_review4_recommend_css.twig", "Category/2026-vday-sale.twig", 26)->display($context);
// line 27
echo "
";
// line 29
$context["tz"] = "Asia/Tokyo";
// line 31
$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));
// line 32
$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));
// line 33
$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));
// line 34
echo "
";
// line 36
$context["phaseOverride"] = (((twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", true, true, true, 36) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, true, 36), "query", [], "any", false, false, true, 36), "get", [0 => "phase"], "method", false, false, true, 36))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, true, 36), "query", [], "any", false, false, true, 36), "get", [0 => "phase"], "method", false, false, true, 36)) : (null));
// line 37
$context["phase"] = "pre";
// line 38
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); })())))) {
// line 39
echo " ";
$context["phase"] = "live";
} elseif (( // line 40
(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); })()))) {
// line 41
echo " ";
$context["phase"] = "post";
}
// line 43
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); })()), [0 => "pre", 1 => "live", 2 => "post"])) {
// line 44
echo " ";
$context["phase"] = (isset($context["phaseOverride"]) || array_key_exists("phaseOverride", $context) ? $context["phaseOverride"] : (function () { throw new RuntimeError('Variable "phaseOverride" does not exist.', 44, $this->source); })());
}
// line 46
echo "
<div class=\"main-container category-page\" id=\"xmas2025\">
\t<div class=\"breadcrumbs\">
\t\t<div class=\"container\">
\t\t\t<ul itemscope=\"\" itemtype=\"http://schema.org/BreadcrumbList\">
\t\t\t\t<li class=\"home\" itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
\t\t\t\t\t<a itemprop=\"item\" href=\"";
// line 52
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\" title=\"トップページ\"><span itemprop=\"name\" style=\"padding:0\">トップページ</span></a>
\t\t\t\t\t<meta itemprop=\"position\" content=\"1\">
\t\t\t\t\t<span>></span>
\t\t\t\t</li>
\t\t\t\t<li><strong>バレンタインセール2026</strong></li>
\t\t\t</ul>
\t\t</div>
\t</div>
\t<div class=\"col-main\">
\t\t";
// line 66
echo "\t\t";
if (((isset($context["phase"]) || array_key_exists("phase", $context) ? $context["phase"] : (function () { throw new RuntimeError('Variable "phase" does not exist.', 66, $this->source); })()) == "pre")) {
// line 67
echo "\t\t\t<div class=\"bf-section\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t<p class=\"bf-hero-note\">
\t\t\t\t\t\t<strong>全アネロス14%OFF。バレンタインはドライオーガズムと共に</strong>
\t\t\t\t\t</p>
\t\t\t\t\t<p class=\"bf-subtle\">1週間限定会員専用セール!</p>
\t\t\t\t\t<div class=\"bf-count\" id=\"bf-count\" aria-live=\"polite\">--:--:--</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"container\">
\t\t\t\t";
// line 79
echo "\t\t\t\t<img src=\"";
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", null, true);
echo "\" alt=\"バレンタインセール2026\" style=\"max-width:1000px; width:100%\">
\t\t\t</div>
\t\t\t";
// line 83
echo "\t\t\t<meta name=\"robots\" content=\"noindex,follow\">
\t\t\t<script>
\t\t\t (function () {
\t\t\t var target = new Date(\"2026-02-12T11:00:00+09:00\").getTime();
\t\t\t var el = document.getElementById(\"bf-count\");
\t\t\t function tick() {
\t\t\t var diff = target - Date.now();
\t\t\t if (diff <= 0) {
\t\t\t el.textContent = \"00:00:00\";
\t\t\t setTimeout(function(){ location.reload(); }, 600);
\t\t\t return;
\t\t\t }
\t\t\t var h = Math.floor(diff/3600000),
\t\t\t m = Math.floor((diff%3600000)/60000),
\t\t\t s = Math.floor((diff%60000)/1000);
\t\t\t el.textContent =
\t\t\t String(h).padStart(2,'0') + \":\" +
\t\t\t String(m).padStart(2,'0') + \":\" +
\t\t\t String(s).padStart(2,'0');
\t\t\t }
\t\t\t tick(); setInterval(tick, 1000);
\t\t\t })();
\t\t\t</script>
\t\t";
// line 111
echo "\t\t";
} elseif (((isset($context["phase"]) || array_key_exists("phase", $context) ? $context["phase"] : (function () { throw new RuntimeError('Variable "phase" does not exist.', 111, $this->source); })()) == "live")) {
// line 112
echo "
\t\t\t<div class=\"container\">
\t\t\t\t";
// line 115
echo "\t\t\t\t<img src=\"";
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", null, true);
echo "\" alt=\"バレンタインセール2026\" style=\"max-width:1000px; width:100%\">
\t\t\t</div>
\t\t\t
\t\t\t<div class=\"category-info\" style=\"margin-top:0px\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t<div class=\"category-description\">
\t\t\t\t\t\t<span style=\"font-weight:bold; font-size: 14px;\">対象商品:</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
// line 125
$context["Category"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [0 => 25], "method", false, false, true, 125);
// line 126
echo "\t\t\t";
$context["Order"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Master\\ProductListOrderBy"), "find", [0 => 0], "method", false, false, true, 126);
// line 127
echo "\t\t\t";
// line 128
$context["Products"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "getQueryBuilderBySearchData", [0 => ["category_id" => // line 129
(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", false, false, true, 128), "getQuery", [], "method", false, false, true, 129), "getResult", [], "method", false, false, true, 130);
// line 133
echo "
\t\t\t<div class=\"ec-shelfRole container\">
\t\t\t\t<ul class=\"ec-shelfGrid flexbox\">
\t\t\t\t\t";
// line 136
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 137
echo "\t\t\t\t\t\t";
list($context["campaignProduct"], $context["newProduct"], $context["limitedProduct"]) = [false, false, false];
// line 138
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Product"], "ProductTag", [], "any", false, false, true, 138));
foreach ($context['_seq'] as $context["_key"] => $context["ProductTag"]) {
// line 139
echo "\t\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductTag"], "Tag", [], "any", false, false, true, 139), "id", [], "any", false, false, true, 139) == 100)) {
// line 140
echo "\t\t\t\t\t\t\t\t";
$context["campaignProduct"] = true;
// line 141
echo "\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductTag"], "Tag", [], "any", false, false, true, 141), "id", [], "any", false, false, true, 141) == 1)) {
// line 142
echo "\t\t\t\t\t\t\t\t";
$context["newProduct"] = true;
// line 143
echo "\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductTag"], "Tag", [], "any", false, false, true, 143), "id", [], "any", false, false, true, 143) == 3)) {
// line 144
echo "\t\t\t\t\t\t\t\t";
$context["limitedProduct"] = true;
// line 145
echo "\t\t\t\t\t\t\t";
}
// line 146
echo "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductTag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 147
echo "\t\t\t\t\t\t<li class=\"ec-shelfGrid__item flexbox\">
\t\t\t\t\t\t\t<a href=\"";
// line 148
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", false, false, true, 148)]), "html", null, true);
echo "\">
\t\t\t\t\t\t\t";
// line 149
if (((isset($context["campaignProduct"]) || array_key_exists("campaignProduct", $context) ? $context["campaignProduct"] : (function () { throw new RuntimeError('Variable "campaignProduct" does not exist.', 149, $this->source); })()) == true)) {
// line 150
echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image campaignProduct\">
\t\t\t\t\t\t\t";
} elseif (( // line 151
(isset($context["newProduct"]) || array_key_exists("newProduct", $context) ? $context["newProduct"] : (function () { throw new RuntimeError('Variable "newProduct" does not exist.', 151, $this->source); })()) == true)) {
// line 152
echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image newProduct\">
\t\t\t\t\t\t\t";
} elseif (( // line 153
(isset($context["limitedProduct"]) || array_key_exists("limitedProduct", $context) ? $context["limitedProduct"] : (function () { throw new RuntimeError('Variable "limitedProduct" does not exist.', 153, $this->source); })()) == true)) {
// line 154
echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image limitedProduct\">
\t\t\t\t\t\t\t";
} else {
// line 156
echo "\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image\">
\t\t\t\t\t\t\t";
}
// line 158
echo "\t\t\t\t\t\t\t\t\t<img src=\"";
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", false, false, true, 158), 158, $this->source)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 158), 158, $this->source), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t<p>";
// line 160
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 160), 160, $this->source), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<!-- REVIEW AREA -->
\t\t\t\t\t\t\t";
// line 164
$macros["recommend_macro"] = $this->loadTemplate("@CustomerReview42/Block/customer_review4_recommend_macro.twig", "Category/2026-vday-sale.twig", 164)->unwrap();
// line 165
echo "
\t\t\t\t\t\t\t";
// line 166
$context["review_list"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal"), "getRecommend", [0 => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 166)], "method", false, false, true, 166);
// line 167
echo "\t\t\t\t\t\t\t";
$context["reviewer_total"] = 0;
// line 168
echo "\t\t\t\t\t\t\t";
$context["review_total_point"] = 0;
// line 169
echo "\t\t\t\t\t\t\t";
$context["count"] = 5;
// line 170
echo "\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 171
echo "\t\t\t\t\t\t\t ";
$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"]);
// line 172
echo "\t\t\t\t\t\t\t ";
$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); })())));
// line 173
echo "\t\t\t\t\t\t\t ";
$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);
// line 174
echo "\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 175
echo "\t\t\t\t\t\t\t";
$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); })()))));
// line 176
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 177
if ((0 < (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); })()))) {
// line 178
echo "\t\t\t\t\t\t\t\t<div id=\"plg_customer_review";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 178), 178, $this->source), "html", null, true);
echo "\" class=\"review-layoutRole product_list\">
\t\t\t\t\t\t\t\t\t<h3 class=\"review_score\" data-id=\"";
// line 179
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 179), 179, $this->source), "html", null, true);
echo "\" data-avg=\"";
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", null, true);
echo "\" data-num=\"";
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", null, true);
echo "\" data-starsize=\"22\" data-mstarsize=\"14\" data-imgbase=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/products/"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_title\"></span>
\t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_image\" style=\"display: inline-block\"></span>
\t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score\"><a href=\"";
// line 182
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", false, false, true, 182)]), "html", null, true);
echo "#review_area\"></a></span>
\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 186
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<script>
\t\t\t\t\t\t\t \$(function () {
\t\t\t\t\t\t\t if ( \$('#plg_customer_review_anchor";
// line 189
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 189), 189, $this->source), "html", null, true);
echo "').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review";
// line 190
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 190), 190, $this->source), "html", null, true);
echo "').insertAfter(\$('#plg_customer_review_anchor";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 190), 190, $this->source), "html", null, true);
echo "'));
\t\t\t\t\t\t\t } else if ( \$('#productForm";
// line 191
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 191), 191, $this->source), "html", null, true);
echo "').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review";
// line 192
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 192), 192, $this->source), "html", null, true);
echo "').insertBefore(\$('#productForm";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 192), 192, $this->source), "html", null, true);
echo "'));
\t\t\t\t\t\t\t } else {
\t\t\t\t\t\t\t \$('#plg_customer_review";
// line 194
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 194), 194, $this->source), "html", null, true);
echo "').hide();
\t\t\t\t\t\t\t }
\t\t\t\t\t\t\t });
\t\t\t\t\t\t\t</script>
\t\t\t\t\t\t\t<!-- REVIEW AREA END -->\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<div class=\"bottom-box flexbox\" id=\"productForm";
// line 200
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 200), 200, $this->source), "html", null, true);
echo "\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div class=\"price-box\">
\t\t\t\t\t\t\t\t\t<span class=\"price\">
\t\t\t\t\t\t\t\t\t\t<div class=\"normal_price\" id=\"product-normal-price-";
// line 204
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 204), 204, $this->source), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 205
if (( !(null === twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice01Min", [], "any", false, false, true, 205)) && (twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice01IncTaxMin", [], "any", false, false, true, 205) != 0))) {
// line 206
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 206)) {
// line 207
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice01Min", [], "any", false, false, true, 207) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice01Max", [], "any", false, false, true, 207))) {
// line 208
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
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", false, false, true, 208), 208, $this->source)), "html", null, true);
echo "<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 210
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
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", false, false, true, 210), 210, $this->source)), "html", null, true);
echo "<!-- ~ ";
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", false, false, true, 210), 210, $this->source)), "html", null, true);
echo "--><span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 212
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 213
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
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", false, false, true, 213), 213, $this->source)), "html", null, true);
echo "<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 215
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 216
echo "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sale_price\" id=\"product-price-";
// line 217
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 217), 217, $this->source), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 218
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 218)) {
// line 219
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, true, 219) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, true, 219))) {
// line 220
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
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", false, false, true, 220), 220, $this->source)), "html", null, true);
echo "<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 222
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
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", false, false, true, 222), 222, $this->source)), "html", null, true);
echo "<!-- ~ ";
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", false, false, true, 222), 222, $this->source)), "html", null, true);
echo "--><span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 224
echo "\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 225
echo "\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">";
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", false, false, true, 225), 225, $this->source)), "html", null, true);
echo "<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 227
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"actions\">
\t\t\t\t\t\t\t\t";
// line 231
if (twig_get_attribute($this->env, $this->source, $context["Product"], "stock_find", [], "any", false, false, true, 231)) {
// line 232
echo "\t\t\t\t\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 232)) {
// line 233
echo "\t\t\t\t\t\t\t\t\t\t<a class=\"button btn-cart learn-more\" title=\"商品詳細\" href=\"";
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", false, false, true, 233)]), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t\t\t<span>商品詳細</span>
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t";
} else {
// line 239
echo "\t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"カゴに入れる\" class=\"button btn-cart one-click-add-cart\"
\t\t\t\t\t\t\t\t\t\tdata-action=\"";
// line 240
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", false, false, true, 240)]), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\tdata-product_id=\"";
// line 241
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 241), 241, $this->source), "html", null, true);
echo "\" data-product_name=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 241), 241, $this->source), "html", null, true);
echo "\" data-product_img=\"";
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", false, false, true, 241), 241, $this->source)), "save_image"), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\tdata-product_class=\"";
// line 242
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["Product"], "ProductClasses", [], "any", false, false, true, 242), 0, [], "array", false, false, true, 242), "id", [], "any", false, false, true, 242), 242, $this->source), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\tdata-token=\"";
// line 243
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("Eccube\\Form\\Type\\AddCartType"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t<span>カゴに入れる</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t";
}
// line 247
echo "\t\t\t\t\t\t\t\t";
} else {
// line 248
echo "\t\t\t\t\t\t\t\t\t";
$context["arrivemail"] = true;
// line 249
echo "\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Product"], "ProductTag", [], "any", false, false, true, 249));
foreach ($context['_seq'] as $context["_key"] => $context["ProductTag"]) {
// line 250
echo "\t\t\t\t\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductTag"], "Tag", [], "any", false, false, true, 250), "id", [], "any", false, false, true, 250) == 99)) {
// line 251
echo "\t\t\t\t\t\t\t\t\t\t\t";
$context["arrivemail"] = false;
// line 252
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 253
echo "\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductTag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 254
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 255
if ((isset($context["arrivemail"]) || array_key_exists("arrivemail", $context) ? $context["arrivemail"] : (function () { throw new RuntimeError('Variable "arrivemail" does not exist.', 255, $this->source); })())) {
// line 256
echo "\t\t\t\t\t\t\t\t\t\t<button type=\"button\" data-productid=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 256), 256, $this->source), "html", null, true);
echo "\" data-productname=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 256), 256, $this->source), "html", null, true);
echo "\" title=\"入荷お知らせ\" class=\"button btn-cart add-to-mail\">
\t\t\t\t\t\t\t\t\t\t\t<span>入荷お知らせ</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t";
} else {
// line 260
echo "\t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"在庫切れ\" class=\"button btn-cart add-to-cart-out\">
\t\t\t\t\t\t\t\t\t\t\t<span>在庫切れ</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t";
}
// line 264
echo "\t\t\t\t\t\t\t\t";
}
// line 265
echo "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</li>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 269
echo "\t\t\t\t</ul>
\t\t\t</div>
";
// line 278
echo "
\t\t";
// line 282
echo "\t\t";
} else {
// line 283
echo "\t\t\t<div class=\"container\">
\t\t\t\t";
// line 285
echo "\t\t\t\t<img src=\"";
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", null, true);
echo "\" alt=\"バレンタインセール2026にご参加ありがとうございます\" style=\"max-width:1000px; width:100%\">
\t\t\t</div>
\t\t\t<div class=\"bf-section\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t<p><strong>バレンタインセール2026は終了いたしました。たくさんのご参加、ありがとうございました。</strong></p>
\t\t\t\t\t<p class=\"bf-hero-note\">次回の先行案内や会員限定情報をご希望の方は、<a href=\"";
// line 291
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\">会員登録</a>をご利用ください。</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t";
}
// line 295
echo "
\t</div>
\t";
// line 298
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/add_to_cart.twig");
echo "
<div class=\"swooth-wrapper grey-swooth\"></div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Category/2026-vday-sale.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% block javascript %}
<script></script>
\t
\t<style>
\t .bf-hero-note { font-size: 14px; line-height: 1.7; margin-top: 12px; }
\t .bf-count { font-weight: 700; font-size: 42px; letter-spacing: .04em; color:#dd0000; }
\t .bf-cta a { text-decoration: underline; }
\t .bf-subtle { font-size: 12px; color: #666; }
\t .bf-section { padding: 24px 0; text-align: center; }
\t</style>
{% endblock %}
{% block main %}
{% include('@CustomerReview42/Block/customer_review4_recommend_css.twig') %}
{# ==== Phase gating (JST) ==== #}
{% set tz = 'Asia/Tokyo' %}
{# 開始/終了の日時はここだけで管理 #}
{% set startAt = \"2026-02-12 11:00:00\"|date(\"U\", tz) %}
{% set endAt = \"2026-02-19 18:00:00\"|date(\"U\", tz) %}
{% set nowTs = \"now\"|date(\"U\", tz) %}
{# プレビュー強制切替(?phase=pre|live|post) #}
{% set phaseOverride = app.request is defined and app.request.query.get('phase') ? app.request.query.get('phase') : null %}
{% set phase = 'pre' %}
{% if nowTs >= startAt and nowTs < endAt %}
{% set phase = 'live' %}
{% elseif nowTs >= endAt %}
{% set phase = 'post' %}
{% endif %}
{% if phaseOverride in ['pre','live','post'] %}
{% set phase = phaseOverride %}
{% endif %}
<div class=\"main-container category-page\" id=\"xmas2025\">
\t<div class=\"breadcrumbs\">
\t\t<div class=\"container\">
\t\t\t<ul itemscope=\"\" itemtype=\"http://schema.org/BreadcrumbList\">
\t\t\t\t<li class=\"home\" itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
\t\t\t\t\t<a itemprop=\"item\" href=\"{{ url('homepage') }}\" title=\"トップページ\"><span itemprop=\"name\" style=\"padding:0\">トップページ</span></a>
\t\t\t\t\t<meta itemprop=\"position\" content=\"1\">
\t\t\t\t\t<span>></span>
\t\t\t\t</li>
\t\t\t\t<li><strong>バレンタインセール2026</strong></li>
\t\t\t</ul>
\t\t</div>
\t</div>
\t<div class=\"col-main\">
\t\t{# =========================
\t\t PRE (開始前)
\t\t ========================= #}
\t\t{% if phase == 'pre' %}
\t\t\t<div class=\"bf-section\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t<p class=\"bf-hero-note\">
\t\t\t\t\t\t<strong>全アネロス14%OFF。バレンタインはドライオーガズムと共に</strong>
\t\t\t\t\t</p>
\t\t\t\t\t<p class=\"bf-subtle\">1週間限定会員専用セール!</p>
\t\t\t\t\t<div class=\"bf-count\" id=\"bf-count\" aria-live=\"polite\">--:--:--</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"container\">
\t\t\t\t{#<h1 class=\"category-title\">バレンタインセール2026</h1>#}
\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%\">
\t\t\t</div>
\t\t\t{# 予告期間はインデックスさせない場合 #}
\t\t\t<meta name=\"robots\" content=\"noindex,follow\">
\t\t\t<script>
\t\t\t (function () {
\t\t\t var target = new Date(\"2026-02-12T11:00:00+09:00\").getTime();
\t\t\t var el = document.getElementById(\"bf-count\");
\t\t\t function tick() {
\t\t\t var diff = target - Date.now();
\t\t\t if (diff <= 0) {
\t\t\t el.textContent = \"00:00:00\";
\t\t\t setTimeout(function(){ location.reload(); }, 600);
\t\t\t return;
\t\t\t }
\t\t\t var h = Math.floor(diff/3600000),
\t\t\t m = Math.floor((diff%3600000)/60000),
\t\t\t s = Math.floor((diff%60000)/1000);
\t\t\t el.textContent =
\t\t\t String(h).padStart(2,'0') + \":\" +
\t\t\t String(m).padStart(2,'0') + \":\" +
\t\t\t String(s).padStart(2,'0');
\t\t\t }
\t\t\t tick(); setInterval(tick, 1000);
\t\t\t })();
\t\t\t</script>
\t\t{# =========================
\t\t LIVE
\t\t ========================= #}
\t\t{% elseif phase == 'live' %}
\t\t\t<div class=\"container\">
\t\t\t\t{#<h1 class=\"category-title\">バレンタインセール2026</h1>#}
\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%\">
\t\t\t</div>
\t\t\t
\t\t\t<div class=\"category-info\" style=\"margin-top:0px\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t<div class=\"category-description\">
\t\t\t\t\t\t<span style=\"font-weight:bold; font-size: 14px;\">対象商品:</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% set Category = repository(\"Eccube\\\\Entity\\\\Category\").find(25) %}
\t\t\t{% set Order = repository(\"Eccube\\\\Entity\\\\Master\\\\ProductListOrderBy\").find(0) %}
\t\t\t{%
\t\t\t\tset Products = repository('Eccube\\\\Entity\\\\Product')
\t\t\t\t.getQueryBuilderBySearchData({'category_id':Category, 'orderby':Order})
\t\t\t\t.getQuery()
\t\t\t\t.getResult()
\t\t\t%}
\t\t\t<div class=\"ec-shelfRole container\">
\t\t\t\t<ul class=\"ec-shelfGrid flexbox\">
\t\t\t\t\t{% for Product in Products %}
\t\t\t\t\t\t{% set campaignProduct, newProduct, limitedProduct = false, false, false %}
{% for ProductTag in Product.ProductTag %}
\t\t\t\t\t\t\t{% if ProductTag.Tag.id == 100 %}
\t\t\t\t\t\t\t\t{% set campaignProduct = true %}
\t\t\t\t\t\t\t{% elseif ProductTag.Tag.id == 1 %}
\t\t\t\t\t\t\t\t{% set newProduct = true %}
\t\t\t\t\t\t\t{% elseif ProductTag.Tag.id == 3 %}
\t\t\t\t\t\t\t\t{% set limitedProduct = true %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t<li class=\"ec-shelfGrid__item flexbox\">
\t\t\t\t\t\t\t<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
\t\t\t\t\t\t\t{% if campaignProduct == true %}
\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image campaignProduct\">
\t\t\t\t\t\t\t{% elseif newProduct == true %}
\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image newProduct\">
\t\t\t\t\t\t\t{% elseif limitedProduct == true %}
\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image limitedProduct\">
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image\">
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\">
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t<p>{{ Product.name }}</p>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<!-- REVIEW AREA -->
\t\t\t\t\t\t\t{% import('@CustomerReview42/Block/customer_review4_recommend_macro.twig') as recommend_macro %}
\t\t\t\t\t\t\t{% set review_list = repository('Plugin\\\\CustomerReview42\\\\Entity\\\\CustomerReviewTotal').getRecommend(Product.id) %}
\t\t\t\t\t\t\t{% set reviewer_total = 0 %}
\t\t\t\t\t\t\t{% set review_total_point = 0 %}
\t\t\t\t\t\t\t{% set count = 5 %}
\t\t\t\t\t\t\t{% for i in review_list %}
\t\t\t\t\t\t\t {% set reviewer_total = reviewer_total + i %}
\t\t\t\t\t\t\t {% set review_total_point = review_total_point + i * count %}
\t\t\t\t\t\t\t {% set count = count - 1 %}
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t{% set review_point = reviewer_total == 0 ? 0 : (review_total_point / reviewer_total) %}
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% if 0 < reviewer_total %}
\t\t\t\t\t\t\t\t<div id=\"plg_customer_review{{Product.id}}\" class=\"review-layoutRole product_list\">
\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/') }}\">
\t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_title\"></span>
\t\t\t\t\t\t\t\t\t\t<span class=\"review_all_score_image\" style=\"display: inline-block\"></span>
\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>
\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<script>
\t\t\t\t\t\t\t \$(function () {
\t\t\t\t\t\t\t if ( \$('#plg_customer_review_anchor{{Product.id}}').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review{{Product.id}}').insertAfter(\$('#plg_customer_review_anchor{{Product.id}}'));
\t\t\t\t\t\t\t } else if ( \$('#productForm{{Product.id}}').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review{{Product.id}}').insertBefore(\$('#productForm{{Product.id}}'));
\t\t\t\t\t\t\t } else {
\t\t\t\t\t\t\t \$('#plg_customer_review{{Product.id}}').hide();
\t\t\t\t\t\t\t }
\t\t\t\t\t\t\t });
\t\t\t\t\t\t\t</script>
\t\t\t\t\t\t\t<!-- REVIEW AREA END -->\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<div class=\"bottom-box flexbox\" id=\"productForm{{ Product.id }}\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div class=\"price-box\">
\t\t\t\t\t\t\t\t\t<span class=\"price\">
\t\t\t\t\t\t\t\t\t\t<div class=\"normal_price\" id=\"product-normal-price-{{ Product.id }}\">
\t\t\t\t\t\t\t\t\t\t\t{% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin != 0 %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if Product.getPrice01Min == Product.getPrice01Max %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice01IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"sale_price\" id=\"product-price-{{ Product.id }}\">
\t\t\t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if Product.getPrice02Min == Product.getPrice02Max %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice02IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price\">{{ Product.getPrice02IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"actions\">
\t\t\t\t\t\t\t\t{% if Product.stock_find %}
\t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
\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}) }}\">
\t\t\t\t\t\t\t\t\t\t\t<span>
\t\t\t\t\t\t\t\t\t\t\t\t<span>商品詳細</span>
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"カゴに入れる\" class=\"button btn-cart one-click-add-cart\"
\t\t\t\t\t\t\t\t\t\tdata-action=\"{{ url('product_add_cart', {id:Product.id}) }}\"
\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') }}\"
\t\t\t\t\t\t\t\t\t\tdata-product_class=\"{{ Product.ProductClasses[0].id }}\"
\t\t\t\t\t\t\t\t\t\tdata-token=\"{{ csrf_token('Eccube\\\\Form\\\\Type\\\\AddCartType') }}\">
\t\t\t\t\t\t\t\t\t\t\t<span>カゴに入れる</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t{% set arrivemail = true %}
\t\t\t\t\t\t\t\t\t{% for ProductTag in Product.ProductTag %}
\t\t\t\t\t\t\t\t\t\t{% if ProductTag.Tag.id == 99 %}
\t\t\t\t\t\t\t\t\t\t\t{% set arrivemail = false %}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{% if arrivemail %}
\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\">
\t\t\t\t\t\t\t\t\t\t\t<span>入荷お知らせ</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t<button type=\"button\" title=\"在庫切れ\" class=\"button btn-cart add-to-cart-out\">
\t\t\t\t\t\t\t\t\t\t\t<span>在庫切れ</span>
\t\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</li>
\t\t\t\t\t{% endfor %}
\t\t\t\t</ul>
\t\t\t</div>
{#
\t\t\t<div class=\"container\">
\t\t\t\t<p><b>ヒリックスシンVも14%OFF</b></p>
\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%\">
\t\t\t</div>
#}
\t\t{# =========================
\t\t POST (終了後)
\t\t ========================= #}
\t\t{% else %}
\t\t\t<div class=\"container\">
\t\t\t\t{#<h1 class=\"category-title\">バレンタインセール2026</h1>#}
\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%\">
\t\t\t</div>
\t\t\t<div class=\"bf-section\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t<p><strong>バレンタインセール2026は終了いたしました。たくさんのご参加、ありがとうございました。</strong></p>
\t\t\t\t\t<p class=\"bf-hero-note\">次回の先行案内や会員限定情報をご希望の方は、<a href=\"{{ url('entry') }}\">会員登録</a>をご利用ください。</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t{% endif %}
\t</div>
\t{{ include('Block/add_to_cart.twig') }}
<div class=\"swooth-wrapper grey-swooth\"></div>
</div>
{% endblock %}
", "Category/2026-vday-sale.twig", "/home/kir018258/public_html/test.aneros.co.jp/aneros_2023_b/app/template/aneros2023/Category/2026-vday-sale.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 26, "set" => 29, "if" => 38, "for" => 136, "import" => 164);
static $filters = array("date" => 31, "escape" => 79, "no_image_product" => 158, "price" => 208);
static $functions = array("url" => 52, "asset" => 79, "repository" => 125, "csrf_token" => 243, "include" => 298);
try {
$this->sandbox->checkSecurity(
['include', 'set', 'if', 'for', 'import'],
['date', 'escape', 'no_image_product', 'price'],
['url', 'asset', 'repository', 'csrf_token', 'include']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}