var/cache/dev/twig/31/311c12aeca0494296f1615dd2f10d550.php line 34

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. /* Block/topgazou.twig */
  14. class __TwigTemplate_5d2986bd871cff29a7f0928188593c7d 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->parent false;
  23.         $this->blocks = [
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/topgazou.twig"));
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/topgazou.twig"));
  34.         // line 11
  35.         echo "
  36. ";
  37.         // line 12
  38.         $this->displayBlock('stylesheet'$context$blocks);
  39.         // line 28
  40.         echo "
  41. ";
  42.         // line 29
  43.         $context["News"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\News"), "findOneBy", [=> ["id" => 1]], "method"falsefalsefalse29);
  44.         // line 30
  45.         echo "
  46. <div class=\"ec-headerRole space\">
  47.     <div class=\"ec-headerRole__title\">
  48.         <div class=\"ec-headerTitle top-center\">
  49.             <div class=\"ec-headerTitle__title top\">
  50.                 <img src=\"";
  51.         // line 35
  52.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/kazoku_02.jpg"), "html"nulltrue);
  53.         echo "\" >
  54.             </div>
  55.             <p class =\"text-title\">千葉県南房総の田舎暮らし!海の見える海浜リゾート物件。里山古民家物件。永住・別荘向き土地住宅等不動産情報満載。</p>
  56.         </div>
  57.     </div>
  58. </div>
  59. <div id=\"flowing-text\">
  60.     <div class=\"fix-box\">
  61.         <div class=\"flowing-box\">
  62.             <p class=\"flowing-txt\">";
  63.         // line 44
  64.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse44), "html"nulltrue);
  65.         echo "</p>
  66.         </div>
  67.     </div>
  68. </div>";
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.     }
  74.     // line 12
  75.     public function block_stylesheet($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  82.         // line 13
  83.         echo "<style>
  84. .top-center{
  85.     text-align: center;
  86. }
  87. .top{
  88.     width:75%;
  89.     display: block;
  90.     margin-left: auto;
  91.     margin-right: auto;
  92. }
  93. </style>
  94. ";
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.         
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99.     }
  100.     public function getTemplateName()
  101.     {
  102.         return "Block/topgazou.twig";
  103.     }
  104.     public function isTraitable()
  105.     {
  106.         return false;
  107.     }
  108.     public function getDebugInfo()
  109.     {
  110.         return array (  97 => 13,  87 => 12,  73 => 44,  61 => 35,  54 => 30,  52 => 29,  49 => 28,  47 => 12,  44 => 11,);
  111.     }
  112.     public function getSourceContext()
  113.     {
  114.         return new Source("{#
  115. This file is part of EC-CUBE
  116. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  117. http://www.ec-cube.co.jp/
  118. For the full copyright and license information, please view the LICENSE
  119. file that was distributed with this source code.
  120. #}
  121. {% block stylesheet %}
  122. <style>
  123. .top-center{
  124.     text-align: center;
  125. }
  126. .top{
  127.     width:75%;
  128.     display: block;
  129.     margin-left: auto;
  130.     margin-right: auto;
  131. }
  132. </style>
  133. {% endblock %}
  134. {% set News = repository('Eccube\\\\Entity\\\\News').findOneBy({id: 1}) %}
  135. <div class=\"ec-headerRole space\">
  136.     <div class=\"ec-headerRole__title\">
  137.         <div class=\"ec-headerTitle top-center\">
  138.             <div class=\"ec-headerTitle__title top\">
  139.                 <img src=\"{{ asset('assets/img/top/kazoku_02.jpg') }}\" >
  140.             </div>
  141.             <p class =\"text-title\">千葉県南房総の田舎暮らし!海の見える海浜リゾート物件。里山古民家物件。永住・別荘向き土地住宅等不動産情報満載。</p>
  142.         </div>
  143.     </div>
  144. </div>
  145. <div id=\"flowing-text\">
  146.     <div class=\"fix-box\">
  147.         <div class=\"flowing-box\">
  148.             <p class=\"flowing-txt\">{{News.description}}</p>
  149.         </div>
  150.     </div>
  151. </div>""Block/topgazou.twig""/home/swift01/towakensetsu.jp/public_html/app/template/default/Block/topgazou.twig");
  152.     }
  153. }