<?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/zen_news.twig */
class __TwigTemplate_6bc6ae16090e4ce406ad5bfc2f2dc49e 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 = [
];
}
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/zen_news.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/zen_news.twig"));
// line 1
echo "<div class=\"right\">
\t<div class=\"newsCatName\">";
// line 2
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", null, true);
echo "</div>
\t<div class=\"newsDate\">";
// line 3
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.', 3, $this->source); })()), "s_date", [], "any", false, false, false, 3), "html", null, true);
echo "</div>
\t<div class=\"eventDetailBox\">
\t\t<div class=\"eventDetailTitle\">";
// line 5
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.', 5, $this->source); })()), "title", [], "any", false, false, false, 5), "html", null, true);
echo "</div>
\t\t<div class=\"eventDetailImg\">
\t\t ";
// line 7
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", false, false, false, 7) != "")) {
// line 8
echo "\t\t\t<img src=\"";
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.', 8, $this->source); })()), "image", [], "any", false, false, false, 8), "html", null, true);
echo "\" width=\"100%\" alt=\"";
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.', 8, $this->source); })()), "title", [], "any", false, false, false, 8), "html", null, true);
echo "\" />
\t\t\t";
}
// line 10
echo "\t\t</div>
\t\t<div class=\"eventDetailText\">";
// line 11
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", false, false, false, 11);
echo "</div>
\t</div>
\t<a href=\"//tpscoco.com/user_data/news_list\"><div class=\"k200\"><div class=\"newsListBoxGo\">一覧に戻る</div></div></a>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/zen_news.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 73 => 11, 70 => 10, 62 => 8, 60 => 7, 55 => 5, 50 => 3, 46 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"right\">
\t<div class=\"newsCatName\">{{ Category }}</div>
\t<div class=\"newsDate\">{{ News.s_date }}</div>
\t<div class=\"eventDetailBox\">
\t\t<div class=\"eventDetailTitle\">{{ News.title }}</div>
\t\t<div class=\"eventDetailImg\">
\t\t {% if News.image != '' %}
\t\t\t<img src=\"{{ News.image }}\" width=\"100%\" alt=\"{{ News.title }}\" />
\t\t\t{% endif %}
\t\t</div>
\t\t<div class=\"eventDetailText\">{{ News.text1|raw }}</div>
\t</div>
\t<a href=\"//tpscoco.com/user_data/news_list\"><div class=\"k200\"><div class=\"newsListBoxGo\">一覧に戻る</div></div></a>
</div>", "Block/zen_news.twig", "/home/zen2022/tpscoco.com/public_html/app/template/default/Block/zen_news.twig");
}
}