<?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;
/* @user_data/news_article.twig */
class __TwigTemplate_a1f41d56f8278b93629a05b2e1d2cda5 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'js' => [$this, 'block_js'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "@user_data/layout/default_frame.twig";
}
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", "@user_data/news_article.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@user_data/news_article.twig"));
$this->parent = $this->loadTemplate("@user_data/layout/default_frame.twig", "@user_data/news_article.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_title($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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 3
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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); })()), "title", [], "any", false, false, true, 3), 3, $this->source), "html", null, true);
echo " | オリジナル缶バッジ/カンバッチ製作【個人小ロットから業務用OEMまで激安印刷】ZEAMI Goods
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
echo "<!-- ▼▼ MAIN CONTENTS __________________________________________________________________________________________________ ▼▼ -->
<main id=\"mainContents\">
<!-- // ++ パンクズ ++ //////////////////////////////////////////////////////////// // -->
<div id=\"bread_crumbBloc\" class=\"fades\">
<ul id=\"breadCrumb\" class=\"fades\">
<li class=\"up\"><a href=\"/\"><img src=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon_home.png"), "html", null, true);
echo "\" alt=\"ホーム\"></a></li>
<li class=\"up\"><a href=\"/news\">お知らせ</a></li>
<li class=\"up\">お知らせ 詳細</li>
</ul><!-- ///// #breadCrumb +++++ ///// -->
<!-- ///// +++++ #bread_crumbBloc +++++ ///// --></div>
<!-- // == MAIN ================================================================================ // -->
<section id=\"News\" class=\"section_basic article\">
<figure id=\"news_mainVisual\" class=\"fades\"><img src=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(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.', 22, $this->source); })()), "image", [], "any", false, false, true, 22), 22, $this->source)), "save_image"), "html", null, true);
echo "\" alt=\"\"></figure>
<!-- // ++ お知らせ タイトル ++ /////////////////////////////////////////////////////////////// -->
<div id=\"section_titleBloc\" class=\"fades center\">
<h2 class=\"section_title up\">";
// line 26
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 26, $this->source); })()), "title", [], "any", false, false, true, 26), 26, $this->source), "html", null, true);
echo "</h2>
<p class=\"title_cap up\">";
// line 27
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 27, $this->source); })()), "publish_date", [], "any", false, false, true, 27), 27, $this->source), "Y.m.d D"), "html", null, true);
echo "</p>
<!-- ///// #section_titleBloc +++++ ///// --></div>
<!-- // ++ お知らせ 詳細 ++ /////////////////////////////////////////////////////////////// -->
<article id=\"news_mainContainer\" class=\"up\">
";
// line 33
echo $this->sandbox->ensureToStringAllowed(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.', 33, $this->source); })()), "description", [], "any", false, false, true, 33), 33, $this->source);
echo "
<!-- //// ++++ #news_mainContainer ++++ //// --></article>
";
// line 38
$context["url"] = 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.', 38, $this->source); })()), "request", [], "any", false, false, true, 38), "uri", [], "any", false, false, true, 38);
// line 39
echo "<ul id=\"article_snsList\" class=\"fades\">
<li class=\"up\"><a href=\"https://twitter.com/intent/tweet?text=https://x.com/ZEAMI_Goods\" target=\"_blank\"><img src=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon_x_gr.png"), "html", null, true);
echo "\" alt=\"X\"></a></li>
<li class=\"up\">
<a href=\"https://line.me/R/msg/text/?";
// line 42
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 42, $this->source); })()), 42, $this->source), "html", null, true);
echo "\" target=\"_blank\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon_line_gr.png"), "html", null, true);
echo "\" alt=\"LINE\"></a>
</li>
<li class=\"up\"><a href=\"https://www.facebook.com/sharer/sharer.php?u=https://www.facebook.com/ZEAMIGoods\" target=\"_blank\"><img src=\"";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon_facebook_gr.png"), "html", null, true);
echo "\" alt=\"facebook\"></a></li>
<!-- ///// #article_snsList +++++ ///// --></ul>
<p id=\"pageBack\" class=\"up\"><a href=\"/news\">一覧を見る</a></p>
</section><!-- ///// #News +++++ ///// -->
<!-- ///// +++++ #mainContents +++++ ///// --></main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 53
public function block_js($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", "js"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js"));
// line 54
echo "<script src=\"https://www.line-website.com/social-plugins/js/thirdparty/loader.min.js\" async=\"async\" defer=\"defer\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@user_data/news_article.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 189 => 54, 179 => 53, 160 => 44, 153 => 42, 148 => 40, 145 => 39, 143 => 38, 135 => 33, 126 => 27, 122 => 26, 115 => 22, 103 => 13, 94 => 6, 84 => 5, 72 => 3, 62 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@user_data/layout/default_frame.twig' %}
{% block title %}
{{news.title}} | オリジナル缶バッジ/カンバッチ製作【個人小ロットから業務用OEMまで激安印刷】ZEAMI Goods
{% endblock %}
{% block content %}
<!-- ▼▼ MAIN CONTENTS __________________________________________________________________________________________________ ▼▼ -->
<main id=\"mainContents\">
<!-- // ++ パンクズ ++ //////////////////////////////////////////////////////////// // -->
<div id=\"bread_crumbBloc\" class=\"fades\">
<ul id=\"breadCrumb\" class=\"fades\">
<li class=\"up\"><a href=\"/\"><img src=\"{{ asset('assets/img/icon_home.png') }}\" alt=\"ホーム\"></a></li>
<li class=\"up\"><a href=\"/news\">お知らせ</a></li>
<li class=\"up\">お知らせ 詳細</li>
</ul><!-- ///// #breadCrumb +++++ ///// -->
<!-- ///// +++++ #bread_crumbBloc +++++ ///// --></div>
<!-- // == MAIN ================================================================================ // -->
<section id=\"News\" class=\"section_basic article\">
<figure id=\"news_mainVisual\" class=\"fades\"><img src=\"{{ asset(news.image|no_image_product, 'save_image') }}\" alt=\"\"></figure>
<!-- // ++ お知らせ タイトル ++ /////////////////////////////////////////////////////////////// -->
<div id=\"section_titleBloc\" class=\"fades center\">
<h2 class=\"section_title up\">{{news.title}}</h2>
<p class=\"title_cap up\">{{ news.publish_date|date('Y.m.d D') }}</p>
<!-- ///// #section_titleBloc +++++ ///// --></div>
<!-- // ++ お知らせ 詳細 ++ /////////////////////////////////////////////////////////////// -->
<article id=\"news_mainContainer\" class=\"up\">
{{ news.description|raw }}
<!-- //// ++++ #news_mainContainer ++++ //// --></article>
{% set url = app.request.uri %}
<ul id=\"article_snsList\" class=\"fades\">
<li class=\"up\"><a href=\"https://twitter.com/intent/tweet?text=https://x.com/ZEAMI_Goods\" target=\"_blank\"><img src=\"{{ asset('assets/img/icon_x_gr.png') }}\" alt=\"X\"></a></li>
<li class=\"up\">
<a href=\"https://line.me/R/msg/text/?{{ url }}\" target=\"_blank\"><img src=\"{{ asset('assets/img/icon_line_gr.png') }}\" alt=\"LINE\"></a>
</li>
<li class=\"up\"><a href=\"https://www.facebook.com/sharer/sharer.php?u=https://www.facebook.com/ZEAMIGoods\" target=\"_blank\"><img src=\"{{ asset('assets/img/icon_facebook_gr.png') }}\" alt=\"facebook\"></a></li>
<!-- ///// #article_snsList +++++ ///// --></ul>
<p id=\"pageBack\" class=\"up\"><a href=\"/news\">一覧を見る</a></p>
</section><!-- ///// #News +++++ ///// -->
<!-- ///// +++++ #mainContents +++++ ///// --></main>
{% endblock %}
{% block js %}
<script src=\"https://www.line-website.com/social-plugins/js/thirdparty/loader.min.js\" async=\"async\" defer=\"defer\"></script>
{% endblock %}", "@user_data/news_article.twig", "/home/gamedev/demo-dev.xyz/public_html/zeamiec/app/template/user_data/news_article.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 38);
static $filters = array("escape" => 3, "no_image_product" => 22, "date" => 27, "raw" => 33);
static $functions = array("asset" => 13);
try {
$this->sandbox->checkSecurity(
['set'],
['escape', 'no_image_product', 'date', 'raw'],
['asset'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}