<?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;
/* Mypage/login.twig */
class __TwigTemplate_2e98025add7c4991582fb4752c3e92b0 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 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Mypage/login.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Mypage/login.twig"));
// line 13
$context["body_class"] = "mypage";
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Mypage/login.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
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 16
echo "\t<style>
\t\t#login_email,
\t\t#login_pass {
\t\t\tpadding: 16px 12px;
\t\t\twidth: 100%;
\t\t\tborder-width: 1px;
\t\t\tborder-color: #CCCCCC;
\t\t\tborder-radius: 3px;
\t\t\ttext: #BBBBBB;
\t\t\theight: 48px;
\t\t}
\t\t#breadcrumbs {
\t\t\twidth: 100vw;
\t\t\tmargin-left: -50vw;
\t\t\tposition: relative;
\t\t\tleft: 50%;
\t\t}
\t\t@media(max-width: 768px) {
\t\t\t#breadcrumbs {
\t\t\t\tpadding-left: 40px;
\t\t\t}
\t\t}
\t</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 43
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 44
echo "\t<div class=\"pb-20 md:px-6 whitespace-nowrap bg-background-default rounded\">
\t\t<div class=\"flex gap-4 items-start mx-auto w-full pl-[136px] md:pl-0 pt-20 pb-6\">
\t\t\t<hr class=\"md:h-[64px] h-[160px] w-[1px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
\t\t\t<h1 class=\"text-[32px] md:text-xl font-light leading-9 tracking-widest\">新規会員登録・ログイン</h1>
\t\t</div>
\t\t<div class=\"w-full\">
\t\t\t";
// line 50
$context["breadcrumbs"] = [0 => ["name" => "新規会員登録・ログイン"]];
// line 51
echo "\t\t\t";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/breadcrumb.twig");
echo "
\t\t</div>
\t\t<div class=\"max-w-[798px] w-full flex flex-col items-center justify-center mx-auto\">
\t\t\t<div>
\t\t\t\t<div class=\"flex w-full gap-[72px] lg:flex-col lg:gap-10\">
\t\t\t\t\t<div
\t\t\t\t\t\tclass=\"w-1/2 lg:w-full\">
\t\t\t\t\t\t";
// line 59
echo "\t\t\t\t\t\t<h3 class=\"mb-[22px] text-xl font-medium\">はじめてのご利用はこちら</h3>
\t\t\t\t\t\t<a href=\"";
// line 60
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
echo "\" class=\"block text-sm text-center bg-black w-[327px] text-white py-3 rounded-[3px] font-bold hover\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.signup"), "html", null, true);
echo "</a>
\t\t\t\t\t</div>
\t\t\t\t\t<hr class=\"bg-[#F0EDE9] border-none w-[1px] h-[327px] lg:w-[327px] lg:h-[1px]\">
\t\t\t\t\t<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
// line 63
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
echo "\" class=\"w-1/2 lg:w-full\">
\t\t\t\t\t\t";
// line 64
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.', 64, $this->source); })()), "session", [], "any", false, false, true, 64), "flashBag", [], "any", false, false, true, 64), "has", [0 => "eccube.login.target.path"], "method", false, false, true, 64)) {
// line 65
echo "\t\t\t\t\t\t\t";
$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.', 65, $this->source); })()), "session", [], "any", false, false, true, 65), "flashBag", [], "any", false, false, true, 65), "peek", [0 => "eccube.login.target.path"], "method", false, false, true, 65));
foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
// line 66
echo "\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_target_path\" value=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["targetPath"], 66, $this->source), "html", null, true);
echo "\"/>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 68
echo "\t\t\t\t\t\t";
}
// line 69
echo "\t\t\t\t\t\t";
// line 70
echo "\t\t\t\t\t\t<h3 class=\"mb-[22px] text-xl font-medium\">会員の方</h3>
\t\t\t\t\t\t<p class=\"text-lg mb-[18px] font-medium\">ログイン</p>
\t\t\t\t\t\t<div class=\"flex flex-col\">
\t\t\t\t\t\t\t<div class=\"mb-4 text-sm font-medium\">
\t\t\t\t\t\t\t\t<p class=\"mb-2 font-medium\">メールアドレス</p>
\t\t\t\t\t\t\t\t";
// line 75
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.', 75, $this->source); })()), "login_email", [], "any", false, false, true, 75), 75, $this->source), 'widget', ["attr" => ["style" => "ime-mode: disabled;", "placeholder" => "common.mail_address", "autofocus" => true]]);
echo "
\t\t\t\t\t\t\t\t";
// line 76
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.', 76, $this->source); })()), "login_email", [], "any", false, false, true, 76), 76, $this->source), 'errors');
echo "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"mb-10\">
\t\t\t\t\t\t\t\t<p class=\"mb-2 text-sm font-medium\">パスワード</p>
\t\t\t\t\t\t\t\t";
// line 80
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.', 80, $this->source); })()), "login_pass", [], "any", false, false, true, 80), 80, $this->source), 'widget', ["attr" => ["placeholder" => "common.password"]]);
echo "
\t\t\t\t\t\t\t\t";
// line 81
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.', 81, $this->source); })()), "login_pass", [], "any", false, false, true, 81), 81, $this->source), 'errors');
echo "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"flex flex-col items-center\">
\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"mb-4 text-sm bg-red w-[327px] h-[45px] py-3 rounded-[3px] text-white font-bold hover\">";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.login"), "html", null, true);
echo "</button>
\t\t\t\t\t\t\t\t";
// line 85
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 85, $this->source); })())) {
// line 86
echo "\t\t\t\t\t\t\t\t\t<div class=\"!text-red text-xs flex items-center gap-2 pb-2\">
\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 87
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/error.svg"), "html", null, true);
echo "\" alt=\"Error Image\" class=\"w-3 h-3\">
\t\t\t\t\t\t\t\t\t\t<span class=\"flex \">
\t\t\t\t\t\t\t\t\t\t\t";
// line 89
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.', 89, $this->source); })()), "messageKey", [], "any", false, false, true, 89), 89, $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.', 89, $this->source); })()), "messageData", [], "any", false, false, true, 89), 89, $this->source), "validators"), "html", null, true));
echo "
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 93
echo "\t\t\t\t\t\t\t\t<a class=\"border-b border-black leading-4 tracking-widest text-sm font-normal hover\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
echo "\">パスワードを忘れた方</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 96
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t\t<div></div>
\t\t\t</div>
\t\t</div>
\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Mypage/login.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 232 => 96, 225 => 93, 218 => 89, 213 => 87, 210 => 86, 208 => 85, 204 => 84, 198 => 81, 194 => 80, 187 => 76, 183 => 75, 176 => 70, 174 => 69, 171 => 68, 162 => 66, 157 => 65, 155 => 64, 151 => 63, 143 => 60, 140 => 59, 129 => 51, 127 => 50, 119 => 44, 109 => 43, 74 => 16, 64 => 15, 53 => 11, 51 => 13, 38 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'mypage' %}
{% block stylesheet %}
\t<style>
\t\t#login_email,
\t\t#login_pass {
\t\t\tpadding: 16px 12px;
\t\t\twidth: 100%;
\t\t\tborder-width: 1px;
\t\t\tborder-color: #CCCCCC;
\t\t\tborder-radius: 3px;
\t\t\ttext: #BBBBBB;
\t\t\theight: 48px;
\t\t}
\t\t#breadcrumbs {
\t\t\twidth: 100vw;
\t\t\tmargin-left: -50vw;
\t\t\tposition: relative;
\t\t\tleft: 50%;
\t\t}
\t\t@media(max-width: 768px) {
\t\t\t#breadcrumbs {
\t\t\t\tpadding-left: 40px;
\t\t\t}
\t\t}
\t</style>
{% endblock %}
{% block main %}
\t<div class=\"pb-20 md:px-6 whitespace-nowrap bg-background-default rounded\">
\t\t<div class=\"flex gap-4 items-start mx-auto w-full pl-[136px] md:pl-0 pt-20 pb-6\">
\t\t\t<hr class=\"md:h-[64px] h-[160px] w-[1px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
\t\t\t<h1 class=\"text-[32px] md:text-xl font-light leading-9 tracking-widest\">新規会員登録・ログイン</h1>
\t\t</div>
\t\t<div class=\"w-full\">
\t\t\t{% set breadcrumbs = [{'name': \"新規会員登録・ログイン\"}] %}
\t\t\t{{ include('Block/breadcrumb.twig') }}
\t\t</div>
\t\t<div class=\"max-w-[798px] w-full flex flex-col items-center justify-center mx-auto\">
\t\t\t<div>
\t\t\t\t<div class=\"flex w-full gap-[72px] lg:flex-col lg:gap-10\">
\t\t\t\t\t<div
\t\t\t\t\t\tclass=\"w-1/2 lg:w-full\">
\t\t\t\t\t\t{# 新規会員登録 #}
\t\t\t\t\t\t<h3 class=\"mb-[22px] text-xl font-medium\">はじめてのご利用はこちら</h3>
\t\t\t\t\t\t<a href=\"{{url('entry')}}\" class=\"block text-sm text-center bg-black w-[327px] text-white py-3 rounded-[3px] font-bold hover\">{{ 'common.signup'|trans }}</a>
\t\t\t\t\t</div>
\t\t\t\t\t<hr class=\"bg-[#F0EDE9] border-none w-[1px] h-[327px] lg:w-[327px] lg:h-[1px]\">
\t\t\t\t\t<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\" class=\"w-1/2 lg:w-full\">
\t\t\t\t\t\t{% if app.session.flashBag.has('eccube.login.target.path') %}
\t\t\t\t\t\t\t{% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\"/>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{# ログイン #}
\t\t\t\t\t\t<h3 class=\"mb-[22px] text-xl font-medium\">会員の方</h3>
\t\t\t\t\t\t<p class=\"text-lg mb-[18px] font-medium\">ログイン</p>
\t\t\t\t\t\t<div class=\"flex flex-col\">
\t\t\t\t\t\t\t<div class=\"mb-4 text-sm font-medium\">
\t\t\t\t\t\t\t\t<p class=\"mb-2 font-medium\">メールアドレス</p>
\t\t\t\t\t\t\t\t{{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'common.mail_address', 'autofocus': true}}) }}
\t\t\t\t\t\t\t\t{{ form_errors(form.login_email) }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"mb-10\">
\t\t\t\t\t\t\t\t<p class=\"mb-2 text-sm font-medium\">パスワード</p>
\t\t\t\t\t\t\t\t{{ form_widget(form.login_pass, {'attr': {'placeholder' : 'common.password' }}) }}
\t\t\t\t\t\t\t\t{{ form_errors(form.login_pass) }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"flex flex-col items-center\">
\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"mb-4 text-sm bg-red w-[327px] h-[45px] py-3 rounded-[3px] text-white font-bold hover\">{{ 'common.login'|trans }}</button>
\t\t\t\t\t\t\t\t{% if error %}
\t\t\t\t\t\t\t\t\t<div class=\"!text-red text-xs flex items-center gap-2 pb-2\">
\t\t\t\t\t\t\t\t\t\t<img src=\"{{asset('assets/icon/error.svg')}}\" alt=\"Error Image\" class=\"w-3 h-3\">
\t\t\t\t\t\t\t\t\t\t<span class=\"flex \">
\t\t\t\t\t\t\t\t\t\t\t{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}
\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<a class=\"border-b border-black leading-4 tracking-widest text-sm font-normal hover\" href=\"{{ url('forgot') }}\">パスワードを忘れた方</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t\t<div></div>
\t\t\t</div>
\t\t</div>
\t</div>
{% endblock %}
", "Mypage/login.twig", "/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Mypage/login.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 13, "if" => 64, "for" => 65);
static $filters = array("escape" => 60, "trans" => 60, "nl2br" => 89);
static $functions = array("include" => 51, "url" => 60, "form_widget" => 75, "form_errors" => 76, "asset" => 87, "csrf_token" => 96);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'trans', 'nl2br'],
['include', 'url', 'form_widget', 'form_errors', 'asset', '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;
}
}
}