<?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;
/* base.html.twig */
class __TwigTemplate_6b358a3fbbecf742829d1dedaeae1c8b83c0c085fe86dd912bb8ee32ea541d6e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
'endjavascripts' => [$this, 'block_endjavascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>";
// line 5
$this->displayBlock('title', $context, $blocks);
echo "</title>
<link href=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/basic.css"), "html", null, true);
echo "\" rel=\"stylesheet\"/>
<link href=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/layout.css"), "html", null, true);
echo "\" rel=\"stylesheet\"/>
";
// line 10
echo " <link href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("fonts/iconfont.css"), "html", null, true);
echo "\" rel=\"stylesheet\"/>
<link href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/swiper.css"), "html", null, true);
echo "\" rel=\"stylesheet\"/>
<script src=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-2.0.3.min.js"), "html", null, true);
echo "\"></script>
<script>
(function (win, doc) {
win.addEventListener('resize', change, false);
function change() {
var clientWidth = doc.documentElement.clientWidth;
doc.documentElement.style.fontSize = doc.documentElement.clientWidth * 16 / 1920 + 'px';
}
change();
})(window, document);
</script>
";
// line 24
$this->displayBlock('stylesheets', $context, $blocks);
// line 25
echo " </head>
<body>
<div class=\"header\">
<div class=\"headerBg\"></div>
";
// line 30
echo " <div class=\"headerContent clearfix\">
<a href=\"/\">
<img src=\"https://static.wildto.com/custrom/common/santic-logo-l.png\" alt=\"logo\">
</a>
</div>
<div class=\"tabs\">
<div class=\"tabsContent clearfix\" onmouseleave=\"mouseTabOver()\">
<ul class=\"leftTab clearfix fl\">
";
// line 38
$context["i"] = 0;
// line 39
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["nav"]) || array_key_exists("nav", $context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.', 39, $this->source); })()));
foreach ($context['_seq'] as $context["category"] => $context["attr"]) {
// line 40
echo " <li class=\"fl tabLi\" onmouseenter=\"mouseTabEnter(";
echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 40, $this->source); })()), "html", null, true);
echo ")\">
<a href=\"javascript:;\">";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attr"], "name", [], "any", false, false, false, 41), "html", null, true);
echo "</a>
</li>
";
// line 43
$context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 43, $this->source); })()) + 1);
// line 44
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['category'], $context['attr'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
echo " </ul>
<div class=\"chlList transition_dom\" id=\"transition_dom\">
";
// line 47
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["nav"]) || array_key_exists("nav", $context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.', 47, $this->source); })()));
foreach ($context['_seq'] as $context["category"] => $context["subCategorys"]) {
// line 48
echo " <div class=\"tabA\">
";
// line 49
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["subCategorys"], "sub", [], "any", false, false, false, 49));
foreach ($context['_seq'] as $context["sub"] => $context["name"]) {
// line 50
echo " <div>
<a target=“_blank” href=\"";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("list", ["category" => $context["category"], "sub" => $context["sub"]]), "html", null, true);
echo "\">
";
// line 52
echo twig_escape_filter($this->env, $context["name"], "html", null, true);
echo "
</a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['sub'], $context['name'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['category'], $context['subCategorys'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 58
echo " </div>
</div>
</div>
<div id=\"bannerMask\"></div>
<div class=\"login_content org_login\">
<div class=\"icon_content clearfix\">
<span class=\"fl iconfont icon-sousuo\" id=\"searchIconHeader\" style=\"margin-top:-2px;\"></span>
<span class=\"fl\" id=\"searchIconClose\" style=\"margin-top:-2px;\">
<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">
<title>Group 2</title>
<g fill-rule=\"evenodd\">
<path d=\"M14.50609703.3639614l1.41421356 1.41421357L1.77817497 15.92031059.3639614 14.50609703z\"></path>
<path d=\"M.3639614 1.77817497L1.77817498.3639614 15.9203106 14.50609702l-1.41421356 1.41421356z\"></path>
</g>
</svg>
</span>
<span class=\"iconfont icon-yonghu1 fl mouse-click curP\" style=\"margin-top:-2px;\" id=\"showUser\"></span>
";
// line 76
echo " </div>
<div class=\"view_content\" id=\"userLoginView\">
<div class=\"tabS1\"></div>
<div class=\"tabS2\"></div>
";
// line 80
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 81
echo " <ul class=\"login_play\">
<li>";
// line 82
echo twig_escape_filter($this->env, 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.', 82, $this->source); })()), "user", [], "any", false, false, false, 82), "oEmail", [], "any", false, false, false, 82), "html", null, true);
echo "</li>
<li><a href=\"";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\">Sign out</a></li>
</ul>
";
} else {
// line 86
echo " <ul v-if=\"showLogin\" class=\"login_play\">
<li><a href=\"";
// line 87
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\">Sign in</a></li>
<li><a href=\"";
// line 88
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
echo "\">Register</a></li>
</ul>
";
}
// line 91
echo " </div>
</div>
</div>
";
// line 94
echo twig_include($this->env, $context, "common/_searchCommon.html.twig");
echo "
";
// line 95
$this->displayBlock('body', $context, $blocks);
// line 96
echo " ";
$this->displayBlock('javascripts', $context, $blocks);
// line 97
echo " <div class=\"footer\">
<div class=\"getEmail\">
<div class=\"title\">订阅森地客产品期刊</div>
<div class=\"emailCenter\">
<div class=\"email\">
<p>邮箱地址</p>
<input type=\"text\" name=\"email\" placeholder=\"请输入您的邮箱\" id=\"ftEmailInput\">
</div>
<div class=\"type\">
<p>选择订阅内容</p>
";
// line 108
echo " <select class=\"selectView\" id=\"newsletter-preference\" name=\"newsletter-preference\">
<option value=\"Menswear\" selected=\"\">
男士</option>
<option value=\"Womenswear\">
女士</option>
</select>
</div>
</div>
<div class=\"sub\" id=\"footerEBtn\">订阅</div>
</div>
<div class=\"subSuccess\">
感谢订阅!
</div>
</div>
<div class=\"cartMask\" id=\"cartMask\"></div>
";
// line 123
echo twig_include($this->env, $context, "common/_shoppingCart.html.twig");
echo "
</body>
<script src=\"";
// line 125
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/common.js"), "html", null, true);
echo "\"></script>
<script>
\$('#footerEBtn').on('click',function(){
if(\$(this).hasClass('activeEFooter')){
var email = \$('input[name=\"email\"]').val();
var type = \$('#newsletter-preference').val();
var url = '";
// line 131
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("subscribe");
echo "?email='+email+'&type='+type;
\$.get(url, function(result){
\$('.getEmail').hide();
\$('.subSuccess').show();
});
}
})
</script>
";
// line 140
$this->displayBlock('endjavascripts', $context, $blocks);
// line 143
echo "</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "森地客定制 | 骑享自由";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 24
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 95
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 96
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 140
public function block_endjavascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "endjavascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "endjavascripts"));
// line 141
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 390 => 141, 380 => 140, 362 => 96, 344 => 95, 326 => 24, 307 => 5, 296 => 143, 294 => 140, 282 => 131, 273 => 125, 268 => 123, 251 => 108, 239 => 97, 236 => 96, 234 => 95, 230 => 94, 225 => 91, 219 => 88, 215 => 87, 212 => 86, 206 => 83, 202 => 82, 199 => 81, 197 => 80, 191 => 76, 172 => 58, 165 => 56, 155 => 52, 151 => 51, 148 => 50, 144 => 49, 141 => 48, 137 => 47, 133 => 45, 127 => 44, 125 => 43, 120 => 41, 115 => 40, 110 => 39, 108 => 38, 98 => 30, 92 => 25, 90 => 24, 75 => 12, 71 => 11, 66 => 10, 62 => 7, 58 => 6, 54 => 5, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>{% block title %}森地客定制 | 骑享自由{% endblock %}</title>
<link href=\"{{ asset('css/basic.css') }}\" rel=\"stylesheet\"/>
<link href=\"{{ asset('css/layout.css') }}\" rel=\"stylesheet\"/>
{# <link href=\"https://static.wildto.com/santic/oversear/css/basic_20201120.css\" rel=\"stylesheet\"/>#}
{# <link href=\"https://static.wildto.com/santic/oversear/css/layout1120.css\" rel=\"stylesheet\"/>#}
<link href=\"{{ asset('fonts/iconfont.css') }}\" rel=\"stylesheet\"/>
<link href=\"{{ asset('css/swiper.css') }}\" rel=\"stylesheet\"/>
<script src=\"{{ asset('js/jquery-2.0.3.min.js') }}\"></script>
<script>
(function (win, doc) {
win.addEventListener('resize', change, false);
function change() {
var clientWidth = doc.documentElement.clientWidth;
doc.documentElement.style.fontSize = doc.documentElement.clientWidth * 16 / 1920 + 'px';
}
change();
})(window, document);
</script>
{% block stylesheets %}{% endblock %}
</head>
<body>
<div class=\"header\">
<div class=\"headerBg\"></div>
{# <div class=\"headerText\">santic.com</div>#}
<div class=\"headerContent clearfix\">
<a href=\"/\">
<img src=\"https://static.wildto.com/custrom/common/santic-logo-l.png\" alt=\"logo\">
</a>
</div>
<div class=\"tabs\">
<div class=\"tabsContent clearfix\" onmouseleave=\"mouseTabOver()\">
<ul class=\"leftTab clearfix fl\">
{% set i = 0 %}
{% for category,attr in nav %}
<li class=\"fl tabLi\" onmouseenter=\"mouseTabEnter({{ i }})\">
<a href=\"javascript:;\">{{ attr.name }}</a>
</li>
{% set i = i+1 %}
{% endfor %}
</ul>
<div class=\"chlList transition_dom\" id=\"transition_dom\">
{% for category,subCategorys in nav %}
<div class=\"tabA\">
{% for sub,name in subCategorys.sub %}
<div>
<a target=“_blank” href=\"{{ path('list', { 'category':category, 'sub':sub }) }}\">
{{ name }}
</a>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</div>
<div id=\"bannerMask\"></div>
<div class=\"login_content org_login\">
<div class=\"icon_content clearfix\">
<span class=\"fl iconfont icon-sousuo\" id=\"searchIconHeader\" style=\"margin-top:-2px;\"></span>
<span class=\"fl\" id=\"searchIconClose\" style=\"margin-top:-2px;\">
<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">
<title>Group 2</title>
<g fill-rule=\"evenodd\">
<path d=\"M14.50609703.3639614l1.41421356 1.41421357L1.77817497 15.92031059.3639614 14.50609703z\"></path>
<path d=\"M.3639614 1.77817497L1.77817498.3639614 15.9203106 14.50609702l-1.41421356 1.41421356z\"></path>
</g>
</svg>
</span>
<span class=\"iconfont icon-yonghu1 fl mouse-click curP\" style=\"margin-top:-2px;\" id=\"showUser\"></span>
{# <span class=\"iconfont icon-gouwuche curP fl\" id=\"cartBtn\" style=\"margin-top:-2px;\"></span>#}
</div>
<div class=\"view_content\" id=\"userLoginView\">
<div class=\"tabS1\"></div>
<div class=\"tabS2\"></div>
{% if is_granted('ROLE_USER') %}
<ul class=\"login_play\">
<li>{{ app.user.oEmail }}</li>
<li><a href=\"{{ path('app_logout') }}\">Sign out</a></li>
</ul>
{% else %}
<ul v-if=\"showLogin\" class=\"login_play\">
<li><a href=\"{{ path('app_login') }}\">Sign in</a></li>
<li><a href=\"{{ path('register') }}\">Register</a></li>
</ul>
{% endif %}
</div>
</div>
</div>
{{ include('common/_searchCommon.html.twig') }}
{% block body %}{% endblock %}
{% block javascripts %}{% endblock %}
<div class=\"footer\">
<div class=\"getEmail\">
<div class=\"title\">订阅森地客产品期刊</div>
<div class=\"emailCenter\">
<div class=\"email\">
<p>邮箱地址</p>
<input type=\"text\" name=\"email\" placeholder=\"请输入您的邮箱\" id=\"ftEmailInput\">
</div>
<div class=\"type\">
<p>选择订阅内容</p>
{# <input type=\"text\" placeholder=\"Menswear\">#}
<select class=\"selectView\" id=\"newsletter-preference\" name=\"newsletter-preference\">
<option value=\"Menswear\" selected=\"\">
男士</option>
<option value=\"Womenswear\">
女士</option>
</select>
</div>
</div>
<div class=\"sub\" id=\"footerEBtn\">订阅</div>
</div>
<div class=\"subSuccess\">
感谢订阅!
</div>
</div>
<div class=\"cartMask\" id=\"cartMask\"></div>
{{ include('common/_shoppingCart.html.twig') }}
</body>
<script src=\"{{ asset('js/common.js') }}\"></script>
<script>
\$('#footerEBtn').on('click',function(){
if(\$(this).hasClass('activeEFooter')){
var email = \$('input[name=\"email\"]').val();
var type = \$('#newsletter-preference').val();
var url = '{{ path('subscribe') }}?email='+email+'&type='+type;
\$.get(url, function(result){
\$('.getEmail').hide();
\$('.subSuccess').show();
});
}
})
</script>
{% block endjavascripts %}
{% endblock %}
{# <script src=\"https://static.wildto.com/santic/oversear/js/common1120.js\"></script>#}
</html>
", "base.html.twig", "/home/wwwroot/ada.santic.com/templates/base.html.twig");
}
}