var/cache/dev/twig/ac/ac007ccf70863532d3c57cb260795eb8.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* __string_template__7136fead47d684a399939b5f96125a11 */
  14. class __TwigTemplate_17de73b2663915511e3714d637164e8f 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.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 5
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__7136fead47d684a399939b5f96125a11"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__7136fead47d684a399939b5f96125a11"));
  41.         // line 7
  42.         $context["body_class"] = "mypage";
  43.         // line 5
  44.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__7136fead47d684a399939b5f96125a11"5);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 1
  52.     public function block_stylesheet($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  59.         // line 2
  60.         echo "    <link rel=\"stylesheet\" href=\"";
  61.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/login.css""user_data"), "html"nulltrue);
  62.         echo "?";
  63.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""His"), "html"nulltrue);
  64.         echo "\">
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 9
  72.     public function block_main($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  79.         // line 10
  80.         echo "    ";
  81.         $context["user_agent"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'10$this->source); })()), "request", [], "any"falsefalsetrue10), "headers", [], "any"falsefalsetrue10), "get", [=> "User-Agent"], "method"falsefalsetrue10);
  82.         // line 11
  83.         echo "    ";
  84.         $context["ref"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruetrue11), "headers", [], "any"falsetruetrue11), "get", [=> "Referer"], "method"truetruetrue11)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruetrue11), "headers", [], "any"falsetruetrue11), "get", [=> "Referer"], "method"falsefalsetrue11), 11$this->source), "")) : (""));
  85.         // line 12
  86.         echo "    ";
  87.         $context["from"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsetrue12), "query", [], "any"falsefalsetrue12), "get", [=> "from"], "method"falsefalsetrue12)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsetrue12), "query", [], "any"falsefalsetrue12), "get", [=> "from"], "method"falsefalsetrue12)) : (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsetrue12), "cookies", [], "any"falsefalsetrue12), "get", [=> "from_param"], "method"falsefalsetrue12)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsetrue12), "cookies", [], "any"falsefalsetrue12), "get", [=> "from_param"], "method"falsefalsetrue12)) : (""))));
  88.         // line 13
  89.         echo "
  90.     ";
  91.         // line 14
  92.         $context["isFromX"] = false;
  93.         // line 15
  94.         echo "
  95.     ";
  96.         // line 16
  97.         if ((((preg_match("/twitter/i", (isset($context["user_agent"]) || array_key_exists("user_agent"$context) ? $context["user_agent"] : (function () { throw new RuntimeError('Variable "user_agent" does not exist.'16$this->source); })())) || preg_match("/https?:\\/\\/t\\.co\\//i",         // line 17
  98. (isset($context["ref"]) || array_key_exists("ref"$context) ? $context["ref"] : (function () { throw new RuntimeError('Variable "ref" does not exist.'17$this->source); })()))) || preg_match("/https?:\\/\\/(www\\.)?x\\.com\\//i",         // line 18
  99. (isset($context["ref"]) || array_key_exists("ref"$context) ? $context["ref"] : (function () { throw new RuntimeError('Variable "ref" does not exist.'18$this->source); })()))) || (is_string($__internal_compile_0 =         // line 19
  100. (isset($context["from"]) || array_key_exists("from"$context) ? $context["from"] : (function () { throw new RuntimeError('Variable "from" does not exist.'19$this->source); })())) && is_string($__internal_compile_1 "x_") && ('' === $__internal_compile_1 || === strpos($__internal_compile_0$__internal_compile_1))))) {
  101.             // line 21
  102.             echo "        ";
  103.             $context["isFromX"] = true;
  104.             // line 22
  105.             echo "    ";
  106.         }
  107.         // line 23
  108.         echo "    ";
  109.         $context["is_in_app_browser"] = ((preg_match("/instagram/i", (isset($context["user_agent"]) || array_key_exists("user_agent"$context) ? $context["user_agent"] : (function () { throw new RuntimeError('Variable "user_agent" does not exist.'23$this->source); })())) || preg_match("/facebook/i", (isset($context["user_agent"]) || array_key_exists("user_agent"$context) ? $context["user_agent"] : (function () { throw new RuntimeError('Variable "user_agent" does not exist.'23$this->source); })()))) || (isset($context["isFromX"]) || array_key_exists("isFromX"$context) ? $context["isFromX"] : (function () { throw new RuntimeError('Variable "isFromX" does not exist.'23$this->source); })()));
  110.         // line 24
  111.         echo "    ";
  112.         // line 25
  113.         echo "    ";
  114.         if ((isset($context["is_in_app_browser"]) || array_key_exists("is_in_app_browser"$context) ? $context["is_in_app_browser"] : (function () { throw new RuntimeError('Variable "is_in_app_browser" does not exist.'25$this->source); })())) {
  115.             // line 26
  116.             echo "    <div>
  117.         <img class=\"ig_browser_alert\" src=\"";
  118.             // line 27
  119.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/ig_browser_alert.png""user_data"), "html"nulltrue);
  120.             echo "\">
  121.     </div>
  122.     ";
  123.         }
  124.         // line 30
  125.         echo "    <div class=\"ecloginArea\" style=\"margin-top: 20px;\">
  126.       <dl class=\"ec-TitleFormLogin\">
  127.         <dt class=\"loginTitle\">シコメルストア通販の会員の方</dt>
  128.         <dd class=\"loginTitleTxet\" style=\"line-height: 25px; margin: 5px 30px 5px 30px;\">本サイトに登録済みの方はメールアドレスとパスワードまたはLineアカウントでログインください。<br><strong style=\"color: red;\">シコメルアプリの会員情報とは異なります。</strong><br>本サイトのご利用がはじめての方は無料会員登録をお願いいたします。</dd>
  129.       </dl>
  130.       <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
  131.         // line 35
  132.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  133.         echo "\">
  134.         ";
  135.         // line 36
  136.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'36$this->source); })()), "session", [], "any"falsefalsetrue36), "flashBag", [], "any"falsefalsetrue36), "has", [=> "eccube.login.target.path"], "method"falsefalsetrue36)) {
  137.             // line 37
  138.             echo "            ";
  139.             $context['_parent'] = $context;
  140.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'37$this->source); })()), "session", [], "any"falsefalsetrue37), "flashBag", [], "any"falsefalsetrue37), "peek", [=> "eccube.login.target.path"], "method"falsefalsetrue37));
  141.             foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
  142.                 // line 38
  143.                 echo "                <input type=\"hidden\" name=\"_target_path\" value=\"";
  144.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["targetPath"], 38$this->source), "html"nulltrue);
  145.                 echo "\"/>
  146.             ";
  147.             }
  148.             $_parent $context['_parent'];
  149.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
  150.             $context array_intersect_key($context$_parent) + $_parent;
  151.             // line 40
  152.             echo "        ";
  153.         }
  154.         // line 41
  155.         echo "        ";
  156.         $context["targetPath"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'41$this->source); })()), "request", [], "any"falsefalsetrue41), "get", [=> "_target_path"], "method"falsefalsetrue41);
  157.         // line 42
  158.         echo "        ";
  159.         if ((isset($context["targetPath"]) || array_key_exists("targetPath"$context) ? $context["targetPath"] : (function () { throw new RuntimeError('Variable "targetPath" does not exist.'42$this->source); })())) {
  160.             // line 43
  161.             echo "            <input type=\"hidden\" name=\"_target_path\" value=\"";
  162.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["targetPath"]) || array_key_exists("targetPath"$context) ? $context["targetPath"] : (function () { throw new RuntimeError('Variable "targetPath" does not exist.'43$this->source); })()), 43$this->source), "html_attr");
  163.             echo "\">
  164.         ";
  165.         }
  166.         // line 45
  167.         echo "        <div class=\"ec-login ecLoginNewMemberRegistration\" style=\"padding-bottom: 30px;\">
  168.           <div class=\"ec-login__input\">
  169.             <div class=\"ec-input\">
  170.               <div id=\"ec-login_pass\"></div>
  171.                 ";
  172.         // line 49
  173.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'49$this->source); })())) {
  174.             // line 50
  175.             echo "                    <p class=\"ec-errorMessage\" style=\"font-size: 14px;\">";
  176.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'50$this->source); })()), "messageKey", [], "any"falsefalsetrue50), 50$this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'50$this->source); })()), "messageData", [], "any"falsefalsetrue50), 50$this->source), "validators"), "html"nulltrue));
  177.             echo "</p>
  178.                 ";
  179.         }
  180.         // line 52
  181.         echo "              <ul class=\"ecloginInputArea\">
  182.                 <li class=\"ecloginInputBox\">
  183.                   <ul class=\"ecloginInputIdArea\">
  184.                     <li class=\"ecLoginSubtext\">メールアドレス</li>
  185.                     <li id=\"ec-login_customer_code\"></li>
  186.                     <li class=\"ecloginInputIdBox\">
  187.                     ";
  188.         // line 58
  189.         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.'58$this->source); })()), "login_email", [], "any"falsefalsetrue58), 58$this->source), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => "メールアドレス""autofocus" => true]]);
  190.         echo "
  191.                     </li>
  192.                   </ul>
  193.                 </li>
  194.                 <li class=\"ecloginInputBox\">
  195.                   <ul class=\"ecloginInputPassArea\">
  196.                     <li class=\"ecLoginSubtext\">パスワード</li>
  197.                     <li id=\"ec-login_pass_1\"></li>
  198.                     <li class=\"ec-change-inputPassword ecloginInputPassBox\" style=\"margin-bottom: 16px;\">
  199.                       ";
  200.         // line 67
  201.         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.'67$this->source); })()), "login_pass", [], "any"falsefalsetrue67), 67$this->source), 'widget', ["attr" => ["placeholder" => "パスワード"]]);
  202.         echo "
  203.                     </li>
  204.                   </ul>
  205.                 </li>
  206.               </ul>
  207.             </div>
  208.             <div class=\"ec-optionRememberMe\">
  209.                 <div class=\"form-check\">
  210.                     <input type=\"checkbox\" id=\"login_memory\" name=\"login_memory\" class=\"form-check-input\" value=\"1\">
  211.                         <label class=\"form-check-label\" for=\"login_memory\">次回から自動的にログインする</label></div>
  212.                     </div>
  213.                 </div>
  214.           <div class=\"ec-login__actions\">
  215.             <button class=\"btn btn-lg btn-primary-common btn-login__width\" style=\"color:white;\">ログイン</button>
  216.           </div>
  217.           <div class=\"ec-ForgotAndContact\" style=\"margin-top: 10px; margin-bottom: 20px; text-align: center;\">
  218.               <span class=\"ecForgotContactBox\">パスワードを忘れた方はパスワードの<a href=\"";
  219.         // line 83
  220.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  221.         echo "\" style=\"color: #337ab7; text-decoration: underline;\">再発行ページ</a>からパスワードの再発行を行ってください。</span>
  222.           </div>
  223.           
  224.           ";
  225.         // line 86
  226.         if (((isset($context["fromLine"]) || array_key_exists("fromLine"$context) ? $context["fromLine"] : (function () { throw new RuntimeError('Variable "fromLine" does not exist.'86$this->source); })()) == false)) {
  227.             // line 87
  228.             echo "          <div class=\"line_login_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 40px;\">
  229. <div style=\"max-width: 320px; margin: auto;\">
  230. <a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"";
  231.             // line 89
  232.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/login-line.png""user_data"), "html"nulltrue);
  233.             echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
  234. </div>
  235. </div>
  236.           ";
  237.             // line 95
  238.             echo "          </div>
  239.           ";
  240.         }
  241.         // line 97
  242.         echo "        </div>
  243.         <input type=\"hidden\" name=\"fromLine\" value=\"";
  244.         // line 98
  245.         echo (((isset($context["fromLine"]) || array_key_exists("fromLine"$context) ? $context["fromLine"] : (function () { throw new RuntimeError('Variable "fromLine" does not exist.'98$this->source); })())) ? (1) : (0));
  246.         echo "\"/>
  247.         <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  248.         // line 99
  249.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  250.         echo "\">
  251.     </form>
  252.     </div>
  253. <div class=\"ec-loginContentBottom\">
  254.       <div class=\"ecLoginNewMemberRegistrationArea\">
  255.         <dl class=\"ec-TitleFormLogin\">
  256.           <dt class=\"loginTitle\">シコメルストア通販をはじめてご利用の方<br>無料新規会員登録</dt>
  257.           <dd class=\"loginTitleTxet\">ご利用がはじめての方は会員登録をお願いいたします。</dd>
  258.         </dl>
  259.         <div class=\"ec-login ec-login-right\">
  260.           <div class=\"line_entry_1_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
  261. <div style=\"max-width: 320px; margin: auto;\">
  262. <a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"";
  263.         // line 111
  264.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_line.png""user_data"), "html"nulltrue);
  265.         echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
  266. <div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
  267. <img src=\"";
  268.         // line 113
  269.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/line_relate_3000.png""user_data"), "html"nulltrue);
  270.         echo "\" alt=\"メールログイン\" style=\"width: 277px;\">
  271. </div>
  272. </div>
  273. </div>
  274.           ";
  275.         // line 120
  276.         echo "          </div>
  277.           <div class=\"ec-login__actions\">
  278.             <a href=\"";
  279.         // line 122
  280.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry_before");
  281.         echo "\"><img src=\"";
  282.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_mail_white.png""user_data"), "html"nulltrue);
  283.         echo "\"></a>
  284.           </div>
  285.         </div>
  286.       </div>
  287.       <div class=\"ecExistingEntryArea\">
  288.         <dl class=\"ec-TitleFormLogin\">
  289.           <dt class=\"loginTitle\">シコメルアプリをご利用されたことがあり<br>通販サイトのご利用がはじめての方</dt>
  290.           <dd class=\"loginTitleTxet\">本通販サイトの会員登録をお願いいたします。</dd>
  291.         </dl>
  292.         <div class=\"ec-login ec-loginContentGroupBtn\">
  293.           <div class=\"line_entry_2_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
  294. <div style=\"max-width: 320px; margin: auto;\">
  295. <a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"";
  296.         // line 134
  297.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_line.png""user_data"), "html"nulltrue);
  298.         echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
  299. <div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
  300. <img src=\"";
  301.         // line 136
  302.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/line_relate_3000.png""user_data"), "html"nulltrue);
  303.         echo "\" alt=\"メールログイン\" style=\"width: 277px;\">
  304. </div>
  305. </div>
  306. </div>
  307.           ";
  308.         // line 143
  309.         echo "          </div>
  310.           <div class=\"ec-login__actions\">
  311.             <a href=\"";
  312.         // line 145
  313.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry_before");
  314.         echo "\"><img src=\"";
  315.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_mail_white.png""user_data"), "html"nulltrue);
  316.         echo "\"></a>
  317.           </div>
  318.         </div>
  319.       </div>
  320.     </div>
  321. ";
  322.         
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  324.         
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  326.     }
  327.     public function getTemplateName()
  328.     {
  329.         return "__string_template__7136fead47d684a399939b5f96125a11";
  330.     }
  331.     public function isTraitable()
  332.     {
  333.         return false;
  334.     }
  335.     public function getDebugInfo()
  336.     {
  337.         return array (  338 => 145,  334 => 143,  325 => 136,  320 => 134,  303 => 122,  299 => 120,  290 => 113,  285 => 111,  270 => 99,  266 => 98,  263 => 97,  259 => 95,  251 => 89,  247 => 87,  245 => 86,  239 => 83,  220 => 67,  208 => 58,  200 => 52,  194 => 50,  192 => 49,  186 => 45,  180 => 43,  177 => 42,  174 => 41,  171 => 40,  162 => 38,  157 => 37,  155 => 36,  151 => 35,  144 => 30,  138 => 27,  135 => 26,  132 => 25,  130 => 24,  127 => 23,  124 => 22,  121 => 21,  119 => 19,  118 => 18,  117 => 17,  116 => 16,  113 => 15,  111 => 14,  108 => 13,  105 => 12,  102 => 11,  99 => 10,  89 => 9,  74 => 2,  64 => 1,  53 => 5,  51 => 7,  38 => 5,);
  338.     }
  339.     public function getSourceContext()
  340.     {
  341.         return new Source("{% block stylesheet %}
  342.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/login.css', 'user_data') }}?{{ 'now'|date('His') }}\">
  343. {% endblock %}
  344. {% extends 'default_frame.twig' %}
  345. {% set body_class = 'mypage' %}
  346. {% block main %}
  347.     {% set user_agent = app.request.headers.get('User-Agent') %}
  348.     {% set ref = app.request.headers.get('Referer')|default('') %}
  349.     {% set from =  app.request.query.get('from') ?: app.request.cookies.get('from_param') ?: '' %}
  350.     {% set isFromX = false %}
  351.     {% if user_agent matches '/twitter/i'
  352.           or ref matches '/https?:\\\\/\\\\/t\\\\.co\\\\//i'
  353.           or ref matches '/https?:\\\\/\\\\/(www\\\\.)?x\\\\.com\\\\//i'
  354.           or from starts with 'x_'
  355.     %}
  356.         {% set isFromX = true %}
  357.     {% endif %}
  358.     {% set is_in_app_browser = user_agent matches '/instagram/i' or user_agent matches '/facebook/i' or isFromX %}
  359.     {# IGブラウザの場合 #}
  360.     {% if is_in_app_browser %}
  361.     <div>
  362.         <img class=\"ig_browser_alert\" src=\"{{ asset(\"assets/img/common/ig_browser_alert.png\", \"user_data\") }}\">
  363.     </div>
  364.     {% endif %}
  365.     <div class=\"ecloginArea\" style=\"margin-top: 20px;\">
  366.       <dl class=\"ec-TitleFormLogin\">
  367.         <dt class=\"loginTitle\">シコメルストア通販の会員の方</dt>
  368.         <dd class=\"loginTitleTxet\" style=\"line-height: 25px; margin: 5px 30px 5px 30px;\">本サイトに登録済みの方はメールアドレスとパスワードまたはLineアカウントでログインください。<br><strong style=\"color: red;\">シコメルアプリの会員情報とは異なります。</strong><br>本サイトのご利用がはじめての方は無料会員登録をお願いいたします。</dd>
  369.       </dl>
  370.       <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
  371.         {% if app.session.flashBag.has('eccube.login.target.path') %}
  372.             {% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  373.                 <input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\"/>
  374.             {% endfor %}
  375.         {% endif %}
  376.         {% set targetPath = app.request.get('_target_path') %}
  377.         {% if targetPath %}
  378.             <input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath|e('html_attr') }}\">
  379.         {% endif %}
  380.         <div class=\"ec-login ecLoginNewMemberRegistration\" style=\"padding-bottom: 30px;\">
  381.           <div class=\"ec-login__input\">
  382.             <div class=\"ec-input\">
  383.               <div id=\"ec-login_pass\"></div>
  384.                 {% if error %}
  385.                     <p class=\"ec-errorMessage\" style=\"font-size: 14px;\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  386.                 {% endif %}
  387.               <ul class=\"ecloginInputArea\">
  388.                 <li class=\"ecloginInputBox\">
  389.                   <ul class=\"ecloginInputIdArea\">
  390.                     <li class=\"ecLoginSubtext\">メールアドレス</li>
  391.                     <li id=\"ec-login_customer_code\"></li>
  392.                     <li class=\"ecloginInputIdBox\">
  393.                     {{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'メールアドレス', 'autofocus': true}}) }}
  394.                     </li>
  395.                   </ul>
  396.                 </li>
  397.                 <li class=\"ecloginInputBox\">
  398.                   <ul class=\"ecloginInputPassArea\">
  399.                     <li class=\"ecLoginSubtext\">パスワード</li>
  400.                     <li id=\"ec-login_pass_1\"></li>
  401.                     <li class=\"ec-change-inputPassword ecloginInputPassBox\" style=\"margin-bottom: 16px;\">
  402.                       {{ form_widget(form.login_pass,  {'attr': {'placeholder' : 'パスワード' }}) }}
  403.                     </li>
  404.                   </ul>
  405.                 </li>
  406.               </ul>
  407.             </div>
  408.             <div class=\"ec-optionRememberMe\">
  409.                 <div class=\"form-check\">
  410.                     <input type=\"checkbox\" id=\"login_memory\" name=\"login_memory\" class=\"form-check-input\" value=\"1\">
  411.                         <label class=\"form-check-label\" for=\"login_memory\">次回から自動的にログインする</label></div>
  412.                     </div>
  413.                 </div>
  414.           <div class=\"ec-login__actions\">
  415.             <button class=\"btn btn-lg btn-primary-common btn-login__width\" style=\"color:white;\">ログイン</button>
  416.           </div>
  417.           <div class=\"ec-ForgotAndContact\" style=\"margin-top: 10px; margin-bottom: 20px; text-align: center;\">
  418.               <span class=\"ecForgotContactBox\">パスワードを忘れた方はパスワードの<a href=\"{{ url('forgot') }}\" style=\"color: #337ab7; text-decoration: underline;\">再発行ページ</a>からパスワードの再発行を行ってください。</span>
  419.           </div>
  420.           
  421.           {% if fromLine == false %}
  422.           <div class=\"line_login_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 40px;\">
  423. <div style=\"max-width: 320px; margin: auto;\">
  424. <a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"{{ asset(\"assets/img/common/login-line.png\", \"user_data\") }}\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
  425. </div>
  426. </div>
  427.           {# Line連携ボタンをPHPで埋め込み #}
  428.           </div>
  429.           {% endif %}
  430.         </div>
  431.         <input type=\"hidden\" name=\"fromLine\" value=\"{{ fromLine ? 1 : 0 }}\"/>
  432.         <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  433.     </form>
  434.     </div>
  435. <div class=\"ec-loginContentBottom\">
  436.       <div class=\"ecLoginNewMemberRegistrationArea\">
  437.         <dl class=\"ec-TitleFormLogin\">
  438.           <dt class=\"loginTitle\">シコメルストア通販をはじめてご利用の方<br>無料新規会員登録</dt>
  439.           <dd class=\"loginTitleTxet\">ご利用がはじめての方は会員登録をお願いいたします。</dd>
  440.         </dl>
  441.         <div class=\"ec-login ec-login-right\">
  442.           <div class=\"line_entry_1_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
  443. <div style=\"max-width: 320px; margin: auto;\">
  444. <a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"{{ asset(\"assets/img/common/entry_line.png\", \"user_data\") }}\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
  445. <div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
  446. <img src=\"{{ asset(\"assets/img/common/line_relate_3000.png\", \"user_data\") }}\" alt=\"メールログイン\" style=\"width: 277px;\">
  447. </div>
  448. </div>
  449. </div>
  450.           {# Line連携ボタンをPHPで埋め込み #}
  451.           </div>
  452.           <div class=\"ec-login__actions\">
  453.             <a href=\"{{ url('entry_before') }}\"><img src=\"{{ asset(\"assets/img/common/entry_mail_white.png\", \"user_data\") }}\"></a>
  454.           </div>
  455.         </div>
  456.       </div>
  457.       <div class=\"ecExistingEntryArea\">
  458.         <dl class=\"ec-TitleFormLogin\">
  459.           <dt class=\"loginTitle\">シコメルアプリをご利用されたことがあり<br>通販サイトのご利用がはじめての方</dt>
  460.           <dd class=\"loginTitleTxet\">本通販サイトの会員登録をお願いいたします。</dd>
  461.         </dl>
  462.         <div class=\"ec-login ec-loginContentGroupBtn\">
  463.           <div class=\"line_entry_2_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
  464. <div style=\"max-width: 320px; margin: auto;\">
  465. <a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"{{ asset(\"assets/img/common/entry_line.png\", \"user_data\") }}\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
  466. <div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
  467. <img src=\"{{ asset(\"assets/img/common/line_relate_3000.png\", \"user_data\") }}\" alt=\"メールログイン\" style=\"width: 277px;\">
  468. </div>
  469. </div>
  470. </div>
  471.           {# Line連携ボタンをPHPで埋め込み #}
  472.           </div>
  473.           <div class=\"ec-login__actions\">
  474.             <a href=\"{{ url('entry_before') }}\"><img src=\"{{ asset(\"assets/img/common/entry_mail_white.png\", \"user_data\") }}\"></a>
  475.           </div>
  476.         </div>
  477.       </div>
  478.     </div>
  479. {% endblock %}
  480. ""__string_template__7136fead47d684a399939b5f96125a11""");
  481.     }
  482.     
  483.     public function checkSecurity()
  484.     {
  485.         static $tags = array("set" => 7"if" => 16"for" => 37);
  486.         static $filters = array("escape" => 2"date" => 2"default" => 11"e" => 43"nl2br" => 50"trans" => 50);
  487.         static $functions = array("asset" => 2"url" => 35"form_widget" => 58"csrf_token" => 99);
  488.         try {
  489.             $this->sandbox->checkSecurity(
  490.                 ['set''if''for'],
  491.                 ['escape''date''default''e''nl2br''trans'],
  492.                 ['asset''url''form_widget''csrf_token']
  493.             );
  494.         } catch (SecurityError $e) {
  495.             $e->setSourceContext($this->source);
  496.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  497.                 $e->setTemplateLine($tags[$e->getTagName()]);
  498.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  499.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  500.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  501.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  502.             }
  503.             throw $e;
  504.         }
  505.     }
  506. }