<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* __string_template__7136fead47d684a399939b5f96125a11 */
class __TwigTemplate_17de73b2663915511e3714d637164e8f extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 5
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__string_template__7136fead47d684a399939b5f96125a11"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__string_template__7136fead47d684a399939b5f96125a11"));
// line 7
$context["body_class"] = "mypage";
// line 5
$this->parent = $this->loadTemplate("default_frame.twig", "__string_template__7136fead47d684a399939b5f96125a11", 5);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 1
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 2
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/login.css", "user_data"), "html", null, true);
echo "?";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "His"), "html", null, true);
echo "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 10
echo " ";
$context["user_agent"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, true, 10), "headers", [], "any", false, false, true, 10), "get", [0 => "User-Agent"], "method", false, false, true, 10);
// line 11
echo " ";
$context["ref"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, true, 11), "headers", [], "any", false, true, true, 11), "get", [0 => "Referer"], "method", true, true, true, 11)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, true, 11), "headers", [], "any", false, true, true, 11), "get", [0 => "Referer"], "method", false, false, true, 11), 11, $this->source), "")) : (""));
// line 12
echo " ";
$context["from"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, true, 12), "query", [], "any", false, false, true, 12), "get", [0 => "from"], "method", false, false, true, 12)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, true, 12), "query", [], "any", false, false, true, 12), "get", [0 => "from"], "method", false, false, true, 12)) : (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, true, 12), "cookies", [], "any", false, false, true, 12), "get", [0 => "from_param"], "method", false, false, true, 12)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 12, $this->source); })()), "request", [], "any", false, false, true, 12), "cookies", [], "any", false, false, true, 12), "get", [0 => "from_param"], "method", false, false, true, 12)) : (""))));
// line 13
echo "
";
// line 14
$context["isFromX"] = false;
// line 15
echo "
";
// line 16
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
(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
(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
(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 || 0 === strpos($__internal_compile_0, $__internal_compile_1))))) {
// line 21
echo " ";
$context["isFromX"] = true;
// line 22
echo " ";
}
// line 23
echo " ";
$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); })()));
// line 24
echo " ";
// line 25
echo " ";
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); })())) {
// line 26
echo " <div>
<img class=\"ig_browser_alert\" src=\"";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/ig_browser_alert.png", "user_data"), "html", null, true);
echo "\">
</div>
";
}
// line 30
echo " <div class=\"ecloginArea\" style=\"margin-top: 20px;\">
<dl class=\"ec-TitleFormLogin\">
<dt class=\"loginTitle\">シコメルストア通販の会員の方</dt>
<dd class=\"loginTitleTxet\" style=\"line-height: 25px; margin: 5px 30px 5px 30px;\">本サイトに登録済みの方はメールアドレスとパスワードまたはLineアカウントでログインください。<br><strong style=\"color: red;\">シコメルアプリの会員情報とは異なります。</strong><br>本サイトのご利用がはじめての方は無料会員登録をお願いいたします。</dd>
</dl>
<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
// line 35
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
echo "\">
";
// line 36
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 36, $this->source); })()), "session", [], "any", false, false, true, 36), "flashBag", [], "any", false, false, true, 36), "has", [0 => "eccube.login.target.path"], "method", false, false, true, 36)) {
// line 37
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "session", [], "any", false, false, true, 37), "flashBag", [], "any", false, false, true, 37), "peek", [0 => "eccube.login.target.path"], "method", false, false, true, 37));
foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
// line 38
echo " <input type=\"hidden\" name=\"_target_path\" value=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["targetPath"], 38, $this->source), "html", null, true);
echo "\"/>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " ";
}
// line 41
echo " ";
$context["targetPath"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "request", [], "any", false, false, true, 41), "get", [0 => "_target_path"], "method", false, false, true, 41);
// line 42
echo " ";
if ((isset($context["targetPath"]) || array_key_exists("targetPath", $context) ? $context["targetPath"] : (function () { throw new RuntimeError('Variable "targetPath" does not exist.', 42, $this->source); })())) {
// line 43
echo " <input type=\"hidden\" name=\"_target_path\" value=\"";
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");
echo "\">
";
}
// line 45
echo " <div class=\"ec-login ecLoginNewMemberRegistration\" style=\"padding-bottom: 30px;\">
<div class=\"ec-login__input\">
<div class=\"ec-input\">
<div id=\"ec-login_pass\"></div>
";
// line 49
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 49, $this->source); })())) {
// line 50
echo " <p class=\"ec-errorMessage\" style=\"font-size: 14px;\">";
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", false, false, true, 50), 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", false, false, true, 50), 50, $this->source), "validators"), "html", null, true));
echo "</p>
";
}
// line 52
echo " <ul class=\"ecloginInputArea\">
<li class=\"ecloginInputBox\">
<ul class=\"ecloginInputIdArea\">
<li class=\"ecLoginSubtext\">メールアドレス</li>
<li id=\"ec-login_customer_code\"></li>
<li class=\"ecloginInputIdBox\">
";
// line 58
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", false, false, true, 58), 58, $this->source), 'widget', ["attr" => ["style" => "ime-mode: disabled;", "placeholder" => "メールアドレス", "autofocus" => true]]);
echo "
</li>
</ul>
</li>
<li class=\"ecloginInputBox\">
<ul class=\"ecloginInputPassArea\">
<li class=\"ecLoginSubtext\">パスワード</li>
<li id=\"ec-login_pass_1\"></li>
<li class=\"ec-change-inputPassword ecloginInputPassBox\" style=\"margin-bottom: 16px;\">
";
// line 67
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", false, false, true, 67), 67, $this->source), 'widget', ["attr" => ["placeholder" => "パスワード"]]);
echo "
</li>
</ul>
</li>
</ul>
</div>
<div class=\"ec-optionRememberMe\">
<div class=\"form-check\">
<input type=\"checkbox\" id=\"login_memory\" name=\"login_memory\" class=\"form-check-input\" value=\"1\">
<label class=\"form-check-label\" for=\"login_memory\">次回から自動的にログインする</label></div>
</div>
</div>
<div class=\"ec-login__actions\">
<button class=\"btn btn-lg btn-primary-common btn-login__width\" style=\"color:white;\">ログイン</button>
</div>
<div class=\"ec-ForgotAndContact\" style=\"margin-top: 10px; margin-bottom: 20px; text-align: center;\">
<span class=\"ecForgotContactBox\">パスワードを忘れた方はパスワードの<a href=\"";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
echo "\" style=\"color: #337ab7; text-decoration: underline;\">再発行ページ</a>からパスワードの再発行を行ってください。</span>
</div>
";
// line 86
if (((isset($context["fromLine"]) || array_key_exists("fromLine", $context) ? $context["fromLine"] : (function () { throw new RuntimeError('Variable "fromLine" does not exist.', 86, $this->source); })()) == false)) {
// line 87
echo " <div class=\"line_login_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 40px;\">
<div style=\"max-width: 320px; margin: auto;\">
<a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/login-line.png", "user_data"), "html", null, true);
echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
</div>
</div>
";
// line 95
echo " </div>
";
}
// line 97
echo " </div>
<input type=\"hidden\" name=\"fromLine\" value=\"";
// line 98
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));
echo "\"/>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 99
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
</form>
</div>
<div class=\"ec-loginContentBottom\">
<div class=\"ecLoginNewMemberRegistrationArea\">
<dl class=\"ec-TitleFormLogin\">
<dt class=\"loginTitle\">シコメルストア通販をはじめてご利用の方<br>無料新規会員登録</dt>
<dd class=\"loginTitleTxet\">ご利用がはじめての方は会員登録をお願いいたします。</dd>
</dl>
<div class=\"ec-login ec-login-right\">
<div class=\"line_entry_1_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
<div style=\"max-width: 320px; margin: auto;\">
<a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"";
// line 111
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_line.png", "user_data"), "html", null, true);
echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
<div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
<img src=\"";
// line 113
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/line_relate_3000.png", "user_data"), "html", null, true);
echo "\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
</div>
</div>
";
// line 120
echo " </div>
<div class=\"ec-login__actions\">
<a href=\"";
// line 122
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry_before");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_mail_white.png", "user_data"), "html", null, true);
echo "\"></a>
</div>
</div>
</div>
<div class=\"ecExistingEntryArea\">
<dl class=\"ec-TitleFormLogin\">
<dt class=\"loginTitle\">シコメルアプリをご利用されたことがあり<br>通販サイトのご利用がはじめての方</dt>
<dd class=\"loginTitleTxet\">本通販サイトの会員登録をお願いいたします。</dd>
</dl>
<div class=\"ec-login ec-loginContentGroupBtn\">
<div class=\"line_entry_2_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
<div style=\"max-width: 320px; margin: auto;\">
<a href=\"https://web-order-stg.shikomel.com/plugin_line_login\" class=\"line-button\"><img src=\"";
// line 134
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_line.png", "user_data"), "html", null, true);
echo "\" alt=\"Lineログイン\" style=\"max-width: 100%; border-radius: 10px;\"></a>
<div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
<img src=\"";
// line 136
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/line_relate_3000.png", "user_data"), "html", null, true);
echo "\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
</div>
</div>
";
// line 143
echo " </div>
<div class=\"ec-login__actions\">
<a href=\"";
// line 145
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry_before");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/entry_mail_white.png", "user_data"), "html", null, true);
echo "\"></a>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "__string_template__7136fead47d684a399939b5f96125a11";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% block stylesheet %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/login.css', 'user_data') }}?{{ 'now'|date('His') }}\">
{% endblock %}
{% extends 'default_frame.twig' %}
{% set body_class = 'mypage' %}
{% block main %}
{% set user_agent = app.request.headers.get('User-Agent') %}
{% set ref = app.request.headers.get('Referer')|default('') %}
{% set from = app.request.query.get('from') ?: app.request.cookies.get('from_param') ?: '' %}
{% set isFromX = false %}
{% if user_agent matches '/twitter/i'
or ref matches '/https?:\\\\/\\\\/t\\\\.co\\\\//i'
or ref matches '/https?:\\\\/\\\\/(www\\\\.)?x\\\\.com\\\\//i'
or from starts with 'x_'
%}
{% set isFromX = true %}
{% endif %}
{% set is_in_app_browser = user_agent matches '/instagram/i' or user_agent matches '/facebook/i' or isFromX %}
{# IGブラウザの場合 #}
{% if is_in_app_browser %}
<div>
<img class=\"ig_browser_alert\" src=\"{{ asset(\"assets/img/common/ig_browser_alert.png\", \"user_data\") }}\">
</div>
{% endif %}
<div class=\"ecloginArea\" style=\"margin-top: 20px;\">
<dl class=\"ec-TitleFormLogin\">
<dt class=\"loginTitle\">シコメルストア通販の会員の方</dt>
<dd class=\"loginTitleTxet\" style=\"line-height: 25px; margin: 5px 30px 5px 30px;\">本サイトに登録済みの方はメールアドレスとパスワードまたはLineアカウントでログインください。<br><strong style=\"color: red;\">シコメルアプリの会員情報とは異なります。</strong><br>本サイトのご利用がはじめての方は無料会員登録をお願いいたします。</dd>
</dl>
<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
{% if app.session.flashBag.has('eccube.login.target.path') %}
{% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
<input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\"/>
{% endfor %}
{% endif %}
{% set targetPath = app.request.get('_target_path') %}
{% if targetPath %}
<input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath|e('html_attr') }}\">
{% endif %}
<div class=\"ec-login ecLoginNewMemberRegistration\" style=\"padding-bottom: 30px;\">
<div class=\"ec-login__input\">
<div class=\"ec-input\">
<div id=\"ec-login_pass\"></div>
{% if error %}
<p class=\"ec-errorMessage\" style=\"font-size: 14px;\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
{% endif %}
<ul class=\"ecloginInputArea\">
<li class=\"ecloginInputBox\">
<ul class=\"ecloginInputIdArea\">
<li class=\"ecLoginSubtext\">メールアドレス</li>
<li id=\"ec-login_customer_code\"></li>
<li class=\"ecloginInputIdBox\">
{{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'メールアドレス', 'autofocus': true}}) }}
</li>
</ul>
</li>
<li class=\"ecloginInputBox\">
<ul class=\"ecloginInputPassArea\">
<li class=\"ecLoginSubtext\">パスワード</li>
<li id=\"ec-login_pass_1\"></li>
<li class=\"ec-change-inputPassword ecloginInputPassBox\" style=\"margin-bottom: 16px;\">
{{ form_widget(form.login_pass, {'attr': {'placeholder' : 'パスワード' }}) }}
</li>
</ul>
</li>
</ul>
</div>
<div class=\"ec-optionRememberMe\">
<div class=\"form-check\">
<input type=\"checkbox\" id=\"login_memory\" name=\"login_memory\" class=\"form-check-input\" value=\"1\">
<label class=\"form-check-label\" for=\"login_memory\">次回から自動的にログインする</label></div>
</div>
</div>
<div class=\"ec-login__actions\">
<button class=\"btn btn-lg btn-primary-common btn-login__width\" style=\"color:white;\">ログイン</button>
</div>
<div class=\"ec-ForgotAndContact\" style=\"margin-top: 10px; margin-bottom: 20px; text-align: center;\">
<span class=\"ecForgotContactBox\">パスワードを忘れた方はパスワードの<a href=\"{{ url('forgot') }}\" style=\"color: #337ab7; text-decoration: underline;\">再発行ページ</a>からパスワードの再発行を行ってください。</span>
</div>
{% if fromLine == false %}
<div class=\"line_login_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 40px;\">
<div style=\"max-width: 320px; margin: auto;\">
<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>
</div>
</div>
{# Line連携ボタンをPHPで埋め込み #}
</div>
{% endif %}
</div>
<input type=\"hidden\" name=\"fromLine\" value=\"{{ fromLine ? 1 : 0 }}\"/>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
</form>
</div>
<div class=\"ec-loginContentBottom\">
<div class=\"ecLoginNewMemberRegistrationArea\">
<dl class=\"ec-TitleFormLogin\">
<dt class=\"loginTitle\">シコメルストア通販をはじめてご利用の方<br>無料新規会員登録</dt>
<dd class=\"loginTitleTxet\">ご利用がはじめての方は会員登録をお願いいたします。</dd>
</dl>
<div class=\"ec-login ec-login-right\">
<div class=\"line_entry_1_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
<div style=\"max-width: 320px; margin: auto;\">
<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>
<div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
<img src=\"{{ asset(\"assets/img/common/line_relate_3000.png\", \"user_data\") }}\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
</div>
</div>
{# Line連携ボタンをPHPで埋め込み #}
</div>
<div class=\"ec-login__actions\">
<a href=\"{{ url('entry_before') }}\"><img src=\"{{ asset(\"assets/img/common/entry_mail_white.png\", \"user_data\") }}\"></a>
</div>
</div>
</div>
<div class=\"ecExistingEntryArea\">
<dl class=\"ec-TitleFormLogin\">
<dt class=\"loginTitle\">シコメルアプリをご利用されたことがあり<br>通販サイトのご利用がはじめての方</dt>
<dd class=\"loginTitleTxet\">本通販サイトの会員登録をお願いいたします。</dd>
</dl>
<div class=\"ec-login ec-loginContentGroupBtn\">
<div class=\"line_entry_2_replace\"><div class=\"ec-login__actions\" style=\"margin-top: 10px; margin-bottom: 40px;\">
<div style=\"max-width: 320px; margin: auto;\">
<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>
<div style=\"color: #525263; text-align: center; margin-bottom: 20px; line-height: 30px;\">
<img src=\"{{ asset(\"assets/img/common/line_relate_3000.png\", \"user_data\") }}\" alt=\"メールログイン\" style=\"width: 277px;\">
</div>
</div>
</div>
{# Line連携ボタンをPHPで埋め込み #}
</div>
<div class=\"ec-login__actions\">
<a href=\"{{ url('entry_before') }}\"><img src=\"{{ asset(\"assets/img/common/entry_mail_white.png\", \"user_data\") }}\"></a>
</div>
</div>
</div>
</div>
{% endblock %}
", "__string_template__7136fead47d684a399939b5f96125a11", "");
}
public function checkSecurity()
{
static $tags = array("set" => 7, "if" => 16, "for" => 37);
static $filters = array("escape" => 2, "date" => 2, "default" => 11, "e" => 43, "nl2br" => 50, "trans" => 50);
static $functions = array("asset" => 2, "url" => 35, "form_widget" => 58, "csrf_token" => 99);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'date', 'default', 'e', 'nl2br', 'trans'],
['asset', 'url', 'form_widget', 'csrf_token']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}