<?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/progasm-products.twig */
class __TwigTemplate_75695e7b565a9e50a128ff27f2e98914 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/progasm-products.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Category/progasm-products.twig"));
$this->parent = $this->loadTemplate("default_frame.twig", "Category/progasm-products.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>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 19
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 20
$this->loadTemplate("@CustomerReview42/Block/customer_review4_recommend_css.twig", "Category/progasm-products.twig", 20)->display($context);
// line 21
echo "
<!-- ページ固有のスタイル -->
<style>
\t.std img {
max-width: 100%;
\t}
\tp.description {
font-size: 18px;
line-height: 1.5em;
\t\tcolor: #fff;
\t\tletter-spacing: -1px;
\t}
\ta.more-link {
font-size: 20px;
color: #0886fb;
white-space: nowrap;
\t}
\t.grey-products-icons.flexbox {
\t\tjustify-content: center;
\t\tflex-wrap: wrap;
\t}
\t.grey-products-icons .product-item {
\t\twidth: 90px;
margin: 5px 10px;
\t\tpadding: 0;
\t\topacity: 1;
\t}
\t#category-featured-products .page-intro h1 {
font-size: 60px;
color: #5c5c5c;
\t\tmargin-bottom: 0;
\t}
\t#category-featured-products .page-intro h1 sup {
\t\tvertical-align: baseline;
margin-top: 0;
\t\tfont-size: 27%;
display: inline-block;
\t}
\t#category-featured-products h2 sup {
\t\tfont-size: 25%;
\t\ttop: -3.5em;
\t\tline-height: 0;
position: relative;
vertical-align: baseline;
\t}
\t#category-featured-products .classic-product-contr .product-info {
width: 510px;
padding: 60px 0px 30px 0;
\t\tmargin: 0 0 0 auto;
\t}
\t#category-featured-products .classic-product-contr .product-img {
\t\twidth: 590px;
\t\tpadding-top:20px;
\t\tmargin-right: auto;
\t\ttext-align: center;
\t}
\t#category-featured-products .classic-product-contr .product-img img {
\t\tmargin-right: auto;
\t\tmargin-left: auto;
\t\twidth:590px;
\t\tmax-width:100%;
\t}
\t#category-featured-products .classic-product-contr .btn-cart {
\t\tmargin-left: auto;
\t\tmargin-right: auto;
\t\tmin-width: 240px;
\t}
\t#category-featured-products .classic-product-contr h2 {
font-size: 56px;
font-weight: 400;
\tcolor: #ff0000;
\tmargin-bottom: 15px;
\t}
\t#category-featured-products .classic-product-contr h2 span {
display: block;
font-size: 26px;
color: #fff;
letter-spacing: 0.5em;
\t}
\t#category-featured-products .classic-product-contr .description {
margin-bottom: 10px;
width: 400px;
\t}
\t#category-featured-products .classic-product-contr .product-info .flexbox {
\t\tjustify-content: center;
\t\tflex-wrap: wrap;
\t}
\t.product-container {
\t\tjustify-content: center;
\t}
\t.page-intro.flexbox,
\t#progasm-ice .container.flexbox {
\t\tflex-direction: row-reverse;
\t}
\t.page-intro .product-info {
\t\tmargin: auto 70px auto 40px;
\t}
\t
\t.page-intro .product-info h1 img {
\t\twidth: 100%;
\t\tmax-width:300px;
\t\tpadding-bottom:15px;
\t}
\t#category-featured-products #progasm-classic {
\t\tbackground-image: url(";
// line 144
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/products/Progasm-Anniversary/progasm-classic-bg.jpg"), "html", null, true);
echo ");
\t\tbackground-position: center;
\t\tbackground-repeat: no-repeat;
\t\tbackground-size: cover;
\t}
\t#category-featured-products #progasm-classic .product-info {
\t\tmargin: auto 0;
\t}
\t#category-featured-products #progasm-classic .product-img {
\t\twidth: auto;
\t}
\t
\t#category-featured-products #progasm-header .product-img img {
\t\tmax-width:379px;
\t}
\t
\t#category-featured-products #progasm-ice {
\t\tbackground-image: url(";
// line 163
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/products/Progasm-Anniversary/progasm-ice-bg.jpg"), "html", null, true);
echo ");
\t\tbackground-position: center;
\t\tbackground-repeat: no-repeat;
\t\tbackground-size: cover;
\t}
\t
\t#category-featured-products #progasm-black-ice {
\t\tbackground-image: url(";
// line 170
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/products/Progasm-Anniversary/progasm-black-ice-bg.jpg"), "html", null, true);
echo ");
\t\tbackground-position: center;
\t\tbackground-repeat: no-repeat;
\t\tbackground-size: cover;
\t}
\t#category-featured-products #progasm-ice .product-info {
\t\tmargin: auto 0;
\t}
\t#category-featured-products #progasm-ice .product-img {
\t\twidth: auto;
\t}
\t#category-featured-products .container {
\t\tpadding: 30px 0;
\t}
\t
\t.progasm-swooth {
\t\tbackground: #272727 url(";
// line 189
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/category/progasm-products/progasm-swooth-black.png"), "html", null, true);
echo ") center top no-repeat;
\t\tpadding: 40px 0;
\t\tbackground-size: cover;
\t\t-moz-background-size: cover;
\t\t-webkit-background-size: cover;
\t\tbox-sizing: content-box;
\t\t-moz-box-sizing: content-box;
\t\t-webkit-box-sizing: content-box;
\t}
\t@media only screen and (max-width: 999px) {
\t\t.page-intro.flexbox{
\t\t\tmargin: 0 auto;
\t\t\tflex-direction: column;
\t\t}
\t\t#category-featured-products .classic-product-contr .product-container.flexbox, .page-intro.flexbox, #progasm-ice .container.flexbox {
\t\t\tflex-direction: column;
\t\t}
\t
\t\t#category-featured-products .page-intro .product-info,
\t\t#category-featured-products .classic-product-contr .product-info {
\t\t\twidth: auto;
\t\t\tpadding: 0;
\t\t\tmargin: 0 auto;
\t\t\tmax-width: 600px;
\t\t}
\t\t#category-featured-products .classic-product-contr .description {
\t\t\tpadding: 0;
\t\t\twidth: auto;
\t\t}
\t\t#category-featured-products .classic-product-contr .product-img {
\t\t\tmargin: 0 auto;
\t\t\ttext-align: center;
\t\t}
\t\t#category-featured-products .classic-product-contr h2 {
\t\t\tfont-size: 46px;
\tfont-weight: 400;
\t\t}
\t\t#category-featured-products .page-intro .product-img img {
\t\t\tmargin: 20px auto 0;
\t\t}
\t\t#category-featured-products #progasm-classic .product-img,
\t\t#category-featured-products #progasm-ice .product-img {
\t\t\tposition: static;
\t\t}
\t\t#progasm-black-ice .container.flexbox {
\t\t\tflex-direction: column;
\t\t}
\t\t#category-featured-products .container {
\t\t\tmax-width: 600px;
\t\t}
\t}
\t@media only screen and (max-width: 767px) {
\t\t#category-featured-products .page-intro h1 {
\t font-size: 50px;
\t\t}
\t\t#category-featured-products .page-intro p {
\t\t\tfont-size: 18px;
\t\t}
\t\t.page-intro,
\t\t#category-featured-products .classic-product-contr .product-info,
\t\t#category-featured-products .classic-product-contr .product-img {
\t\t\tmax-width: 300px;
\t\t}
\t\t#category-featured-products #progasm-classic .product-info,
\t\t#category-featured-products #progasm-ice .product-info {
\t\t\tmargin: 0 auto;
\t\t}
\t\t#category-featured-products #progasm-header .product-img img {
\t\twidth:100%;
\t\t}
\t}
</style>
<div class=\"main-container\" id=\"trident-series-page\">
\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 284
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>
\t\t\t\t\t<strong>プロガスムシリーズ</strong>
\t\t\t\t</li>
\t\t\t</ul>
\t\t</div>
\t</div>
\t<div class=\"col-main\" id=\"category-featured-products\">
\t\t<div id=\"progasm-products-wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"page-intro flexbox\" id=\"progasm-header\">
\t\t\t\t\t<div class=\"product-info\">
\t\t\t\t\t\t<h1><img class=\"progasm-anniversary-logo\" src=\"";
// line 301
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/category/progasm-products/progasm-anniversary-logo-long.jpg"), "html", null, true);
echo "\" alt=\"アニバーサリーモデル 20周年\" /></h1>
\t\t\t\t\t\t<p class=\"description\" style=\"color:#000\" >究極のドライオーガズムとは何かをとことん追求する米国企業、アネロス社。そのアネロスブランド誕生20周年を記念し、アニバーサリーモデルとして「プロガスム」3種をリリースいたします。</p>
\t\t\t\t\t\t<p class=\"description\" style=\"color:#000\" >旧プロガスムをより洗練させたアニバーサリーモデルの名に恥じない素晴らしいアネロスに仕上がっています。</p>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"product-img\">
\t\t\t\t\t\t<img src=\"";
// line 306
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/category/progasm-products/progasm-anniversary-box.jpg"), "html", null, true);
echo "\" class=\"animate\" alt=\"プロガスムシリーズ\"
\t\t\t\t\t\tdata-animate=\"zoomIn\" data-duration=\"1.0s\" data-delay=\"0.6s\">
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"classic-product-contr\" id=\"progasm-black-ice\">
\t\t\t\t<div class=\"container flexbox\">
\t\t\t\t\t<div class=\"product-info\">
\t\t\t\t\t\t<h2>プロガスム<sup>®</sup>
\t\t\t\t\t\t\t<span>ブラックアイス</span>
\t\t\t\t\t\t</h2>
\t\t\t\t\t\t<p class=\"description\"><b>漆黒が奏でる、美しいプレジャー</b><br><br>素材に用いられた米国FDAの材質承認を得ている医療用非多孔性プラスチックが、まるでブラックダイヤモンドのような輝きを放つ「プロガスムブラックアイス」。ハードで力強い印象の通り、太くて男らしいシャフトから放たれる圧倒的な刺激と快楽は、まさにドライオーガズムに達することができない方への救世主的な存在と言っても過言ではないでしょう。 </p>
\t\t\t\t\t\t<a href=\"";
// line 319
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => 81]);
echo "\" class=\"more-link\">詳細をみる ></a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"product-img\">
\t\t\t\t\t\t<img src=\"";
// line 322
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/category/progasm-products/progasm-black-ice-tilted.png"), "html", null, true);
echo "\" class=\"animate\" alt=\"プロガスムブラックアイス\"
\t\t\t\t\t\tdata-animate=\"fadeIn\" data-duration=\"1.0s\" data-delay=\"1.0s\">
\t\t\t\t\t\t";
// line 324
$context["Product"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "find", [0 => 81], "method", false, false, true, 324);
// line 325
echo "\t\t\t\t\t\t
\t\t\t\t\t\t\t<!-- REVIEW AREA -->
\t\t\t\t\t\t\t";
// line 327
$macros["recommend_macro"] = $this->loadTemplate("@CustomerReview42/Block/customer_review4_recommend_macro.twig", "Category/progasm-products.twig", 327)->unwrap();
// line 328
echo "
\t\t\t\t\t\t\t";
// line 329
$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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 329, $this->source); })()), "id", [], "any", false, false, true, 329)], "method", false, false, true, 329);
// line 330
echo "\t\t\t\t\t\t\t";
$context["reviewer_total"] = 0;
// line 331
echo "\t\t\t\t\t\t\t";
$context["review_total_point"] = 0;
// line 332
echo "\t\t\t\t\t\t\t";
$context["count"] = 5;
// line 333
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.', 333, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 334
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.', 334, $this->source); })()) + $context["i"]);
// line 335
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.', 335, $this->source); })()) + ($context["i"] * (isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 335, $this->source); })())));
// line 336
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.', 336, $this->source); })()) - 1);
// line 337
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 338
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.', 338, $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.', 338, $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.', 338, $this->source); })()))));
// line 339
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 340
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.', 340, $this->source); })()))) {
// line 341
echo "\t\t\t\t\t\t\t\t<div id=\"plg_customer_review_special";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 341, $this->source); })()), "id", [], "any", false, false, true, 341), 341, $this->source), "html", null, true);
echo "\" class=\"review-layoutRole\">
\t\t\t\t\t\t\t\t\t<h3 class=\"review_score\" data-id=\"";
// line 342
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 342, $this->source); })()), "id", [], "any", false, false, true, 342), 342, $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.', 342, $this->source); })()), 342, $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.', 342, $this->source); })()), 342, $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 345
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 345, $this->source); })()), "id", [], "any", false, false, true, 345)]), "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 349
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_special_anchor";
// line 352
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 352, $this->source); })()), "id", [], "any", false, false, true, 352), 352, $this->source), "html", null, true);
echo "').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review_special";
// line 353
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 353, $this->source); })()), "id", [], "any", false, false, true, 353), 353, $this->source), "html", null, true);
echo "').insertAfter(\$('#plg_customer_review_special_anchor";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 353, $this->source); })()), "id", [], "any", false, false, true, 353), 353, $this->source), "html", null, true);
echo "'));
\t\t\t\t\t\t\t } else if ( \$('#button";
// line 354
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 354, $this->source); })()), "id", [], "any", false, false, true, 354), 354, $this->source), "html", null, true);
echo "').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review_special";
// line 355
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 355, $this->source); })()), "id", [], "any", false, false, true, 355), 355, $this->source), "html", null, true);
echo "').insertBefore(\$('#button";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 355, $this->source); })()), "id", [], "any", false, false, true, 355), 355, $this->source), "html", null, true);
echo "'));
\t\t\t\t\t\t\t } else {
\t\t\t\t\t\t\t \$('#plg_customer_review_special";
// line 357
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 357, $this->source); })()), "id", [], "any", false, false, true, 357), 357, $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";
// line 363
if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 363, $this->source); })()), "stock_find", [], "any", false, false, true, 363)) {
// line 364
echo "\t\t\t\t\t\t\t<button type=\"button\" title=\"Add to Cart\" class=\"button btn-cart one-click-add-cart\"
\t\t\t\t\t\t\tdata-action=\"";
// line 365
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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 365, $this->source); })()), "id", [], "any", false, false, true, 365)]), "html", null, true);
echo "\"
\t\t\t\t\t\t\tdata-product_id=\"";
// line 366
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 366, $this->source); })()), "id", [], "any", false, false, true, 366), 366, $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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 366, $this->source); })()), "name", [], "any", false, false, true, 366), 366, $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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 366, $this->source); })()), "main_list_image", [], "any", false, false, true, 366), 366, $this->source)), "save_image"), "html", null, true);
echo "\"
\t\t\t\t\t\t\tdata-product_class=\"";
// line 367
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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 367, $this->source); })()), "ProductClasses", [], "any", false, false, true, 367), 0, [], "array", false, false, true, 367), "id", [], "any", false, false, true, 367), 367, $this->source), "html", null, true);
echo "\"
\t\t\t\t\t\t\tdata-token=\"";
// line 368
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("Eccube\\Form\\Type\\AddCartType"), "html", null, true);
echo "\" id=\"button";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 368, $this->source); })()), "id", [], "any", false, false, true, 368), 368, $this->source), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<span>カゴに入れる - ";
// line 369
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 369, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 369), 369, $this->source)), "html", null, true);
echo "<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t";
} else {
// line 372
echo "\t\t\t\t\t\t\t";
$context["arrivemail"] = true;
// line 373
echo "\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 373, $this->source); })()), "ProductTag", [], "any", false, false, true, 373));
foreach ($context['_seq'] as $context["_key"] => $context["ProductTag"]) {
// line 374
echo "\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, 374), "id", [], "any", false, false, true, 374) == 99)) {
// line 375
echo "\t\t\t\t\t\t\t\t\t";
$context["arrivemail"] = false;
// line 376
echo "\t\t\t\t\t\t\t\t";
}
// line 377
echo "\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 378
echo "\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 379
if ((isset($context["arrivemail"]) || array_key_exists("arrivemail", $context) ? $context["arrivemail"] : (function () { throw new RuntimeError('Variable "arrivemail" does not exist.', 379, $this->source); })())) {
// line 380
echo "\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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 380, $this->source); })()), "id", [], "any", false, false, true, 380), 380, $this->source), "html", null, true);
echo "\" data-productname=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 380, $this->source); })()), "name", [], "any", false, false, true, 380), 380, $this->source), "html", null, true);
echo "\" title=\"入荷お知らせ\" class=\"button btn-cart add-to-mail\">
\t\t\t\t\t\t\t\t\t<span>入荷お知らせ</span>
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t";
} else {
// line 384
echo "\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<span>在庫切れ</span>
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t";
}
// line 388
echo "\t\t\t\t\t\t";
}
// line 389
echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t";
// line 396
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/add_to_cart.twig");
echo "
<div class=\"swooth-wrapper progasm-swooth\">
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Category/progasm-products.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 626 => 396, 617 => 389, 614 => 388, 608 => 384, 598 => 380, 596 => 379, 593 => 378, 587 => 377, 584 => 376, 581 => 375, 578 => 374, 573 => 373, 570 => 372, 564 => 369, 558 => 368, 554 => 367, 546 => 366, 542 => 365, 539 => 364, 537 => 363, 528 => 357, 521 => 355, 517 => 354, 511 => 353, 507 => 352, 502 => 349, 495 => 345, 483 => 342, 478 => 341, 476 => 340, 473 => 339, 470 => 338, 464 => 337, 461 => 336, 458 => 335, 455 => 334, 450 => 333, 447 => 332, 444 => 331, 441 => 330, 439 => 329, 436 => 328, 434 => 327, 430 => 325, 428 => 324, 423 => 322, 417 => 319, 401 => 306, 393 => 301, 373 => 284, 275 => 189, 253 => 170, 243 => 163, 221 => 144, 96 => 21, 94 => 20, 84 => 19, 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>
{% endblock %}
{% block main %}
{% include('@CustomerReview42/Block/customer_review4_recommend_css.twig') %}
<!-- ページ固有のスタイル -->
<style>
\t.std img {
max-width: 100%;
\t}
\tp.description {
font-size: 18px;
line-height: 1.5em;
\t\tcolor: #fff;
\t\tletter-spacing: -1px;
\t}
\ta.more-link {
font-size: 20px;
color: #0886fb;
white-space: nowrap;
\t}
\t.grey-products-icons.flexbox {
\t\tjustify-content: center;
\t\tflex-wrap: wrap;
\t}
\t.grey-products-icons .product-item {
\t\twidth: 90px;
margin: 5px 10px;
\t\tpadding: 0;
\t\topacity: 1;
\t}
\t#category-featured-products .page-intro h1 {
font-size: 60px;
color: #5c5c5c;
\t\tmargin-bottom: 0;
\t}
\t#category-featured-products .page-intro h1 sup {
\t\tvertical-align: baseline;
margin-top: 0;
\t\tfont-size: 27%;
display: inline-block;
\t}
\t#category-featured-products h2 sup {
\t\tfont-size: 25%;
\t\ttop: -3.5em;
\t\tline-height: 0;
position: relative;
vertical-align: baseline;
\t}
\t#category-featured-products .classic-product-contr .product-info {
width: 510px;
padding: 60px 0px 30px 0;
\t\tmargin: 0 0 0 auto;
\t}
\t#category-featured-products .classic-product-contr .product-img {
\t\twidth: 590px;
\t\tpadding-top:20px;
\t\tmargin-right: auto;
\t\ttext-align: center;
\t}
\t#category-featured-products .classic-product-contr .product-img img {
\t\tmargin-right: auto;
\t\tmargin-left: auto;
\t\twidth:590px;
\t\tmax-width:100%;
\t}
\t#category-featured-products .classic-product-contr .btn-cart {
\t\tmargin-left: auto;
\t\tmargin-right: auto;
\t\tmin-width: 240px;
\t}
\t#category-featured-products .classic-product-contr h2 {
font-size: 56px;
font-weight: 400;
\tcolor: #ff0000;
\tmargin-bottom: 15px;
\t}
\t#category-featured-products .classic-product-contr h2 span {
display: block;
font-size: 26px;
color: #fff;
letter-spacing: 0.5em;
\t}
\t#category-featured-products .classic-product-contr .description {
margin-bottom: 10px;
width: 400px;
\t}
\t#category-featured-products .classic-product-contr .product-info .flexbox {
\t\tjustify-content: center;
\t\tflex-wrap: wrap;
\t}
\t.product-container {
\t\tjustify-content: center;
\t}
\t.page-intro.flexbox,
\t#progasm-ice .container.flexbox {
\t\tflex-direction: row-reverse;
\t}
\t.page-intro .product-info {
\t\tmargin: auto 70px auto 40px;
\t}
\t
\t.page-intro .product-info h1 img {
\t\twidth: 100%;
\t\tmax-width:300px;
\t\tpadding-bottom:15px;
\t}
\t#category-featured-products #progasm-classic {
\t\tbackground-image: url({{ asset('aneros/img/products/Progasm-Anniversary/progasm-classic-bg.jpg') }});
\t\tbackground-position: center;
\t\tbackground-repeat: no-repeat;
\t\tbackground-size: cover;
\t}
\t#category-featured-products #progasm-classic .product-info {
\t\tmargin: auto 0;
\t}
\t#category-featured-products #progasm-classic .product-img {
\t\twidth: auto;
\t}
\t
\t#category-featured-products #progasm-header .product-img img {
\t\tmax-width:379px;
\t}
\t
\t#category-featured-products #progasm-ice {
\t\tbackground-image: url({{ asset('aneros/img/products/Progasm-Anniversary/progasm-ice-bg.jpg') }});
\t\tbackground-position: center;
\t\tbackground-repeat: no-repeat;
\t\tbackground-size: cover;
\t}
\t
\t#category-featured-products #progasm-black-ice {
\t\tbackground-image: url({{ asset('aneros/img/products/Progasm-Anniversary/progasm-black-ice-bg.jpg') }});
\t\tbackground-position: center;
\t\tbackground-repeat: no-repeat;
\t\tbackground-size: cover;
\t}
\t#category-featured-products #progasm-ice .product-info {
\t\tmargin: auto 0;
\t}
\t#category-featured-products #progasm-ice .product-img {
\t\twidth: auto;
\t}
\t#category-featured-products .container {
\t\tpadding: 30px 0;
\t}
\t
\t.progasm-swooth {
\t\tbackground: #272727 url({{ asset('aneros/img/category/progasm-products/progasm-swooth-black.png') }}) center top no-repeat;
\t\tpadding: 40px 0;
\t\tbackground-size: cover;
\t\t-moz-background-size: cover;
\t\t-webkit-background-size: cover;
\t\tbox-sizing: content-box;
\t\t-moz-box-sizing: content-box;
\t\t-webkit-box-sizing: content-box;
\t}
\t@media only screen and (max-width: 999px) {
\t\t.page-intro.flexbox{
\t\t\tmargin: 0 auto;
\t\t\tflex-direction: column;
\t\t}
\t\t#category-featured-products .classic-product-contr .product-container.flexbox, .page-intro.flexbox, #progasm-ice .container.flexbox {
\t\t\tflex-direction: column;
\t\t}
\t
\t\t#category-featured-products .page-intro .product-info,
\t\t#category-featured-products .classic-product-contr .product-info {
\t\t\twidth: auto;
\t\t\tpadding: 0;
\t\t\tmargin: 0 auto;
\t\t\tmax-width: 600px;
\t\t}
\t\t#category-featured-products .classic-product-contr .description {
\t\t\tpadding: 0;
\t\t\twidth: auto;
\t\t}
\t\t#category-featured-products .classic-product-contr .product-img {
\t\t\tmargin: 0 auto;
\t\t\ttext-align: center;
\t\t}
\t\t#category-featured-products .classic-product-contr h2 {
\t\t\tfont-size: 46px;
\tfont-weight: 400;
\t\t}
\t\t#category-featured-products .page-intro .product-img img {
\t\t\tmargin: 20px auto 0;
\t\t}
\t\t#category-featured-products #progasm-classic .product-img,
\t\t#category-featured-products #progasm-ice .product-img {
\t\t\tposition: static;
\t\t}
\t\t#progasm-black-ice .container.flexbox {
\t\t\tflex-direction: column;
\t\t}
\t\t#category-featured-products .container {
\t\t\tmax-width: 600px;
\t\t}
\t}
\t@media only screen and (max-width: 767px) {
\t\t#category-featured-products .page-intro h1 {
\t font-size: 50px;
\t\t}
\t\t#category-featured-products .page-intro p {
\t\t\tfont-size: 18px;
\t\t}
\t\t.page-intro,
\t\t#category-featured-products .classic-product-contr .product-info,
\t\t#category-featured-products .classic-product-contr .product-img {
\t\t\tmax-width: 300px;
\t\t}
\t\t#category-featured-products #progasm-classic .product-info,
\t\t#category-featured-products #progasm-ice .product-info {
\t\t\tmargin: 0 auto;
\t\t}
\t\t#category-featured-products #progasm-header .product-img img {
\t\twidth:100%;
\t\t}
\t}
</style>
<div class=\"main-container\" id=\"trident-series-page\">
\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>
\t\t\t\t\t<strong>プロガスムシリーズ</strong>
\t\t\t\t</li>
\t\t\t</ul>
\t\t</div>
\t</div>
\t<div class=\"col-main\" id=\"category-featured-products\">
\t\t<div id=\"progasm-products-wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"page-intro flexbox\" id=\"progasm-header\">
\t\t\t\t\t<div class=\"product-info\">
\t\t\t\t\t\t<h1><img class=\"progasm-anniversary-logo\" src=\"{{ asset('aneros/img/category/progasm-products/progasm-anniversary-logo-long.jpg') }}\" alt=\"アニバーサリーモデル 20周年\" /></h1>
\t\t\t\t\t\t<p class=\"description\" style=\"color:#000\" >究極のドライオーガズムとは何かをとことん追求する米国企業、アネロス社。そのアネロスブランド誕生20周年を記念し、アニバーサリーモデルとして「プロガスム」3種をリリースいたします。</p>
\t\t\t\t\t\t<p class=\"description\" style=\"color:#000\" >旧プロガスムをより洗練させたアニバーサリーモデルの名に恥じない素晴らしいアネロスに仕上がっています。</p>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"product-img\">
\t\t\t\t\t\t<img src=\"{{ asset('aneros/img/category/progasm-products/progasm-anniversary-box.jpg') }}\" class=\"animate\" alt=\"プロガスムシリーズ\"
\t\t\t\t\t\tdata-animate=\"zoomIn\" data-duration=\"1.0s\" data-delay=\"0.6s\">
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"classic-product-contr\" id=\"progasm-black-ice\">
\t\t\t\t<div class=\"container flexbox\">
\t\t\t\t\t<div class=\"product-info\">
\t\t\t\t\t\t<h2>プロガスム<sup>®</sup>
\t\t\t\t\t\t\t<span>ブラックアイス</span>
\t\t\t\t\t\t</h2>
\t\t\t\t\t\t<p class=\"description\"><b>漆黒が奏でる、美しいプレジャー</b><br><br>素材に用いられた米国FDAの材質承認を得ている医療用非多孔性プラスチックが、まるでブラックダイヤモンドのような輝きを放つ「プロガスムブラックアイス」。ハードで力強い印象の通り、太くて男らしいシャフトから放たれる圧倒的な刺激と快楽は、まさにドライオーガズムに達することができない方への救世主的な存在と言っても過言ではないでしょう。 </p>
\t\t\t\t\t\t<a href=\"{{ url('product_detail', {'id': 81}) }}\" class=\"more-link\">詳細をみる ></a>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"product-img\">
\t\t\t\t\t\t<img src=\"{{ asset('aneros/img/category/progasm-products/progasm-black-ice-tilted.png') }}\" class=\"animate\" alt=\"プロガスムブラックアイス\"
\t\t\t\t\t\tdata-animate=\"fadeIn\" data-duration=\"1.0s\" data-delay=\"1.0s\">
\t\t\t\t\t\t{% set Product = repository('Eccube\\\\Entity\\\\Product').find(81) %}
\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_special{{Product.id}}\" class=\"review-layoutRole\">
\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_special_anchor{{Product.id}}').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review_special{{Product.id}}').insertAfter(\$('#plg_customer_review_special_anchor{{Product.id}}'));
\t\t\t\t\t\t\t } else if ( \$('#button{{ Product.id }}').length) {
\t\t\t\t\t\t\t \$('#plg_customer_review_special{{Product.id}}').insertBefore(\$('#button{{ Product.id }}'));
\t\t\t\t\t\t\t } else {
\t\t\t\t\t\t\t \$('#plg_customer_review_special{{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{% if Product.stock_find %}
\t\t\t\t\t\t\t<button type=\"button\" title=\"Add to Cart\" class=\"button btn-cart one-click-add-cart\"
\t\t\t\t\t\t\tdata-action=\"{{ url('product_add_cart', {id:Product.id}) }}\"
\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\tdata-product_class=\"{{ Product.ProductClasses[0].id }}\"
\t\t\t\t\t\t\tdata-token=\"{{ csrf_token('Eccube\\\\Form\\\\Type\\\\AddCartType') }}\" id=\"button{{ Product.id }}\">
\t\t\t\t\t\t\t\t\t<span>カゴに入れる - {{ Product.getPrice02IncTaxMin|price }}<span class=\"inctax\"> (税込)</span></span>
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{% set arrivemail = true %}
\t\t\t\t\t\t\t{% for ProductTag in Product.ProductTag %}
\t\t\t\t\t\t\t\t{% if ProductTag.Tag.id == 99 %}
\t\t\t\t\t\t\t\t\t{% set arrivemail = false %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{% if arrivemail %}
\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<span>入荷お知らせ</span>
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t{% else %}
\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<span>在庫切れ</span>
\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t{{ include('Block/add_to_cart.twig') }}
<div class=\"swooth-wrapper progasm-swooth\">
</div>
</div>
{% endblock %}
", "Category/progasm-products.twig", "/home/kir018258/public_html/test.aneros.co.jp/aneros_2023_b/app/template/aneros2023/Category/progasm-products.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 20, "set" => 324, "import" => 327, "for" => 333, "if" => 340);
static $filters = array("escape" => 144, "no_image_product" => 366, "price" => 369);
static $functions = array("asset" => 144, "url" => 284, "repository" => 324, "csrf_token" => 368, "include" => 396);
try {
$this->sandbox->checkSecurity(
['include', 'set', 'import', 'for', 'if'],
['escape', 'no_image_product', 'price'],
['asset', 'url', '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;
}
}
}