<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* layouts/page/whatsnew/details.twig */
class __TwigTemplate_205ac02c2de51e384616edca4f0af23463b1cab843931a1e83671de01bda1ee4 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "        ";
        $this->loadTemplate((("layouts/page/" . (isset($context["session"]) ? $context["session"] : null)) . "/banner.twig"), "layouts/page/whatsnew/details.twig", 1)->display($context);
        // line 2
        echo "    <section id=\"whatsnew-details-section\">
        <div class=\"container vision-text-content\">
            <div class=\"row\">
                <div class=\"col-12 col-md-3 mt-2\">
                    <ul class=\"list-unstyled sidemenu\">
                    ";
        // line 7
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["topTenWhatsnew"]) ? $context["topTenWhatsnew"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["topTenWhatsnewdata"]) {
            // line 8
            echo "
                        ";
            // line 9
            if (($this->getAttribute($context["topTenWhatsnewdata"], "cp_subject", []) == $this->getAttribute((isset($context["whatsnewdetails"]) ? $context["whatsnewdetails"] : null), "cp_subject", []))) {
                // line 10
                echo "                            <li class=\"sidebar-active\" ><a href=\"/whatsnew/details/";
                echo twig_escape_filter($this->env, $this->getAttribute($context["topTenWhatsnewdata"], "cp_subject", []), "html", null, true);
                echo "\" >";
                echo twig_escape_filter($this->env, $this->getAttribute($context["topTenWhatsnewdata"], "cp_subject", []), "html", null, true);
                echo "</a></li>
                        ";
            }
            // line 12
            echo "                        ";
            if (($this->getAttribute($context["topTenWhatsnewdata"], "cp_subject", []) != $this->getAttribute((isset($context["whatsnewdetails"]) ? $context["whatsnewdetails"] : null), "cp_subject", []))) {
                echo "    
                            <li><a href=\"/whatsnew/details/";
                // line 13
                echo twig_escape_filter($this->env, $this->getAttribute($context["topTenWhatsnewdata"], "cp_subject", []), "html", null, true);
                echo "\" >";
                echo twig_escape_filter($this->env, $this->getAttribute($context["topTenWhatsnewdata"], "cp_subject", []), "html", null, true);
                echo "</a></li>
                        ";
            }
            // line 15
            echo "                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['topTenWhatsnewdata'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 16
        echo "                        ";
        // line 25
        echo "                    </ul>
                </div>
                <div class=\"col-12 col-md-9\">
                    ";
        // line 28
        $this->loadTemplate("layouts/breadcrumb.twig", "layouts/page/whatsnew/details.twig", 28)->display($context);
        // line 29
        echo "                    <div class=\"row vision-bottom-padding\">
                        <div class=\"col-11 mx-auto\">
                            <p class=\"text-right vision-text-color-grey whatsnew-no-bottom-margin\">";
        // line 31
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["whatsnewdetails"]) ? $context["whatsnewdetails"] : null), "ep_date", []), "html", null, true);
        echo "</p>
                            <h4 class=\"text-center vision-text-color\">";
        // line 32
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["whatsnewdetails"]) ? $context["whatsnewdetails"] : null), "cp_subject", []), "html", null, true);
        echo "</h4>
                            <hr><img src=\"../../upload/whatsnew_images/";
        // line 33
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["whatsnewdetails"]) ? $context["whatsnewdetails"] : null), "ep_pic", []), "html", null, true);
        echo "\">
                            <p class=\"vision-top-padding\">";
        // line 34
        echo $this->getAttribute((isset($context["whatsnewdetails"]) ? $context["whatsnewdetails"] : null), "cp_content", []);
        echo "</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
";
    }

    public function getTemplateName()
    {
        return "layouts/page/whatsnew/details.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  100 => 34,  96 => 33,  92 => 32,  88 => 31,  84 => 29,  82 => 28,  77 => 25,  75 => 16,  69 => 15,  62 => 13,  57 => 12,  49 => 10,  47 => 9,  44 => 8,  40 => 7,  33 => 2,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("        {% include 'layouts/page/' ~ session ~ '/banner.twig' %}
    <section id=\"whatsnew-details-section\">
        <div class=\"container vision-text-content\">
            <div class=\"row\">
                <div class=\"col-12 col-md-3 mt-2\">
                    <ul class=\"list-unstyled sidemenu\">
                    {% for topTenWhatsnewdata in topTenWhatsnew %}

                        {% if topTenWhatsnewdata.cp_subject == whatsnewdetails.cp_subject %}
                            <li class=\"sidebar-active\" ><a href=\"/whatsnew/details/{{topTenWhatsnewdata.cp_subject}}\" >{{topTenWhatsnewdata.cp_subject}}</a></li>
                        {% endif %}
                        {% if topTenWhatsnewdata.cp_subject != whatsnewdetails.cp_subject %}    
                            <li><a href=\"/whatsnew/details/{{topTenWhatsnewdata.cp_subject}}\" >{{topTenWhatsnewdata.cp_subject}}</a></li>
                        {% endif %}
                    {% endfor %}
                        {# <li><a href=\"/whatsnew/details/加拿大十天學術交流\">加拿大十天學術交流</a></li>
                        <li><a href=\"/whatsnew/details/家庭教育講座報導\">家庭教育講座報導</a></li>
                        <li class=\"sidebar-active\"><a>香港十天學術交流團報名開始</a></li>
                        <li><a href=\"/whatsnew/details/十二天澳洲珀斯學術交流團報名開始\">十二天澳洲珀斯學術交流團報名開始</a></li>
                        <li><a href=\"/whatsnew/details/加拿大十天學術交流\">加拿大十天學術交流</a></li>
                        <li><a href=\"/whatsnew/details/家庭教育講座報導\">家庭教育講座報導</a></li>
                        <li><a href=\"/whatsnew/details/企業伙伴計劃頒奬禮暨運動友善計劃啟動禮\">企業伙伴計劃頒奬禮暨運動友善計劃啟動禮</a></li>
                        <li><a href=\"/whatsnew/details/十二天澳洲珀斯學術交流團報名開始\">十二天澳洲珀斯學術交流團報名開始</a></li>
                        <li><a href=\"/whatsnew/details/加拿大十天學術交流\">加拿大十天學術交流</a></li> #}
                    </ul>
                </div>
                <div class=\"col-12 col-md-9\">
                    {% include 'layouts/breadcrumb.twig' %}
                    <div class=\"row vision-bottom-padding\">
                        <div class=\"col-11 mx-auto\">
                            <p class=\"text-right vision-text-color-grey whatsnew-no-bottom-margin\">{{whatsnewdetails.ep_date}}</p>
                            <h4 class=\"text-center vision-text-color\">{{whatsnewdetails.cp_subject}}</h4>
                            <hr><img src=\"../../upload/whatsnew_images/{{whatsnewdetails.ep_pic}}\">
                            <p class=\"vision-top-padding\">{{whatsnewdetails.cp_content | raw}}</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
", "layouts/page/whatsnew/details.twig", "/home/artechsy/public_html/vision.artech-system.com/application/views/layouts/page/whatsnew/details.twig");
    }
}
