var/cache/dev/twig/77/77833fe498fbcc413f6e1e91146b9e7b.php line 50

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/zen_news.twig */
  14. class __TwigTemplate_6bc6ae16090e4ce406ad5bfc2f2dc49e 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.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/zen_news.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/zen_news.twig"));
  33.         // line 1
  34.         echo "<div class=\"right\">
  35. \t<div class=\"newsCatName\">";
  36.         // line 2
  37.         echo twig_escape_filter($this->env, (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'2$this->source); })()), "html"nulltrue);
  38.         echo "</div>
  39. \t<div class=\"newsDate\">";
  40.         // line 3
  41.         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.'3$this->source); })()), "s_date", [], "any"falsefalsefalse3), "html"nulltrue);
  42.         echo "</div>
  43. \t<div class=\"eventDetailBox\">
  44. \t\t<div class=\"eventDetailTitle\">";
  45.         // line 5
  46.         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.'5$this->source); })()), "title", [], "any"falsefalsefalse5), "html"nulltrue);
  47.         echo "</div>
  48. \t\t<div class=\"eventDetailImg\">
  49. \t\t    ";
  50.         // line 7
  51.         if ((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.'7$this->source); })()), "image", [], "any"falsefalsefalse7) != "")) {
  52.             // line 8
  53.             echo "\t\t\t<img src=\"";
  54.             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.'8$this->source); })()), "image", [], "any"falsefalsefalse8), "html"nulltrue);
  55.             echo "\" width=\"100%\" alt=\"";
  56.             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.'8$this->source); })()), "title", [], "any"falsefalsefalse8), "html"nulltrue);
  57.             echo "\" />
  58. \t\t\t";
  59.         }
  60.         // line 10
  61.         echo "\t\t</div>
  62. \t\t<div class=\"eventDetailText\">";
  63.         // line 11
  64.         echo 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.'11$this->source); })()), "text1", [], "any"falsefalsefalse11);
  65.         echo "</div>
  66. \t</div>
  67. \t<a href=\"//tpscoco.com/user_data/news_list\"><div class=\"k200\"><div class=\"newsListBoxGo\">一覧に戻る</div></div></a>
  68. </div>";
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.     }
  74.     public function getTemplateName()
  75.     {
  76.         return "Block/zen_news.twig";
  77.     }
  78.     public function isTraitable()
  79.     {
  80.         return false;
  81.     }
  82.     public function getDebugInfo()
  83.     {
  84.         return array (  73 => 11,  70 => 10,  62 => 8,  60 => 7,  55 => 5,  50 => 3,  46 => 2,  43 => 1,);
  85.     }
  86.     public function getSourceContext()
  87.     {
  88.         return new Source("<div class=\"right\">
  89. \t<div class=\"newsCatName\">{{ Category }}</div>
  90. \t<div class=\"newsDate\">{{ News.s_date }}</div>
  91. \t<div class=\"eventDetailBox\">
  92. \t\t<div class=\"eventDetailTitle\">{{ News.title }}</div>
  93. \t\t<div class=\"eventDetailImg\">
  94. \t\t    {% if News.image != '' %}
  95. \t\t\t<img src=\"{{ News.image }}\" width=\"100%\" alt=\"{{ News.title }}\" />
  96. \t\t\t{% endif %}
  97. \t\t</div>
  98. \t\t<div class=\"eventDetailText\">{{ News.text1|raw }}</div>
  99. \t</div>
  100. \t<a href=\"//tpscoco.com/user_data/news_list\"><div class=\"k200\"><div class=\"newsListBoxGo\">一覧に戻る</div></div></a>
  101. </div>""Block/zen_news.twig""/home/zen2022/tpscoco.com/public_html/app/template/default/Block/zen_news.twig");
  102.     }
  103. }