var/cache/dev/twig/79/796f64c528e75cfb15d0f0019e633f2c.php line 55

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. /* Mail/question.twig */
  14. class __TwigTemplate_299e9a34d265f9c9cb1871ec3ff4e81b 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.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mail/question.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mail/question.twig"));
  42.         // line 13
  43.         $context["body_class"] = "question_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""Mail/question.twig"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "    <link rel=\"stylesheet\" href=\"/stylesheets/jquery.efo.css\">
  62.     <link rel=\"stylesheet\" href=\"/stylesheets/mail.css?20230217\">
  63.     <link rel=\"stylesheet\" href=\"/stylesheets/mypage.css?20211226\">
  64.     <link rel=\"stylesheet\" href=\"/stylesheets/topcss.min.css\">
  65.     <link rel=\"stylesheet\" href=\"/stylesheets/base_stylesheet2.css\">
  66.     <link rel=\"stylesheet\" href=\"/stylesheets/sp_common.css\">
  67.     <link rel=\"stylesheet\" href=\"/stylesheets/first_view.css?20180302_01\">
  68.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.6.1/css/all.css\">
  69.     <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">
  70.     <link rel=\"stylesheet\" href=\"/stylesheets/jquery.fbnr.css?20170629_01\">
  71. ";
  72.         
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.     }
  77.     // line 28
  78.     public function block_javascript($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  85.         // line 29
  86.         echo "    <script src=\"/javascripts/jquery-ui.min.js\" type=\"text/javascript\"></script>
  87.     <script src=\"/javascripts/jquery.efo.js\" type=\"text/javascript\"></script>
  88.     <script>
  89.         \$(function () {
  90.             var efo_elm = \$(\"[class^=efo]\").efo({
  91.                 confirmation: { enabled: false, form: document.forms.fm },
  92.                 notification: { enabled: true },
  93.                 validation: { bind: 'efo_change' },
  94.                 tooltipping: { enabled: true },
  95.                 observation: { enabled: true }
  96.             }).on('efo_afterValidate', function (event, data) {
  97.                 if (data.remaining > 0) {
  98.                     \$('#btn_kakunin_off').show();
  99.                     \$('#btn_kakunin').hide();
  100.                 } else {
  101.                     \$('#btn_kakunin_off').hide();
  102.                     \$('#btn_kakunin').show();
  103.                 }
  104.             });
  105.             var efo = \$.data(efo_elm, 'plugin_efo');
  106.             \$('#btn_kakunin_off').on('click', function (event, ui) {
  107.                 if (efo.remaining > 0) {
  108.                     alert('未入力、もしくは入力間違いの項目が' + efo.remaining + '個あります。');
  109.                     return false;
  110.                 }
  111.             });
  112.             \$('#btn_kakunin').click(function () {
  113.                 if (!document.getElementById('privacy1').checked) {
  114.                     document.getElementById('privacy1').focus();
  115.                     alert('利用目的に同意していただく必要があります。');
  116.                     return false;
  117.                 }
  118.                 \$('#mail_question').submit();
  119.             });
  120.         });
  121.     </script>
  122. ";
  123.         
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  125.         
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  127.     }
  128.     // line 68
  129.     public function block_main($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  136.         // line 69
  137.         echo "    <div id=\"pankuzu\" class=\"ec-layoutRole__contents\">
  138.         <ul itemscope=\"\" itemtype=\"https://schema.org/BreadcrumbList\">
  139.             <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
  140.                 <meta itemprop=\"position\" content=\"1\">
  141.                 <a href=\"/\" itemprop=\"item\"><span itemprop=\"name\">ユニフォーム通販TOP</span></a>
  142.                 &nbsp;&gt;&nbsp;
  143.             </li>
  144.             <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
  145.                 <meta itemprop=\"position\" content=\"2\">
  146.                 <a href=\"/item/";
  147.         // line 78
  148.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'78$this->source); })()), "goods_id", [], "any"falsefalsetrue78), 78$this->source), "html"nulltrue);
  149.         echo ".html\" itemprop=\"item\">
  150.                     <span itemprop=\"name\">";
  151.         // line 79
  152.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'79$this->source); })()), "goods_name", [], "any"falsefalsetrue79), 79$this->source), "html"nulltrue);
  153.         echo "</span>
  154.                 </a>
  155.                 &nbsp;&gt;&nbsp;
  156.             </li>
  157.             <li>
  158.                 <span class=\"nowpage\">商品について質問する</span>
  159.             </li>
  160.         </ul>
  161.     </div>
  162.     <div id=\"mail_content\" class=\"pc mail-question\">
  163.         <table class=\"product-table\">
  164.             <tr>
  165.                 <td class=\"product-name\">";
  166.         // line 91
  167.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'91$this->source); })()), "goods_name", [], "any"falsefalsetrue91), 91$this->source), "html"nulltrue);
  168.         echo "</td>
  169.                 <td class=\"product-code\">";
  170.         // line 92
  171.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'92$this->source); })()), "gp_katabans", [], "any"falsefalsetrue92), 92$this->source), "html"nulltrue);
  172.         echo "</td>
  173.                 <td class=\"product-price\">";
  174.         // line 93
  175.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'93$this->source); })()), "prices", [], "any"falsefalsetrue93), 93$this->source), "html"nulltrue);
  176.         echo "</td>
  177.             </tr>
  178.         </table>
  179.         <div class=\"page-title\">
  180.             <h3>商品についての問合せ</h3>
  181.         </div>
  182.         <p style=\"margin: 5px;\">
  183.             <span>
  184.                 下記の項目をご入力ください。<br>
  185.                 入力が完了しましたら、画面下の「次へ」ボタンを押してください。確認画面に移動します。<br>
  186.             </span>
  187.             <span class=\"red\">
  188.                 ※の項目は必須入力です。<br>
  189.                 必ずお名前とメールアドレスを入力してください。折り返しご連絡させて頂きます。
  190.             </span>
  191.         </p>
  192.         <form name=\"mail_question\" id=\"mail_question\" method=\"post\"
  193.               action=\"";
  194.         // line 113
  195.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mail_question", ["goods_id" => twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'113$this->source); })()), "goods_id", [], "any"falsefalsetrue113)]), "html"nulltrue);
  196.         echo "\">
  197.             ";
  198.         // line 114
  199.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'114$this->source); })()), "_token", [], "any"falsefalsetrue114), 114$this->source), 'widget');
  200.         echo "
  201.             <div class=\"page-title\">
  202.                 <h3>商品についてのお問い合せ内容の入力</h3>
  203.             </div>
  204.             <table class=\"new_input left\" style=\"margin:0px;\">
  205.                 <tbody>
  206.                 <tr>
  207.                     <th class=\"h\">お名前</th>
  208.                     <td class=\"c1\" style=\"padding-left: 8px;\">
  209.                         <div class=\"ec-halfInput ec-input";
  210.         // line 123
  211.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'123$this->source); })()), "user_name", [], "any"falsefalsetrue123), 123$this->source))) ? (" error") : (""));
  212.         echo "\">
  213.                             ";
  214.         // line 124
  215.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'124$this->source); })()), "user_name", [], "any"falsefalsetrue124), 124$this->source), 'widget', ["attr" => ["id" => "user_name""class" => "efo-required""data-efo-validate-required" => "お名前をご入力ください""placeholder" => "(例)山田 太郎"]]);
  216.         // line 131
  217.         echo "
  218.                             ";
  219.         // line 132
  220.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'132$this->source); })()), "user_name", [], "any"falsefalsetrue132), 132$this->source), 'errors');
  221.         echo "
  222.                         </div>
  223.                     </td>
  224.                 </tr>
  225.                 <tr>
  226.                     <th class=\"h\">メールアドレス</th>
  227.                     <td class=\"c1\">
  228.                         <div class=\"ec-input";
  229.         // line 139
  230.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'139$this->source); })()), "mail", [], "any"falsefalsetrue139), "first", [], "any"falsefalsetrue139), 139$this->source))) ? (" error") : (""));
  231.         echo "\">
  232.                             ";
  233.         // line 140
  234.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'140$this->source); })()), "mail", [], "any"falsefalsetrue140), "first", [], "any"falsefalsetrue140), 140$this->source), 'widget', ["attr" => ["id" => "question_mail_first""class" => "efo-required-mail w350""data-efo-validate-required" => "メールアドレスをご入力ください""placeholder" => "(例)info@l-m.co.jp"]]);
  235.         // line 147
  236.         echo "
  237.                             ";
  238.         // line 148
  239.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'148$this->source); })()), "mail", [], "any"falsefalsetrue148), "first", [], "any"falsefalsetrue148), 148$this->source), 'errors');
  240.         echo "
  241.                         </div>
  242.                         <div class=\"ec-input";
  243.         // line 150
  244.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'150$this->source); })()), "mail", [], "any"falsefalsetrue150), "second", [], "any"falsefalsetrue150), 150$this->source))) ? (" error") : (""));
  245.         echo "\">
  246.                             <label for=\"question_mail_second\" style=\"margin-top:1em;\">確認のためもう一度入力してください</label>
  247.                             ";
  248.         // line 152
  249.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'152$this->source); })()), "mail", [], "any"falsefalsetrue152), "second", [], "any"falsefalsetrue152), 152$this->source), 'widget', ["attr" => ["id" => "question_mail_second""class" => "efo-required-mail w350""data-efo-validate-required" => "メールアドレスをご入力ください""placeholder" => "確認のためもう一度入力してください"]]);
  250.         // line 159
  251.         echo "
  252.                             ";
  253.         // line 160
  254.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'160$this->source); })()), "mail", [], "any"falsefalsetrue160), "second", [], "any"falsefalsetrue160), 160$this->source), 'errors');
  255.         echo "
  256.                         </div>
  257.                     </td>
  258.                 </tr>
  259.                 <tr>
  260.                     <th class=\"h\">お問合せ内容</th>
  261.                     <td class=\"c1\">
  262.                         <div class=\"ec-input";
  263.         // line 167
  264.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'167$this->source); })()), "question", [], "any"falsefalsetrue167), 167$this->source))) ? (" error") : (""));
  265.         echo "\">
  266.                             ";
  267.         // line 168
  268.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'168$this->source); })()), "question", [], "any"falsefalsetrue168), 168$this->source), 'widget', ["attr" => ["id" => "question""class" => "efo-required""style" => "width: 80%; height: 160px; padding: 6px; box-sizing: border-box;""data-efo-validate-required" => "お問い合わせ内容をご入力ください"]]);
  269.         // line 175
  270.         echo "
  271.                             ";
  272.         // line 176
  273.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'176$this->source); })()), "question", [], "any"falsefalsetrue176), 176$this->source), 'errors');
  274.         echo "
  275.                         </div>
  276.                     </td>
  277.                 </tr>
  278.                 </tbody>
  279.             </table>
  280.             <div class=\"page-title\">
  281.                 <h3>個人情報の取扱いについての同意</h3>
  282.             </div>
  283.             <table class=\"new_input left\">
  284.                 <tbody>
  285.                     <tr>
  286.                         <td colspan=\"2\" style=\"padding:10px;border-left:none;\">
  287.                             <div id=\"privacy_box\">
  288.                                 ";
  289.         // line 190
  290.         echo $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetPrivacy3();
  291.         echo "
  292.                             </div>
  293.                         </td>
  294.                     </tr>
  295.                     <tr>
  296.                         <th class=\"h last-th\">個人情報の<br>取扱いについて</th>
  297.                         <td class=\"c3\" style=\"border:none;\">
  298.                             <label class=\"lb-agree\">
  299.                                 <input type=\"radio\" name=\"privacy\" id=\"privacy1\" value=\"1\"> 同意する
  300.                             </label>
  301.                             <label class=\"lb-agree\">
  302.                                 <input type=\"radio\" name=\"privacy\" id=\"privacy2\" value=\"2\" checked=\"checked\"> 同意しない
  303.                             </label>
  304.                             <br>ユニフォームタウンをご利用いただくには、上記「個人情報の取扱いについての同意」にご同意いただく必要がございます。<br>
  305.                             <div align=\"right\" style=\"padding-bottom:4px\">
  306.                                 <a href=\"/company/privacy/\" target=\"_blank\">→個人情報保護方針</a>
  307.                             </div>
  308.                         </td>
  309.                     </tr>
  310.                 </tbody>
  311.             </table>
  312.             <br class=\"clear\">
  313.             <div class=\"submit-btns\">
  314.                 <input
  315.                     type=\"image\"
  316.                     src=\"/images/regi/btn_kakunin_off.gif\"
  317.                     width=\"205\"
  318.                     height=\"45\"
  319.                     alt=\"未入力、もしくは入力間違いの必須項目があります。\"
  320.                     id=\"btn_kakunin_off\"
  321.                 >
  322.                 <input
  323.                     type=\"image\"
  324.                     name=\"mode\"
  325.                     value=\"confirm\"
  326.                     src=\"/images/contact/btn_kakunin.gif\"
  327.                     width=\"298\"
  328.                     height=\"38\"
  329.                     alt=\"確認画面へ進む\"
  330.                     id=\"btn_kakunin\"
  331.                     style=\"display:none;\"
  332.                 >
  333.             </div>
  334.         </form>
  335.         <table style=\"margin-top: 10px;\">
  336.             <tbody>
  337.             <tr>
  338.                 <td>
  339.                     <div id=\"DigiCertClickID_2phMqn4D\"><div id=\"DigiCertClickID_2phMqn4DSeal\" style=\"text-decoration: none; text-align: center; display: block; vertical-align: baseline; font-size: 100%; font-style: normal; text-indent: 0px; line-height: 1; width: auto; margin: 0px auto; padding: 0px; border: 0px; background: transparent; position: relative; inset: 0px; clear: both; float: none; cursor: default;\"><img src=\"//seal.digicert.com/seals/cascade/?tag=2phMqn4D&amp;referer=";
  340.         // line 238
  341.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'238$this->source); })()), "UT_URL", [], "any"falsefalsetrue238), 238$this->source), "html"nulltrue);
  342.         echo "&amp;format=png&amp;seal_number=15&amp;seal_size=s&amp;an=min\" alt=\"DigiCert Seal\" tabindex=\"0\" style=\"text-decoration: none; text-align: center; display: block; vertical-align: baseline; font-size: 100%; font-style: normal; text-indent: 0px; line-height: 1; width: auto; margin: 0px auto; padding: 0px; border: 0px; background: transparent; position: relative; inset: 0px; clear: both; float: none; cursor: pointer;\"></div></div>
  343.                     <script type=\"text/javascript\">
  344.                         var __dcid = __dcid || [];__dcid.push([\"DigiCertClickID_2phMqn4D\", \"15\", \"s\", \"black\", \"2phMqn4D\"]);(function(){var cid=document.createElement(\"script\");cid.async=true;cid.src=\"//seal.digicert.com/seals/cascade/seal.min.js\";var s = document.getElementsByTagName(\"script\");var ls = s[(s.length - 1)];ls.parentNode.insertBefore(cid, ls.nextSibling);}());
  345.                     </script>
  346.                     <script async=\"\" src=\"//seal.digicert.com/seals/cascade/seal.min.js\"></script>
  347.                 </td>
  348.                 <td style=\"padding: 10px 0px 0px 10px; font-size: 12px; line-height: 120%;\">
  349.                     当サイトはデジサート・ジャパン合同会社により「サイトの運営主体の実在証明」及び「SSL暗号化通信による情報の保護」の認証証明を受けており、お客様よりご登録いただく個人情報やクレジットカード番号等の情報は
  350.                     SSL(Secure Socket Layer)という信用性・安全性の高い暗号通信技術で暗号化され、第三者の盗聴、改ざん、成りすましなどから保護されます。安心してご利用ください。<br>
  351.                 </td>
  352.             </tr>
  353.             </tbody>
  354.         </table>
  355.         <br class=\"clear\">
  356.     </div>
  357. ";
  358.         
  359.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  360.         
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  362.     }
  363.     public function getTemplateName()
  364.     {
  365.         return "Mail/question.twig";
  366.     }
  367.     public function isTraitable()
  368.     {
  369.         return false;
  370.     }
  371.     public function getDebugInfo()
  372.     {
  373.         return array (  369 => 238,  318 => 190,  301 => 176,  298 => 175,  296 => 168,  292 => 167,  282 => 160,  279 => 159,  277 => 152,  272 => 150,  267 => 148,  264 => 147,  262 => 140,  258 => 139,  248 => 132,  245 => 131,  243 => 124,  239 => 123,  227 => 114,  223 => 113,  200 => 93,  196 => 92,  192 => 91,  177 => 79,  173 => 78,  162 => 69,  152 => 68,  105 => 29,  95 => 28,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  374.     }
  375.     public function getSourceContext()
  376.     {
  377.         return new Source("{#
  378. This file is part of EC-CUBE
  379. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  380. http://www.ec-cube.co.jp/
  381. For the full copyright and license information, please view the LICENSE
  382. file that was distributed with this source code.
  383. #}
  384. {% extends 'default_frame.twig' %}
  385. {% set body_class = 'question_page' %}
  386. {% block stylesheet %}
  387.     <link rel=\"stylesheet\" href=\"/stylesheets/jquery.efo.css\">
  388.     <link rel=\"stylesheet\" href=\"/stylesheets/mail.css?20230217\">
  389.     <link rel=\"stylesheet\" href=\"/stylesheets/mypage.css?20211226\">
  390.     <link rel=\"stylesheet\" href=\"/stylesheets/topcss.min.css\">
  391.     <link rel=\"stylesheet\" href=\"/stylesheets/base_stylesheet2.css\">
  392.     <link rel=\"stylesheet\" href=\"/stylesheets/sp_common.css\">
  393.     <link rel=\"stylesheet\" href=\"/stylesheets/first_view.css?20180302_01\">
  394.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.6.1/css/all.css\">
  395.     <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">
  396.     <link rel=\"stylesheet\" href=\"/stylesheets/jquery.fbnr.css?20170629_01\">
  397. {% endblock %}
  398. {% block javascript %}
  399.     <script src=\"/javascripts/jquery-ui.min.js\" type=\"text/javascript\"></script>
  400.     <script src=\"/javascripts/jquery.efo.js\" type=\"text/javascript\"></script>
  401.     <script>
  402.         \$(function () {
  403.             var efo_elm = \$(\"[class^=efo]\").efo({
  404.                 confirmation: { enabled: false, form: document.forms.fm },
  405.                 notification: { enabled: true },
  406.                 validation: { bind: 'efo_change' },
  407.                 tooltipping: { enabled: true },
  408.                 observation: { enabled: true }
  409.             }).on('efo_afterValidate', function (event, data) {
  410.                 if (data.remaining > 0) {
  411.                     \$('#btn_kakunin_off').show();
  412.                     \$('#btn_kakunin').hide();
  413.                 } else {
  414.                     \$('#btn_kakunin_off').hide();
  415.                     \$('#btn_kakunin').show();
  416.                 }
  417.             });
  418.             var efo = \$.data(efo_elm, 'plugin_efo');
  419.             \$('#btn_kakunin_off').on('click', function (event, ui) {
  420.                 if (efo.remaining > 0) {
  421.                     alert('未入力、もしくは入力間違いの項目が' + efo.remaining + '個あります。');
  422.                     return false;
  423.                 }
  424.             });
  425.             \$('#btn_kakunin').click(function () {
  426.                 if (!document.getElementById('privacy1').checked) {
  427.                     document.getElementById('privacy1').focus();
  428.                     alert('利用目的に同意していただく必要があります。');
  429.                     return false;
  430.                 }
  431.                 \$('#mail_question').submit();
  432.             });
  433.         });
  434.     </script>
  435. {% endblock %}
  436. {% block main %}
  437.     <div id=\"pankuzu\" class=\"ec-layoutRole__contents\">
  438.         <ul itemscope=\"\" itemtype=\"https://schema.org/BreadcrumbList\">
  439.             <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
  440.                 <meta itemprop=\"position\" content=\"1\">
  441.                 <a href=\"/\" itemprop=\"item\"><span itemprop=\"name\">ユニフォーム通販TOP</span></a>
  442.                 &nbsp;&gt;&nbsp;
  443.             </li>
  444.             <li itemprop=\"itemListElement\" itemscope=\"\" itemtype=\"http://schema.org/ListItem\">
  445.                 <meta itemprop=\"position\" content=\"2\">
  446.                 <a href=\"/item/{{ goods.goods_id }}.html\" itemprop=\"item\">
  447.                     <span itemprop=\"name\">{{ goods.goods_name }}</span>
  448.                 </a>
  449.                 &nbsp;&gt;&nbsp;
  450.             </li>
  451.             <li>
  452.                 <span class=\"nowpage\">商品について質問する</span>
  453.             </li>
  454.         </ul>
  455.     </div>
  456.     <div id=\"mail_content\" class=\"pc mail-question\">
  457.         <table class=\"product-table\">
  458.             <tr>
  459.                 <td class=\"product-name\">{{ goods.goods_name }}</td>
  460.                 <td class=\"product-code\">{{ goods.gp_katabans }}</td>
  461.                 <td class=\"product-price\">{{ goods.prices }}</td>
  462.             </tr>
  463.         </table>
  464.         <div class=\"page-title\">
  465.             <h3>商品についての問合せ</h3>
  466.         </div>
  467.         <p style=\"margin: 5px;\">
  468.             <span>
  469.                 下記の項目をご入力ください。<br>
  470.                 入力が完了しましたら、画面下の「次へ」ボタンを押してください。確認画面に移動します。<br>
  471.             </span>
  472.             <span class=\"red\">
  473.                 ※の項目は必須入力です。<br>
  474.                 必ずお名前とメールアドレスを入力してください。折り返しご連絡させて頂きます。
  475.             </span>
  476.         </p>
  477.         <form name=\"mail_question\" id=\"mail_question\" method=\"post\"
  478.               action=\"{{ url('mail_question', {goods_id: goods.goods_id}) }}\">
  479.             {{ form_widget(form._token) }}
  480.             <div class=\"page-title\">
  481.                 <h3>商品についてのお問い合せ内容の入力</h3>
  482.             </div>
  483.             <table class=\"new_input left\" style=\"margin:0px;\">
  484.                 <tbody>
  485.                 <tr>
  486.                     <th class=\"h\">お名前</th>
  487.                     <td class=\"c1\" style=\"padding-left: 8px;\">
  488.                         <div class=\"ec-halfInput ec-input{{ has_errors(form.user_name) ? ' error' }}\">
  489.                             {{ form_widget(form.user_name, {
  490.                                 attr: {
  491.                                     'id': 'user_name',
  492.                                     'class': 'efo-required',
  493.                                     'data-efo-validate-required': 'お名前をご入力ください',
  494.                                     'placeholder': '(例)山田 太郎'
  495.                                 }
  496.                             }) }}
  497.                             {{ form_errors(form.user_name) }}
  498.                         </div>
  499.                     </td>
  500.                 </tr>
  501.                 <tr>
  502.                     <th class=\"h\">メールアドレス</th>
  503.                     <td class=\"c1\">
  504.                         <div class=\"ec-input{{ has_errors(form.mail.first) ? ' error' }}\">
  505.                             {{ form_widget(form.mail.first, {
  506.                                 attr: {
  507.                                     'id': 'question_mail_first',
  508.                                     'class': 'efo-required-mail w350',
  509.                                     'data-efo-validate-required': 'メールアドレスをご入力ください',
  510.                                     'placeholder': '(例)info@l-m.co.jp'
  511.                                 }
  512.                             }) }}
  513.                             {{ form_errors(form.mail.first) }}
  514.                         </div>
  515.                         <div class=\"ec-input{{ has_errors(form.mail.second) ? ' error' }}\">
  516.                             <label for=\"question_mail_second\" style=\"margin-top:1em;\">確認のためもう一度入力してください</label>
  517.                             {{ form_widget(form.mail.second, {
  518.                                 attr: {
  519.                                     'id': 'question_mail_second',
  520.                                     'class': 'efo-required-mail w350',
  521.                                     'data-efo-validate-required': 'メールアドレスをご入力ください',
  522.                                     'placeholder': '確認のためもう一度入力してください'
  523.                                 }
  524.                             }) }}
  525.                             {{ form_errors(form.mail.second) }}
  526.                         </div>
  527.                     </td>
  528.                 </tr>
  529.                 <tr>
  530.                     <th class=\"h\">お問合せ内容</th>
  531.                     <td class=\"c1\">
  532.                         <div class=\"ec-input{{ has_errors(form.question) ? ' error' }}\">
  533.                             {{ form_widget(form.question, {
  534.                                 attr: {
  535.                                     'id': 'question',
  536.                                     'class': 'efo-required',
  537.                                     'style': 'width: 80%; height: 160px; padding: 6px; box-sizing: border-box;',
  538.                                     'data-efo-validate-required': 'お問い合わせ内容をご入力ください',
  539.                                 }
  540.                             }) }}
  541.                             {{ form_errors(form.question) }}
  542.                         </div>
  543.                     </td>
  544.                 </tr>
  545.                 </tbody>
  546.             </table>
  547.             <div class=\"page-title\">
  548.                 <h3>個人情報の取扱いについての同意</h3>
  549.             </div>
  550.             <table class=\"new_input left\">
  551.                 <tbody>
  552.                     <tr>
  553.                         <td colspan=\"2\" style=\"padding:10px;border-left:none;\">
  554.                             <div id=\"privacy_box\">
  555.                                 {{ GetPrivacy3()|raw }}
  556.                             </div>
  557.                         </td>
  558.                     </tr>
  559.                     <tr>
  560.                         <th class=\"h last-th\">個人情報の<br>取扱いについて</th>
  561.                         <td class=\"c3\" style=\"border:none;\">
  562.                             <label class=\"lb-agree\">
  563.                                 <input type=\"radio\" name=\"privacy\" id=\"privacy1\" value=\"1\"> 同意する
  564.                             </label>
  565.                             <label class=\"lb-agree\">
  566.                                 <input type=\"radio\" name=\"privacy\" id=\"privacy2\" value=\"2\" checked=\"checked\"> 同意しない
  567.                             </label>
  568.                             <br>ユニフォームタウンをご利用いただくには、上記「個人情報の取扱いについての同意」にご同意いただく必要がございます。<br>
  569.                             <div align=\"right\" style=\"padding-bottom:4px\">
  570.                                 <a href=\"/company/privacy/\" target=\"_blank\">→個人情報保護方針</a>
  571.                             </div>
  572.                         </td>
  573.                     </tr>
  574.                 </tbody>
  575.             </table>
  576.             <br class=\"clear\">
  577.             <div class=\"submit-btns\">
  578.                 <input
  579.                     type=\"image\"
  580.                     src=\"/images/regi/btn_kakunin_off.gif\"
  581.                     width=\"205\"
  582.                     height=\"45\"
  583.                     alt=\"未入力、もしくは入力間違いの必須項目があります。\"
  584.                     id=\"btn_kakunin_off\"
  585.                 >
  586.                 <input
  587.                     type=\"image\"
  588.                     name=\"mode\"
  589.                     value=\"confirm\"
  590.                     src=\"/images/contact/btn_kakunin.gif\"
  591.                     width=\"298\"
  592.                     height=\"38\"
  593.                     alt=\"確認画面へ進む\"
  594.                     id=\"btn_kakunin\"
  595.                     style=\"display:none;\"
  596.                 >
  597.             </div>
  598.         </form>
  599.         <table style=\"margin-top: 10px;\">
  600.             <tbody>
  601.             <tr>
  602.                 <td>
  603.                     <div id=\"DigiCertClickID_2phMqn4D\"><div id=\"DigiCertClickID_2phMqn4DSeal\" style=\"text-decoration: none; text-align: center; display: block; vertical-align: baseline; font-size: 100%; font-style: normal; text-indent: 0px; line-height: 1; width: auto; margin: 0px auto; padding: 0px; border: 0px; background: transparent; position: relative; inset: 0px; clear: both; float: none; cursor: default;\"><img src=\"//seal.digicert.com/seals/cascade/?tag=2phMqn4D&amp;referer={{ eccube_config.UT_URL }}&amp;format=png&amp;seal_number=15&amp;seal_size=s&amp;an=min\" alt=\"DigiCert Seal\" tabindex=\"0\" style=\"text-decoration: none; text-align: center; display: block; vertical-align: baseline; font-size: 100%; font-style: normal; text-indent: 0px; line-height: 1; width: auto; margin: 0px auto; padding: 0px; border: 0px; background: transparent; position: relative; inset: 0px; clear: both; float: none; cursor: pointer;\"></div></div>
  604.                     <script type=\"text/javascript\">
  605.                         var __dcid = __dcid || [];__dcid.push([\"DigiCertClickID_2phMqn4D\", \"15\", \"s\", \"black\", \"2phMqn4D\"]);(function(){var cid=document.createElement(\"script\");cid.async=true;cid.src=\"//seal.digicert.com/seals/cascade/seal.min.js\";var s = document.getElementsByTagName(\"script\");var ls = s[(s.length - 1)];ls.parentNode.insertBefore(cid, ls.nextSibling);}());
  606.                     </script>
  607.                     <script async=\"\" src=\"//seal.digicert.com/seals/cascade/seal.min.js\"></script>
  608.                 </td>
  609.                 <td style=\"padding: 10px 0px 0px 10px; font-size: 12px; line-height: 120%;\">
  610.                     当サイトはデジサート・ジャパン合同会社により「サイトの運営主体の実在証明」及び「SSL暗号化通信による情報の保護」の認証証明を受けており、お客様よりご登録いただく個人情報やクレジットカード番号等の情報は
  611.                     SSL(Secure Socket Layer)という信用性・安全性の高い暗号通信技術で暗号化され、第三者の盗聴、改ざん、成りすましなどから保護されます。安心してご利用ください。<br>
  612.                 </td>
  613.             </tr>
  614.             </tbody>
  615.         </table>
  616.         <br class=\"clear\">
  617.     </div>
  618. {% endblock %}
  619. ""Mail/question.twig""/var/www/html/app/template/default/Mail/question.twig");
  620.     }
  621.     
  622.     public function checkSecurity()
  623.     {
  624.         static $tags = array("set" => 13);
  625.         static $filters = array("escape" => 78"raw" => 190);
  626.         static $functions = array("url" => 113"form_widget" => 114"has_errors" => 123"form_errors" => 132"GetPrivacy3" => 190);
  627.         try {
  628.             $this->sandbox->checkSecurity(
  629.                 ['set'],
  630.                 ['escape''raw'],
  631.                 ['url''form_widget''has_errors''form_errors''GetPrivacy3']
  632.             );
  633.         } catch (SecurityError $e) {
  634.             $e->setSourceContext($this->source);
  635.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  636.                 $e->setTemplateLine($tags[$e->getTagName()]);
  637.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  638.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  639.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  640.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  641.             }
  642.             throw $e;
  643.         }
  644.     }
  645. }