var/cache/dev/twig/b0/b0de8cf5cd04c00cdcf0f6ff0385ea8add93830358134c797bde7e3f9b6350b4.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @ContactManagement42/Product/contact.twig */
  14. class __TwigTemplate_79d5b4d1bdd235f34aa3bbac6b85553dfd83c05d9e9d37922eb1aafc74472d4a extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ContactManagement42/Product/contact.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ContactManagement42/Product/contact.twig"));
  39.         // line 13
  40.         $context["body_class"] = "product_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""@ContactManagement42/Product/contact.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script>
  59.         \$(function() {
  60.             // 表示件数を変更
  61.             \$('.disp-number').change(function() {
  62.                 var dispNumber = \$(this).val();
  63.                 \$('#disp_number').val(dispNumber);
  64.                 \$('#pageno').val(1);
  65.                 \$(\"#form1\").submit();
  66.             });
  67.         });
  68.         \$('.ec-modal-wrap').on('click', function(e) {
  69.             // モーダル内の処理は外側にバブリングさせない
  70.             e.stopPropagation();
  71.         });
  72.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  73.             \$('.ec-modal').hide()
  74.         });
  75.     </script>
  76. ";
  77.         
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  81.     }
  82.     // line 39
  83.     public function block_main($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  90.         // line 40
  91.         echo "    <div class=\"ec-pageHeader contentHeader\">
  92.         <h1>";
  93.         // line 41
  94.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新着の質問"), "html"nulltrue);
  95.         echo "</h1>
  96.     </div>
  97.     ";
  98.         // line 43
  99.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'43$this->source); })()), "category_id", [], "any"falsefalsefalse43), "vars", [], "any"falsefalsefalse43), "errors", [], "any"falsefalsefalse43)) > 0)) {
  100.             // line 44
  101.             echo "        <div class=\"ec-searchnavRole\">
  102.             <p class=\"errormsg text-danger\">";
  103.             // line 45
  104.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  105.             echo "</p>
  106.         </div>
  107.     ";
  108.         } else {
  109.             // line 48
  110.             echo "        <div class=\"ec-searchnavRole\">
  111.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  112.                 ";
  113.             // line 50
  114.             $context['_parent'] = $context;
  115.             $context['_seq'] = twig_ensure_traversable((isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'50$this->source); })()));
  116.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  117.                 // line 51
  118.                 echo "                    <input type=\"hidden\" id=\"";
  119.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse51), "id", [], "any"falsefalsefalse51), "html"nulltrue);
  120.                 echo "\"
  121.                            name=\"";
  122.                 // line 52
  123.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse52), "full_name", [], "any"falsefalsefalse52), "html"nulltrue);
  124.                 echo "\"
  125.                            ";
  126.                 // line 53
  127.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse53), "value", [], "any"falsefalsefalse53))) {
  128.                     echo "value=\"";
  129.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse53), "value", [], "any"falsefalsefalse53), "html"nulltrue);
  130.                     echo "\" ";
  131.                 }
  132.                 echo "/>
  133.                 ";
  134.             }
  135.             $_parent $context['_parent'];
  136.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  137.             $context array_intersect_key($context$_parent) + $_parent;
  138.             // line 55
  139.             echo "            </form>
  140.             ";
  141.             // line 74
  142.             echo "            <div class=\"ec-searchnavRole__infos\">
  143.                 <div class=\"ec-searchnavRole__counter\">
  144.                     ";
  145.             // line 82
  146.             echo "                </div>
  147.                 ";
  148.             // line 83
  149.             if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'83$this->source); })()), "totalItemCount", [], "any"falsefalsefalse83) > 0)) {
  150.                 // line 84
  151.                 echo "                    <div class=\"ec-searchnavRole__actions\">
  152.                         <div class=\"ec-select\">
  153.                             ";
  154.                 // line 86
  155.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'86$this->source); })()), "disp_number", [], "any"falsefalsefalse86), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  156.                 echo "
  157.                             ";
  158.                 // line 88
  159.                 echo "                        </div>
  160.                     </div>
  161.                 ";
  162.             }
  163.             // line 91
  164.             echo "            </div>
  165.         </div>
  166.         ";
  167.             // line 93
  168.             if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'93$this->source); })()), "totalItemCount", [], "any"falsefalsefalse93) > 0)) {
  169.                 // line 94
  170.                 echo "            <div class=\"ec-shelfRole\">
  171.                 <ul class=\"reply\">
  172.                     ";
  173.                 // line 96
  174.                 $context['_parent'] = $context;
  175.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'96$this->source); })()));
  176.                 foreach ($context['_seq'] as $context["_key"] => $context["Contact"]) {
  177.                     // line 97
  178.                     echo "                        <li class=\"reply__list\">
  179.                             <div class=\"reply__list__image\">
  180.                                 <div class=\"reply__list__image__block\">
  181.                                     ";
  182.                     // line 100
  183.                     if (twig_get_attribute($this->env$this->source$context["Contact"], "Product", [], "any"falsefalsefalse100)) {
  184.                         // line 101
  185.                         echo "                                        <img src=\"";
  186.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Contact"], "Product", [], "any"falsefalsefalse101), "main_list_image", [], "any"falsefalsefalse101)), "save_image"), "html"nulltrue);
  187.                         echo "\" alt=\"\">
  188.                                     ";
  189.                     } else {
  190.                         // line 103
  191.                         echo "                                        <img src=\"";
  192.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("no_image_product.png""save_image"), "html"nulltrue);
  193.                         echo "\" alt=\"\">
  194.                                     ";
  195.                     }
  196.                     // line 105
  197.                     echo "                                </div>
  198.                             </div>
  199.                             <div class=\"reply__list__content\">
  200.                                 <p class=\"reply__list__date\">
  201.                                     質問日: ";
  202.                     // line 109
  203.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->envtwig_get_attribute($this->env$this->source$context["Contact"], "create_date", [], "any"falsefalsefalse109)), "html"nulltrue);
  204.                     echo "
  205.                                 </p>
  206.                                 ";
  207.                     // line 111
  208.                     if (twig_get_attribute($this->env$this->source$context["Contact"], "Product", [], "any"falsefalsefalse111)) {
  209.                         // line 112
  210.                         echo "                                    <a class=\"reply__list__title\" href=\"";
  211.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Contact"], "Product", [], "any"falsefalsefalse112), "id", [], "any"falsefalsefalse112)]), "html"nulltrue);
  212.                         echo "\">
  213.                                         <strong>";
  214.                         // line 113
  215.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Contact"], "Product", [], "any"falsefalsefalse113), "name", [], "any"falsefalsefalse113), "html"nulltrue);
  216.                         echo "</strong>
  217.                                     </a>
  218.                                 ";
  219.                     }
  220.                     // line 116
  221.                     echo "                                <p class=\"reply__list__detail\">
  222.                                     ";
  223.                     // line 117
  224.                     echo twig_nl2br(twig_get_attribute($this->env$this->source$context["Contact"], "contents", [], "any"falsefalsefalse117));
  225.                     echo "
  226.                                 </p>
  227.                                 <div class=\"accrodion-list reply__list__answer\">
  228.                                     <button class=\"accordion-btn reply__list__answer__btn\"><span>サイトより回答</span><p class=\"mark\"></p></button>
  229.                                     <div class=\"accordion__content reply__list__answer__content\">
  230.                                             <p class=\"reply__list__answer__date\">回答日時:";
  231.                     // line 122
  232.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->envtwig_get_attribute($this->env$this->source$context["Contact"], "reply_date", [], "any"falsefalsefalse122)), "html"nulltrue);
  233.                     echo "</p>
  234.                                             <p class=\"reply__list__answer__detail\">
  235.                                                 ";
  236.                     // line 124
  237.                     echo twig_nl2br(twig_get_attribute($this->env$this->source$context["Contact"], "reply", [], "any"falsefalsefalse124));
  238.                     echo "
  239.                                             </p>
  240.                                     </div>
  241.                                 </div>
  242.                             </div>
  243.                         </li>
  244.                     ";
  245.                 }
  246.                 $_parent $context['_parent'];
  247.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Contact'], $context['_parent'], $context['loop']);
  248.                 $context array_intersect_key($context$_parent) + $_parent;
  249.                 // line 131
  250.                 echo "                </ul>
  251.             </div>
  252.             <div class=\"ec-modal\">
  253.                 <div class=\"ec-modal-overlay\">
  254.                     <div class=\"ec-modal-wrap\">
  255.                         <div class=\"ec-modal-box\">
  256.                             <div class=\"ec-role\">
  257.                                 <div class=\"ec-modal-icon\">
  258.                                     <img src=\"";
  259.                 // line 139
  260.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon/icon_cart.png""user_data"), "html"nulltrue);
  261.                 echo "\" alt=\"\">
  262.                                 </div>
  263.                             </div>
  264.                         </div>
  265.                         <div id=\"ec-modal-header\" class=\"text-center\">";
  266.                 // line 143
  267.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  268.                 echo "</div>
  269.                     </div>
  270.                 </div>
  271.             </div>
  272.             <div class=\"ec-pagerRole\">
  273.                 ";
  274.                 // line 148
  275.                 $this->loadTemplate("pager.twig""@ContactManagement42/Product/contact.twig"148)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'148$this->source); })()), "paginationData", [], "any"falsefalsefalse148)]));
  276.                 // line 149
  277.                 echo "            </div>
  278.         ";
  279.             }
  280.             // line 151
  281.             echo "    ";
  282.         }
  283.         
  284.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  285.         
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  287.     }
  288.     public function getTemplateName()
  289.     {
  290.         return "@ContactManagement42/Product/contact.twig";
  291.     }
  292.     public function isTraitable()
  293.     {
  294.         return false;
  295.     }
  296.     public function getDebugInfo()
  297.     {
  298.         return array (  303 => 151,  299 => 149,  297 => 148,  289 => 143,  282 => 139,  272 => 131,  259 => 124,  254 => 122,  246 => 117,  243 => 116,  237 => 113,  232 => 112,  230 => 111,  225 => 109,  219 => 105,  213 => 103,  207 => 101,  205 => 100,  200 => 97,  196 => 96,  192 => 94,  190 => 93,  186 => 91,  181 => 88,  177 => 86,  173 => 84,  171 => 83,  168 => 82,  164 => 74,  161 => 55,  149 => 53,  145 => 52,  140 => 51,  136 => 50,  132 => 48,  126 => 45,  123 => 44,  121 => 43,  116 => 41,  113 => 40,  103 => 39,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  299.     }
  300.     public function getSourceContext()
  301.     {
  302.         return new Source("{#
  303. This file is part of EC-CUBE
  304. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  305. http://www.ec-cube.co.jp/
  306. For the full copyright and license information, please view the LICENSE
  307. file that was distributed with this source code.
  308. #}
  309. {% extends 'default_frame.twig' %}
  310. {% set body_class = 'product_page' %}
  311. {% block javascript %}
  312.     <script>
  313.         \$(function() {
  314.             // 表示件数を変更
  315.             \$('.disp-number').change(function() {
  316.                 var dispNumber = \$(this).val();
  317.                 \$('#disp_number').val(dispNumber);
  318.                 \$('#pageno').val(1);
  319.                 \$(\"#form1\").submit();
  320.             });
  321.         });
  322.         \$('.ec-modal-wrap').on('click', function(e) {
  323.             // モーダル内の処理は外側にバブリングさせない
  324.             e.stopPropagation();
  325.         });
  326.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  327.             \$('.ec-modal').hide()
  328.         });
  329.     </script>
  330. {% endblock %}
  331. {% block main %}
  332.     <div class=\"ec-pageHeader contentHeader\">
  333.         <h1>{{ '新着の質問'|trans }}</h1>
  334.     </div>
  335.     {% if search_form.category_id.vars.errors|length > 0 %}
  336.         <div class=\"ec-searchnavRole\">
  337.             <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  338.         </div>
  339.     {% else %}
  340.         <div class=\"ec-searchnavRole\">
  341.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  342.                 {% for item in search_form %}
  343.                     <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  344.                            name=\"{{ item.vars.full_name }}\"
  345.                            {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  346.                 {% endfor %}
  347.             </form>
  348.             {# <div class=\"ec-searchnavRole__topicpath\">
  349.                 <ol class=\"ec-topicpath\">
  350.                     <li class=\"ec-topicpath__item\"><a href=\"{{ url('product_list') }}\">{{ '全て'|trans }}</a>
  351.                     </li>
  352.                     {% if Category is not null %}
  353.                         {% for Path in Category.path %}
  354.                             <li class=\"ec-topicpath__divider\">|</li>
  355.                             <li class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\"><a
  356.                                         href=\"{{ url('product_list') }}?category_id={{ Path.id }}\">{{ Path.name }}</a>
  357.                             </li>
  358.                         {% endfor %}
  359.                     {% endif %}
  360.                     {% if search_form.vars.value and search_form.vars.value.name %}
  361.                         <li class=\"ec-topicpath__divider\">|</li>
  362.                         <li class=\"ec-topicpath__item\">{{ '「%name%」の検索結果'|trans({ '%name%': search_form.vars.value.name }) }}</li>
  363.                     {% endif %}
  364.                 </ol>
  365.             </div> #}
  366.             <div class=\"ec-searchnavRole__infos\">
  367.                 <div class=\"ec-searchnavRole__counter\">
  368.                     {# {% if pagination.totalItemCount > 0 %}
  369.                         <p class=\"ec-searchnavRole__counter__title\">検索結果</p>
  370.                         {{ '<p class=\"ec-searchnavRole__counter__number\">%count%件</p>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  371.                     {% else %}
  372.                         <span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
  373.                     {% endif %} #}
  374.                 </div>
  375.                 {% if pagination.totalItemCount > 0 %}
  376.                     <div class=\"ec-searchnavRole__actions\">
  377.                         <div class=\"ec-select\">
  378.                             {{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }}
  379.                             {# {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by'}}) }} #}
  380.                         </div>
  381.                     </div>
  382.                 {% endif %}
  383.             </div>
  384.         </div>
  385.         {% if pagination.totalItemCount > 0 %}
  386.             <div class=\"ec-shelfRole\">
  387.                 <ul class=\"reply\">
  388.                     {% for Contact in pagination %}
  389.                         <li class=\"reply__list\">
  390.                             <div class=\"reply__list__image\">
  391.                                 <div class=\"reply__list__image__block\">
  392.                                     {% if Contact.Product %}
  393.                                         <img src=\"{{ asset(Contact.Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"\">
  394.                                     {% else %}
  395.                                         <img src=\"{{ asset('no_image_product.png', 'save_image') }}\" alt=\"\">
  396.                                     {% endif %}
  397.                                 </div>
  398.                             </div>
  399.                             <div class=\"reply__list__content\">
  400.                                 <p class=\"reply__list__date\">
  401.                                     質問日: {{Contact.create_date|date_day}}
  402.                                 </p>
  403.                                 {% if Contact.Product %}
  404.                                     <a class=\"reply__list__title\" href=\"{{ url('product_detail', {'id': Contact.Product.id}) }}\">
  405.                                         <strong>{{Contact.Product.name}}</strong>
  406.                                     </a>
  407.                                 {% endif %}
  408.                                 <p class=\"reply__list__detail\">
  409.                                     {{ Contact.contents|raw|nl2br }}
  410.                                 </p>
  411.                                 <div class=\"accrodion-list reply__list__answer\">
  412.                                     <button class=\"accordion-btn reply__list__answer__btn\"><span>サイトより回答</span><p class=\"mark\"></p></button>
  413.                                     <div class=\"accordion__content reply__list__answer__content\">
  414.                                             <p class=\"reply__list__answer__date\">回答日時:{{Contact.reply_date|date_day}}</p>
  415.                                             <p class=\"reply__list__answer__detail\">
  416.                                                 {{ Contact.reply|raw|nl2br }}
  417.                                             </p>
  418.                                     </div>
  419.                                 </div>
  420.                             </div>
  421.                         </li>
  422.                     {% endfor %}
  423.                 </ul>
  424.             </div>
  425.             <div class=\"ec-modal\">
  426.                 <div class=\"ec-modal-overlay\">
  427.                     <div class=\"ec-modal-wrap\">
  428.                         <div class=\"ec-modal-box\">
  429.                             <div class=\"ec-role\">
  430.                                 <div class=\"ec-modal-icon\">
  431.                                     <img src=\"{{ asset('assets/img/icon/icon_cart.png', 'user_data') }}\" alt=\"\">
  432.                                 </div>
  433.                             </div>
  434.                         </div>
  435.                         <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  436.                     </div>
  437.                 </div>
  438.             </div>
  439.             <div class=\"ec-pagerRole\">
  440.                 {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  441.             </div>
  442.         {% endif %}
  443.     {% endif %}
  444. {% endblock %}
  445. ""@ContactManagement42/Product/contact.twig""/home/bravers/bravers.xbiz.jp/public_html/app/Plugin/ContactManagement42/Resource/template/Product/contact.twig");
  446.     }
  447. }