<?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/campaign/detail.twig */
class __TwigTemplate_4eeaa12207ca217158894767a55d94a4 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'],
'js' => [$this, 'block_js'],
'content' => [$this, 'block_content'],
];
$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/campaign/detail.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/campaign/detail.twig"));
$this->parent = $this->loadTemplate("@user_data/layout/default_frame.twig", "@user_data/campaign/detail.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 "\t";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 3, $this->source); })()), "title", [], "any", false, false, true, 3), 3, $this->source), "html", null, true);
echo "
\t| オリジナル缶バッジ/カンバッチ製作【個人小ロットから業務用OEMまで激安印刷】ZEAMI Goods
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
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 7
echo "\t<script>
\t\$(document).ready(function () {
\t})
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 13
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 14
echo "\t<!-- ▼▼ MAIN CONTENTS __________________________________________________________________________________________________ ▼▼ -->
\t<main
\t\tid=\"mainContents\">
\t\t<!-- // ++ パンクズ ++ //////////////////////////////////////////////////////////// // -->
\t\t<div id=\"bread_crumbBloc\" class=\"fades\">
\t\t\t<ul id=\"breadCrumb\" class=\"fades\">
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"/\"><img src=\"";
// line 23
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>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"/campaign\">キャンペーン</a>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">キャンペーン詳細</li>
\t\t\t</ul>
\t\t\t<!-- ///// #breadCrumb +++++ ///// -->
\t\t\t<!-- ///// +++++ #bread_crumbBloc +++++ ///// -->
\t\t</div>
\t\t<!-- // == MAIN ================================================================================ // -->
\t\t<section id=\"Campaign\" class=\"section_basic article\">
\t\t\t<figure id=\"news_mainVisual\" class=\"fades\"><img src=\"";
// line 37
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["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 37, $this->source); })()), "image", [], "any", false, false, true, 37), 37, $this->source)), "save_image"), "html", null, true);
echo "\" alt=\"\"></figure>
\t\t\t<!-- // ++ タイトル ++ /////////////////////////////////////////////////////////////// -->
\t\t\t<div id=\"section_titleBloc\" class=\"fades\">
\t\t\t\t<h3 class=\"section_title up center\">";
// line 41
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 41, $this->source); })()), "title", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
echo "</h3>
\t\t\t</div>
\t\t\t<!-- ///// #section_titleBloc +++++ ///// -->
\t\t\t<!-- // ++ キャンペーン 詳細 ++ /////////////////////////////////////////////////////////////// -->
\t\t\t<article id=\"news_mainContainer\" class=\"up\">
\t\t\t\t";
// line 48
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["campaign"]) || array_key_exists("campaign", $context) ? $context["campaign"] : (function () { throw new RuntimeError('Variable "campaign" does not exist.', 48, $this->source); })()), "content", [], "any", false, false, true, 48), 48, $this->source);
echo "
\t\t\t\t<!-- //// ++++ #news_mainContainer ++++ //// -->
\t\t\t</article>
\t\t\t<ul id=\"article_snsList\" class=\"fades\">
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"https://twitter.com/ZEAMI_Art\" target=\"_blank\"><img src=\"";
// line 55
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>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"https://www.facebook.com/pages/ZEAMI-Art/173307932728543\" target=\"_blank\"><img src=\"";
// line 58
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>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">
\t\t\t\t\t\t";
// line 62
echo "\t\t\t\t\t\t<div id='btn-line' class=\"line-it-button\" data-lang=\"ja\" data-type=\"share-a\" data-env=\"REAL\" data-url=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 62, $this->source); })()), "request", [], "any", false, false, true, 62), "uri", [], "any", false, false, true, 62), 62, $this->source), "html", null, true);
echo "\" data-color=\"default\" data-size=\"large\" data-count=\"false\" data-ver=\"3\"></div>
\t\t\t\t</li>
\t\t\t\t<!-- ///// #article_snsList +++++ ///// -->
\t\t\t</ul>
\t\t\t<p id=\"pageBack\" class=\"up\">
\t\t\t\t<a href=\"/campaign\">一覧を見る</a>
\t\t\t</p>
\t\t</section>
\t\t<!-- ///// +++++ #Campaign +++++ ///// -->
\t\t<!-- ///// +++++ #mainContents +++++ ///// -->
\t</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@user_data/campaign/detail.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 188 => 62, 182 => 58, 176 => 55, 166 => 48, 156 => 41, 149 => 37, 132 => 23, 121 => 14, 111 => 13, 96 => 7, 86 => 6, 72 => 3, 62 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@user_data/layout/default_frame.twig' %}
{% block title %}
\t{{ campaign.title }}
\t| オリジナル缶バッジ/カンバッチ製作【個人小ロットから業務用OEMまで激安印刷】ZEAMI Goods
{% endblock %}
{% block js %}
\t<script>
\t\$(document).ready(function () {
\t})
\t</script>
{% endblock %}
{% block content %}
\t<!-- ▼▼ MAIN CONTENTS __________________________________________________________________________________________________ ▼▼ -->
\t<main
\t\tid=\"mainContents\">
\t\t<!-- // ++ パンクズ ++ //////////////////////////////////////////////////////////// // -->
\t\t<div id=\"bread_crumbBloc\" class=\"fades\">
\t\t\t<ul id=\"breadCrumb\" class=\"fades\">
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"/\"><img src=\"{{ asset('assets/img/icon_home.png') }}\" alt=\"ホーム\"></a>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"/campaign\">キャンペーン</a>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">キャンペーン詳細</li>
\t\t\t</ul>
\t\t\t<!-- ///// #breadCrumb +++++ ///// -->
\t\t\t<!-- ///// +++++ #bread_crumbBloc +++++ ///// -->
\t\t</div>
\t\t<!-- // == MAIN ================================================================================ // -->
\t\t<section id=\"Campaign\" class=\"section_basic article\">
\t\t\t<figure id=\"news_mainVisual\" class=\"fades\"><img src=\"{{ asset(campaign.image|no_image_product, 'save_image') }}\" alt=\"\"></figure>
\t\t\t<!-- // ++ タイトル ++ /////////////////////////////////////////////////////////////// -->
\t\t\t<div id=\"section_titleBloc\" class=\"fades\">
\t\t\t\t<h3 class=\"section_title up center\">{{ campaign.title }}</h3>
\t\t\t</div>
\t\t\t<!-- ///// #section_titleBloc +++++ ///// -->
\t\t\t<!-- // ++ キャンペーン 詳細 ++ /////////////////////////////////////////////////////////////// -->
\t\t\t<article id=\"news_mainContainer\" class=\"up\">
\t\t\t\t{{ campaign.content|raw }}
\t\t\t\t<!-- //// ++++ #news_mainContainer ++++ //// -->
\t\t\t</article>
\t\t\t<ul id=\"article_snsList\" class=\"fades\">
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"https://twitter.com/ZEAMI_Art\" target=\"_blank\"><img src=\"{{ asset('assets/img/icon_x_gr.png') }}\" alt=\"X\"></a>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">
\t\t\t\t\t<a href=\"https://www.facebook.com/pages/ZEAMI-Art/173307932728543\" target=\"_blank\"><img src=\"{{ asset('assets/img/icon_facebook_gr.png') }}\" alt=\"facebook\"></a>
\t\t\t\t</li>
\t\t\t\t<li class=\"up\">
\t\t\t\t\t\t{# <img id='line-btn-campaign' src=\"{{ asset('assets/img/icon_line_gr.png') }}\" alt=\"LINE\"> #}
\t\t\t\t\t\t<div id='btn-line' class=\"line-it-button\" data-lang=\"ja\" data-type=\"share-a\" data-env=\"REAL\" data-url=\"{{ app.request.uri }}\" data-color=\"default\" data-size=\"large\" data-count=\"false\" data-ver=\"3\"></div>
\t\t\t\t</li>
\t\t\t\t<!-- ///// #article_snsList +++++ ///// -->
\t\t\t</ul>
\t\t\t<p id=\"pageBack\" class=\"up\">
\t\t\t\t<a href=\"/campaign\">一覧を見る</a>
\t\t\t</p>
\t\t</section>
\t\t<!-- ///// +++++ #Campaign +++++ ///// -->
\t\t<!-- ///// +++++ #mainContents +++++ ///// -->
\t</main>
{% endblock %}
", "@user_data/campaign/detail.twig", "/home/gamedev/demo-dev.xyz/public_html/zeamiec/app/template/user_data/campaign/detail.twig");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array("escape" => 3, "no_image_product" => 37, "raw" => 48);
static $functions = array("asset" => 23);
try {
$this->sandbox->checkSecurity(
[],
['escape', 'no_image_product', '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;
}
}
}