<?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;
/* sitemap_index.xml.twig */
class __TwigTemplate_29d60043b802bdddb19af3804179670f40f4e2b0df73315680b699b88403fff3 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "sitemap_index.xml.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "sitemap_index.xml.twig"));
// line 1
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<sitemapindex xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
<sitemap>
<loc>";
// line 4
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sitemap_page_xml");
echo "</loc>
<lastmod>";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getDateFormatFilter(twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 5, $this->source); })()), "update_date", [], "any", false, false, false, 5), "", "c"), "html", null, true);
echo "</lastmod>
</sitemap>
<sitemap>
<loc>";
// line 8
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sitemap_category_xml");
echo "</loc>
<lastmod>";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getDateFormatFilter(twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 9, $this->source); })()), "update_date", [], "any", false, false, false, 9), "", "c"), "html", null, true);
echo "</lastmod>
</sitemap>
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["productPageCount"]) || array_key_exists("productPageCount", $context) ? $context["productPageCount"] : (function () { throw new RuntimeError('Variable "productPageCount" does not exist.', 11, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
// line 12
echo " <sitemap>
<loc>";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sitemap_product_xml", ["page" => $context["p"]]), "html", null, true);
echo "</loc>
<lastmod>";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getDateFormatFilter(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 14, $this->source); })()), "update_date", [], "any", false, false, false, 14), "", "c"), "html", null, true);
echo "</lastmod>
</sitemap>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
echo "</sitemapindex>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "sitemap_index.xml.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 87 => 17, 78 => 14, 74 => 13, 71 => 12, 67 => 11, 62 => 9, 58 => 8, 52 => 5, 48 => 4, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<sitemapindex xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
<sitemap>
<loc>{{url('sitemap_page_xml')}}</loc>
<lastmod>{{Page.update_date|date_format('','c')}}</lastmod>
</sitemap>
<sitemap>
<loc>{{url('sitemap_category_xml')}}</loc>
<lastmod>{{Category.update_date|date_format('','c')}}</lastmod>
</sitemap>
{% for p in 1..productPageCount %}
<sitemap>
<loc>{{url('sitemap_product_xml', {page: p})}}</loc>
<lastmod>{{Product.update_date|date_format('','c')}}</lastmod>
</sitemap>
{% endfor %}
</sitemapindex>
", "sitemap_index.xml.twig", "/home/daiwafood/www/ec/app/template/mizunasu/sitemap_index.xml.twig");
}
}