<?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;
/* Block/topgazou.twig */
class __TwigTemplate_5d2986bd871cff29a7f0928188593c7d extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
];
}
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", "Block/topgazou.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/topgazou.twig"));
// line 11
echo "
";
// line 12
$this->displayBlock('stylesheet', $context, $blocks);
// line 28
echo "
";
// line 29
$context["News"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\News"), "findOneBy", [0 => ["id" => 1]], "method", false, false, false, 29);
// line 30
echo "
<div class=\"ec-headerRole space\">
<div class=\"ec-headerRole__title\">
<div class=\"ec-headerTitle top-center\">
<div class=\"ec-headerTitle__title top\">
<img src=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/kazoku_02.jpg"), "html", null, true);
echo "\" >
</div>
<p class =\"text-title\">千葉県南房総の田舎暮らし!海の見える海浜リゾート物件。里山古民家物件。永住・別荘向き土地住宅等不動産情報満載。</p>
</div>
</div>
</div>
<div id=\"flowing-text\">
<div class=\"fix-box\">
<div class=\"flowing-box\">
<p class=\"flowing-txt\">";
// line 44
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["News"]) || array_key_exists("News", $context) ? $context["News"] : (function () { throw new RuntimeError('Variable "News" does not exist.', 44, $this->source); })()), "description", [], "any", false, false, false, 44), "html", null, true);
echo "</p>
</div>
</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
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 13
echo "<style>
.top-center{
text-align: center;
}
.top{
width:75%;
display: block;
margin-left: auto;
margin-right: auto;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Block/topgazou.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 97 => 13, 87 => 12, 73 => 44, 61 => 35, 54 => 30, 52 => 29, 49 => 28, 47 => 12, 44 => 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.
#}
{% block stylesheet %}
<style>
.top-center{
text-align: center;
}
.top{
width:75%;
display: block;
margin-left: auto;
margin-right: auto;
}
</style>
{% endblock %}
{% set News = repository('Eccube\\\\Entity\\\\News').findOneBy({id: 1}) %}
<div class=\"ec-headerRole space\">
<div class=\"ec-headerRole__title\">
<div class=\"ec-headerTitle top-center\">
<div class=\"ec-headerTitle__title top\">
<img src=\"{{ asset('assets/img/top/kazoku_02.jpg') }}\" >
</div>
<p class =\"text-title\">千葉県南房総の田舎暮らし!海の見える海浜リゾート物件。里山古民家物件。永住・別荘向き土地住宅等不動産情報満載。</p>
</div>
</div>
</div>
<div id=\"flowing-text\">
<div class=\"fix-box\">
<div class=\"flowing-box\">
<p class=\"flowing-txt\">{{News.description}}</p>
</div>
</div>
</div>", "Block/topgazou.twig", "/home/swift01/towakensetsu.jp/public_html/app/template/default/Block/topgazou.twig");
}
}