<?php

/* feed.xml */
class __TwigTemplate_da4601b2e6724c87a96cfe2fe99d5f3856742a520f3ba452855ba41c2935571b extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        if (((isset($context["S_SMARTFEED_FEED_TYPE"]) ? $context["S_SMARTFEED_FEED_TYPE"] : null) == 1)) {
            // line 2
            echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<rdf:RDF
\txmlns=\"http://purl.org/rss/1.0/\"
\txmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"
\txmlns:slash=\"http://purl.org/rss/1.0/modules/slash/\"
\txmlns:dc=\"http://purl.org/dc/elements/1.1/\">
\t<channel rdf:about=\"";
            // line 8
            echo (isset($context["S_SMARTFEED_FEED_CHANNEL_ABOUT"]) ? $context["S_SMARTFEED_FEED_CHANNEL_ABOUT"] : null);
            echo "\">
\t\t<title><![CDATA[";
            // line 9
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_TITLE");
            echo "]]></title>
\t\t<description>";
            // line 10
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_DESCRIPTION");
            echo "</description>
\t\t<link>";
            // line 11
            echo (isset($context["U_SMARTFEED_FEED_LINK"]) ? $context["U_SMARTFEED_FEED_LINK"] : null);
            echo "</link>
\t\t<image rdf:resource=\"";
            // line 12
            echo (isset($context["U_SMARTFEED_FEED_IMAGE"]) ? $context["U_SMARTFEED_FEED_IMAGE"] : null);
            echo "\" />
\t\t<dc:date>";
            // line 13
            echo (isset($context["S_SMARTFEED_FEED_UPDATED"]) ? $context["S_SMARTFEED_FEED_UPDATED"] : null);
            echo "</dc:date>
\t\t<items>
";
            // line 15
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "items", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["items"]) {
                // line 16
                echo "\t\t\t<rdf:Seq>
\t\t\t\t<rdf:li rdf:resource=\"";
                // line 17
                echo $this->getAttribute($context["items"], "U_RESOURCE", array());
                echo "\"/>
\t\t\t</rdf:Seq>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['items'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 20
            echo "\t\t</items>
\t</channel>
\t<image rdf:about=\"";
            // line 22
            echo (isset($context["U_SMARTFEED_FEED_IMAGE"]) ? $context["U_SMARTFEED_FEED_IMAGE"] : null);
            echo "\">
\t\t<title><![CDATA[";
            // line 23
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_IMAGE_TITLE");
            echo "]]></title>
\t\t<link>";
            // line 24
            echo (isset($context["U_SMARTFEED_FEED_IMAGE_LINK"]) ? $context["U_SMARTFEED_FEED_IMAGE_LINK"] : null);
            echo "</link>
\t\t<url>";
            // line 25
            echo (isset($context["U_SMARTFEED_FEED_IMAGE"]) ? $context["U_SMARTFEED_FEED_IMAGE"] : null);
            echo "</url>
\t</image>
";
            // line 27
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "items", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["items"]) {
                // line 28
                echo "\t<item rdf:about=\"";
                echo $this->getAttribute($context["items"], "U_LINK", array());
                echo "\">
\t\t<dc:format>text/html</dc:format>
\t\t<dc:date>";
                // line 30
                echo $this->getAttribute($context["items"], "S_DATE", array());
                echo "</dc:date>
\t\t<dc:source>";
                // line 31
                echo $this->getAttribute($context["items"], "U_SOURCE", array());
                echo "</dc:source>
\t\t<dc:creator><![CDATA[";
                // line 32
                echo $this->getAttribute($context["items"], "S_CREATOR", array());
                echo "]]></dc:creator>
\t\t<title><![CDATA[";
                // line 33
                echo $this->getAttribute($context["items"], "L_TITLE", array());
                echo "]]></title>
\t\t<link>";
                // line 34
                echo $this->getAttribute($context["items"], "U_LINK", array());
                echo "</link>
\t\t<description><![CDATA[";
                // line 35
                echo $this->getAttribute($context["items"], "L_DESCRIPTION", array());
                echo "]]></description>
\t</item>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['items'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 38
            echo "</rdf:RDF>
";
        } elseif ((        // line 39
(isset($context["S_SMARTFEED_FEED_TYPE"]) ? $context["S_SMARTFEED_FEED_TYPE"] : null) == 2)) {
            // line 40
            echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<rss version=\"2.0\" xmlns:atom=\"http://www.w3.org/2005/Atom\">
\t<channel>
\t\t<title><![CDATA[";
            // line 43
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_TITLE");
            echo "]]></title>
\t\t<description><![CDATA[";
            // line 44
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_DESCRIPTION");
            echo "]]></description>
\t\t<link>";
            // line 45
            echo (isset($context["U_SMARTFEED_FEED_ID"]) ? $context["U_SMARTFEED_FEED_ID"] : null);
            echo "</link>
\t\t<lastBuildDate>";
            // line 46
            echo (isset($context["S_SMARTFEED_FEED_BUILD_DATE"]) ? $context["S_SMARTFEED_FEED_BUILD_DATE"] : null);
            echo "</lastBuildDate>
\t\t<generator>";
            // line 47
            echo (isset($context["U_SMARTFEED_FEED_GENERATOR"]) ? $context["U_SMARTFEED_FEED_GENERATOR"] : null);
            echo "</generator>
\t\t<atom:link href=\"";
            // line 48
            echo (isset($context["U_SMARTFEED_FEED_LINK"]) ? $context["U_SMARTFEED_FEED_LINK"] : null);
            echo "\" type=\"application/rss+xml\" />
\t\t";
            // line 49
            if ((isset($context["S_SMARTFEED_SHOW_WEBMASTER"]) ? $context["S_SMARTFEED_SHOW_WEBMASTER"] : null)) {
                // line 50
                echo "\t\t<webMaster>";
                echo (isset($context["U_SMARTFEED_WEBMASTER"]) ? $context["U_SMARTFEED_WEBMASTER"] : null);
                echo "</webMaster>
\t\t";
            }
            // line 52
            echo "\t\t<image>
\t\t\t<url>";
            // line 53
            echo (isset($context["U_SMARTFEED_FEED_IMAGE"]) ? $context["U_SMARTFEED_FEED_IMAGE"] : null);
            echo "</url>
\t\t\t<title><![CDATA[";
            // line 54
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_IMAGE_TITLE");
            echo "]]></title>
\t\t\t<link>";
            // line 55
            echo (isset($context["U_SMARTFEED_FEED_ID"]) ? $context["U_SMARTFEED_FEED_ID"] : null);
            echo "</link>
\t\t</image>
\t\t<language>";
            // line 57
            echo (isset($context["S_SMARTFEED_FEED_LANGUAGE"]) ? $context["S_SMARTFEED_FEED_LANGUAGE"] : null);
            echo "</language>
\t\t<pubDate>";
            // line 58
            echo (isset($context["S_SMARTFEED_FEED_PUBDATE"]) ? $context["S_SMARTFEED_FEED_PUBDATE"] : null);
            echo "</pubDate>
\t\t<ttl>";
            // line 59
            echo (isset($context["S_SMARTFEED_FEED_TTL"]) ? $context["S_SMARTFEED_FEED_TTL"] : null);
            echo "</ttl>
";
            // line 60
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "items", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["items"]) {
                // line 61
                echo "\t\t<item>
\t\t\t<title><![CDATA[";
                // line 62
                echo $this->getAttribute($context["items"], "L_TITLE", array());
                echo "]]></title>
\t\t\t<link>";
                // line 63
                echo $this->getAttribute($context["items"], "U_LINK", array());
                echo "</link>
\t\t\t<description><![CDATA[";
                // line 64
                echo $this->getAttribute($context["items"], "L_DESCRIPTION", array());
                echo "]]></description>
\t\t\t<author>";
                // line 65
                echo $this->getAttribute($context["items"], "S_AUTHOR", array());
                echo "</author>
\t\t\t<category><![CDATA[";
                // line 66
                echo $this->getAttribute($context["items"], "L_CATEGORY", array());
                echo "]]></category>
\t\t\t<comments>";
                // line 67
                echo $this->getAttribute($context["items"], "U_COMMENTS", array());
                echo "</comments>
\t\t\t<pubDate>";
                // line 68
                echo $this->getAttribute($context["items"], "S_PUBDATE", array());
                echo "</pubDate>
\t\t\t<guid isPermaLink=\"false\">";
                // line 69
                echo $this->getAttribute($context["items"], "U_GUID", array());
                echo "</guid>
\t\t</item>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['items'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 72
            echo "\t</channel>
</rss>
";
        } else {
            // line 75
            echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<feed xmlns=\"http://www.w3.org/2005/Atom\" xml:lang=\"en-GB\">
\t<title><![CDATA[";
            // line 77
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_TITLE");
            echo "]]></title>
\t<subtitle><![CDATA[";
            // line 78
            echo $this->env->getExtension('phpbb')->lang("SMARTFEED_FEED_DESCRIPTION");
            echo "]]></subtitle>
\t<id>";
            // line 79
            echo (isset($context["U_SMARTFEED_FEED_ID"]) ? $context["U_SMARTFEED_FEED_ID"] : null);
            echo "</id>
\t<link type=\"application/atom+xml\" href=\"";
            // line 80
            echo (isset($context["U_SMARTFEED_FEED_LINK"]) ? $context["U_SMARTFEED_FEED_LINK"] : null);
            echo "\" />
\t<updated>";
            // line 81
            echo (isset($context["S_SMARTFEED_FEED_UPDATED"]) ? $context["S_SMARTFEED_FEED_UPDATED"] : null);
            echo "</updated>
\t<generator uri=\"";
            // line 82
            echo (isset($context["U_SMARTFEED_FEED_PAGE_URL"]) ? $context["U_SMARTFEED_FEED_PAGE_URL"] : null);
            echo "\" version=\"";
            echo (isset($context["S_SMARTFEED_FEED_VERSION"]) ? $context["S_SMARTFEED_FEED_VERSION"] : null);
            echo "\">";
            echo (isset($context["U_SMARTFEED_FEED_GENERATOR"]) ? $context["U_SMARTFEED_FEED_GENERATOR"] : null);
            echo "</generator>
";
            // line 83
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "items", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["items"]) {
                // line 84
                echo "\t<entry>
\t\t<title><![CDATA[";
                // line 85
                echo $this->getAttribute($context["items"], "L_TITLE", array());
                echo "]]></title>
\t\t<link rel=\"alternate\" type=\"text/html\" href=\"";
                // line 86
                echo $this->getAttribute($context["items"], "U_LINK", array());
                echo "\"/>
\t\t<published>";
                // line 87
                echo $this->getAttribute($context["items"], "S_PUBLISHED", array());
                echo "</published>
\t\t<updated>";
                // line 88
                echo $this->getAttribute($context["items"], "S_UPDATED", array());
                echo "</updated>
\t\t<id>";
                // line 89
                echo $this->getAttribute($context["items"], "U_ID", array());
                echo "</id>
\t\t<author>
\t\t\t<name><![CDATA[";
                // line 91
                echo $this->getAttribute($context["items"], "L_NAME", array());
                echo "]]></name>
\t\t\t<email><![CDATA[";
                // line 92
                echo $this->getAttribute($context["items"], "L_EMAIL", array());
                echo "]]></email>
\t\t</author>
\t\t<category term=\"";
                // line 94
                echo $this->getAttribute($context["items"], "L_CATEGORY", array());
                echo "\" />
\t\t<content type=\"html\"><![CDATA[";
                // line 95
                echo $this->getAttribute($context["items"], "L_CONTENT", array());
                echo "]]></content>
\t\t<summary type=\"html\"><![CDATA[";
                // line 96
                echo $this->getAttribute($context["items"], "L_SUMMARY", array());
                echo "]]></summary>
\t</entry>
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['items'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 99
            echo "</feed>
";
        }
    }

    public function getTemplateName()
    {
        return "feed.xml";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  335 => 99,  326 => 96,  322 => 95,  318 => 94,  313 => 92,  309 => 91,  304 => 89,  300 => 88,  296 => 87,  292 => 86,  288 => 85,  285 => 84,  281 => 83,  273 => 82,  269 => 81,  265 => 80,  261 => 79,  257 => 78,  253 => 77,  249 => 75,  244 => 72,  235 => 69,  231 => 68,  227 => 67,  223 => 66,  219 => 65,  215 => 64,  211 => 63,  207 => 62,  204 => 61,  200 => 60,  196 => 59,  192 => 58,  188 => 57,  183 => 55,  179 => 54,  175 => 53,  172 => 52,  166 => 50,  164 => 49,  160 => 48,  156 => 47,  152 => 46,  148 => 45,  144 => 44,  140 => 43,  135 => 40,  133 => 39,  130 => 38,  121 => 35,  117 => 34,  113 => 33,  109 => 32,  105 => 31,  101 => 30,  95 => 28,  91 => 27,  86 => 25,  82 => 24,  78 => 23,  74 => 22,  70 => 20,  61 => 17,  58 => 16,  54 => 15,  49 => 13,  45 => 12,  41 => 11,  37 => 10,  33 => 9,  29 => 8,  21 => 2,  19 => 1,);
    }
}
/* <!-- IF S_SMARTFEED_FEED_TYPE eq 1 -->*/
/* <?xml version="1.0" encoding="utf-8"?>*/
/* <rdf:RDF*/
/* 	xmlns="http://purl.org/rss/1.0/"*/
/* 	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"*/
/* 	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"*/
/* 	xmlns:dc="http://purl.org/dc/elements/1.1/">*/
/* 	<channel rdf:about="{S_SMARTFEED_FEED_CHANNEL_ABOUT}">*/
/* 		<title><![CDATA[{L_SMARTFEED_FEED_TITLE}]]></title>*/
/* 		<description>{L_SMARTFEED_FEED_DESCRIPTION}</description>*/
/* 		<link>{U_SMARTFEED_FEED_LINK}</link>*/
/* 		<image rdf:resource="{U_SMARTFEED_FEED_IMAGE}" />*/
/* 		<dc:date>{S_SMARTFEED_FEED_UPDATED}</dc:date>*/
/* 		<items>*/
/* <!-- BEGIN items -->*/
/* 			<rdf:Seq>*/
/* 				<rdf:li rdf:resource="{items.U_RESOURCE}"/>*/
/* 			</rdf:Seq>*/
/* <!-- END items -->*/
/* 		</items>*/
/* 	</channel>*/
/* 	<image rdf:about="{U_SMARTFEED_FEED_IMAGE}">*/
/* 		<title><![CDATA[{L_SMARTFEED_FEED_IMAGE_TITLE}]]></title>*/
/* 		<link>{U_SMARTFEED_FEED_IMAGE_LINK}</link>*/
/* 		<url>{U_SMARTFEED_FEED_IMAGE}</url>*/
/* 	</image>*/
/* <!-- BEGIN items -->*/
/* 	<item rdf:about="{items.U_LINK}">*/
/* 		<dc:format>text/html</dc:format>*/
/* 		<dc:date>{items.S_DATE}</dc:date>*/
/* 		<dc:source>{items.U_SOURCE}</dc:source>*/
/* 		<dc:creator><![CDATA[{items.S_CREATOR}]]></dc:creator>*/
/* 		<title><![CDATA[{items.L_TITLE}]]></title>*/
/* 		<link>{items.U_LINK}</link>*/
/* 		<description><![CDATA[{items.L_DESCRIPTION}]]></description>*/
/* 	</item>*/
/* <!-- END items -->*/
/* </rdf:RDF>*/
/* <!-- ELSEIF S_SMARTFEED_FEED_TYPE eq 2 -->*/
/* <?xml version="1.0" encoding="utf-8"?>*/
/* <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">*/
/* 	<channel>*/
/* 		<title><![CDATA[{L_SMARTFEED_FEED_TITLE}]]></title>*/
/* 		<description><![CDATA[{L_SMARTFEED_FEED_DESCRIPTION}]]></description>*/
/* 		<link>{U_SMARTFEED_FEED_ID}</link>*/
/* 		<lastBuildDate>{S_SMARTFEED_FEED_BUILD_DATE}</lastBuildDate>*/
/* 		<generator>{U_SMARTFEED_FEED_GENERATOR}</generator>*/
/* 		<atom:link href="{U_SMARTFEED_FEED_LINK}" type="application/rss+xml" />*/
/* 		<!-- IF S_SMARTFEED_SHOW_WEBMASTER -->*/
/* 		<webMaster>{U_SMARTFEED_WEBMASTER}</webMaster>*/
/* 		<!-- ENDIF -->*/
/* 		<image>*/
/* 			<url>{U_SMARTFEED_FEED_IMAGE}</url>*/
/* 			<title><![CDATA[{L_SMARTFEED_FEED_IMAGE_TITLE}]]></title>*/
/* 			<link>{U_SMARTFEED_FEED_ID}</link>*/
/* 		</image>*/
/* 		<language>{S_SMARTFEED_FEED_LANGUAGE}</language>*/
/* 		<pubDate>{S_SMARTFEED_FEED_PUBDATE}</pubDate>*/
/* 		<ttl>{S_SMARTFEED_FEED_TTL}</ttl>*/
/* <!-- BEGIN items -->*/
/* 		<item>*/
/* 			<title><![CDATA[{items.L_TITLE}]]></title>*/
/* 			<link>{items.U_LINK}</link>*/
/* 			<description><![CDATA[{items.L_DESCRIPTION}]]></description>*/
/* 			<author>{items.S_AUTHOR}</author>*/
/* 			<category><![CDATA[{items.L_CATEGORY}]]></category>*/
/* 			<comments>{items.U_COMMENTS}</comments>*/
/* 			<pubDate>{items.S_PUBDATE}</pubDate>*/
/* 			<guid isPermaLink="false">{items.U_GUID}</guid>*/
/* 		</item>*/
/* <!-- END items -->*/
/* 	</channel>*/
/* </rss>*/
/* <!-- ELSE -->*/
/* <?xml version="1.0" encoding="utf-8"?>*/
/* <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">*/
/* 	<title><![CDATA[{L_SMARTFEED_FEED_TITLE}]]></title>*/
/* 	<subtitle><![CDATA[{L_SMARTFEED_FEED_DESCRIPTION}]]></subtitle>*/
/* 	<id>{U_SMARTFEED_FEED_ID}</id>*/
/* 	<link type="application/atom+xml" href="{U_SMARTFEED_FEED_LINK}" />*/
/* 	<updated>{S_SMARTFEED_FEED_UPDATED}</updated>*/
/* 	<generator uri="{U_SMARTFEED_FEED_PAGE_URL}" version="{S_SMARTFEED_FEED_VERSION}">{U_SMARTFEED_FEED_GENERATOR}</generator>*/
/* <!-- BEGIN items -->*/
/* 	<entry>*/
/* 		<title><![CDATA[{items.L_TITLE}]]></title>*/
/* 		<link rel="alternate" type="text/html" href="{items.U_LINK}"/>*/
/* 		<published>{items.S_PUBLISHED}</published>*/
/* 		<updated>{items.S_UPDATED}</updated>*/
/* 		<id>{items.U_ID}</id>*/
/* 		<author>*/
/* 			<name><![CDATA[{items.L_NAME}]]></name>*/
/* 			<email><![CDATA[{items.L_EMAIL}]]></email>*/
/* 		</author>*/
/* 		<category term="{items.L_CATEGORY}" />*/
/* 		<content type="html"><![CDATA[{items.L_CONTENT}]]></content>*/
/* 		<summary type="html"><![CDATA[{items.L_SUMMARY}]]></summary>*/
/* 	</entry>*/
/* <!-- END items -->*/
/* </feed>*/
/* <!-- ENDIF -->*/
