<?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/course/details.twig */
class __TwigTemplate_1ce084bab6a34f28abe1160db7d7ea76a3d88322110441deaa3eb0cf8c242bed 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/course/details.twig", 1)->display($context);
        // line 2
        echo "    <section id=\"course-section\" class=\"course-content\">
        <div class=\"container vision-text-content\">
            <div class=\"row\">
                <div class=\"col-12 col-md-3 mt-2\">
                    <ul class=\"list-unstyled sidemenu\">
                        ";
        // line 11
        echo "
                          ";
        // line 12
        $context["countbanner"] = 0;
        // line 13
        echo "                            ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["courselist"]) ? $context["courselist"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["courselistdata"]) {
            // line 14
            echo "                            ";
            // line 24
            echo "                                ";
            if (((isset($context["currentTitle"]) ? $context["currentTitle"] : null) == $this->getAttribute($context["courselistdata"], "cp_subject", []))) {
                // line 25
                echo "                                    <a href=\"/course/details/";
                echo twig_escape_filter($this->env, $this->getAttribute($context["courselistdata"], "cp_subject", []), "html", null, true);
                echo "\" style=\"text-decoration: none;\"><li  class=\"sidebar-active\">";
                echo twig_escape_filter($this->env, $this->getAttribute($context["courselistdata"], "cp_subject", []), "html", null, true);
                echo "</li> </a>
                                ";
            }
            // line 27
            echo "                                ";
            if (((isset($context["currentTitle"]) ? $context["currentTitle"] : null) != $this->getAttribute($context["courselistdata"], "cp_subject", []))) {
                // line 28
                echo "                                <a href=\"/course/details/";
                echo twig_escape_filter($this->env, $this->getAttribute($context["courselistdata"], "cp_subject", []), "html", null, true);
                echo "\"  style=\"text-decoration: none;\"><li>";
                echo twig_escape_filter($this->env, $this->getAttribute($context["courselistdata"], "cp_subject", []), "html", null, true);
                echo "</li></a>
                                ";
            }
            // line 30
            echo "                            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['courselistdata'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 31
        echo "                    </ul>
                </div>
                <div class=\"col-12 col-md-9\">
                    ";
        // line 34
        $this->loadTemplate("layouts/breadcrumb.twig", "layouts/page/course/details.twig", 34)->display($context);
        // line 35
        echo "                    <div class=\"row\">
                        <div class=\"col-12 vision-text-content\">
                            <hr>
                                ";
        // line 44
        echo "                                  ";
        echo $this->getAttribute((isset($context["coursedata"]) ? $context["coursedata"] : null), "cp_content", []);
        echo "
                            ";
        // line 46
        echo "                               

                            
                        </div>
                    </div>
                    ";
        // line 59
        echo "                </div>
            </div>
        </div>
    </section>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  104 => 59,  97 => 46,  92 => 44,  87 => 35,  85 => 34,  80 => 31,  74 => 30,  66 => 28,  63 => 27,  55 => 25,  52 => 24,  50 => 14,  45 => 13,  43 => 12,  40 => 11,  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=\"course-section\" class=\"course-content\">
        <div class=\"container vision-text-content\">
            <div class=\"row\">
                <div class=\"col-12 col-md-3 mt-2\">
                    <ul class=\"list-unstyled sidemenu\">
                        {# <li class=\"sidebar-active\"><a>國際英語考試1</a></li>
                        <li><a href=\"/course/details/世界派英語\">世界派英語</a></li>
                        <li><a href=\"/course/details/中國文學\">中國文學</a></li>
                        <li><a href=\"/course/details/藝術\">藝術</a></li> #}

                          {% set countbanner = 0 %}
                            {% for courselistdata in courselist %}
                            {# {% if not countbanner == 0 %}
                            <div class=\"carousel-item\">
                            {% endif %}
                            {% if countbanner == 0 %}
                            <div class=\"carousel-item active\">
                                {% set countbanner = 1 %}
                            {% endif %}
                            
                            <img class=\"w-100 d-block\" src=\"../upload/album_images/{{ bannerdata.ep_pic }}\" alt=\"Slide Image\">
                            </div>    #}
                                {% if currentTitle == courselistdata.cp_subject %}
                                    <a href=\"/course/details/{{courselistdata.cp_subject}}\" style=\"text-decoration: none;\"><li  class=\"sidebar-active\">{{courselistdata.cp_subject}}</li> </a>
                                {% endif %}
                                {% if currentTitle != courselistdata.cp_subject %}
                                <a href=\"/course/details/{{courselistdata.cp_subject}}\"  style=\"text-decoration: none;\"><li>{{courselistdata.cp_subject}}</li></a>
                                {% endif %}
                            {% endfor %}
                    </ul>
                </div>
                <div class=\"col-12 col-md-9\">
                    {% include 'layouts/breadcrumb.twig' %}
                    <div class=\"row\">
                        <div class=\"col-12 vision-text-content\">
                            <hr>
                                {# {% for coursedetails in coursedata %}
                            <p>
                            {{coursedetails.cp_content}}
                            {{coursedetails.ep_date}}
                            </p>   
                                {% endfor %} #}
                                  {{ coursedata.cp_content | raw}}
                            {# <p>依據不同的目的您可以選擇不同的英文測試考試。如果你需要一個由官方證明的英文考試分數，用來申請澳洲簽證或申請海外學校的學位課程，那就不能自己隨意選擇了。一般來說學校和當地政府都會告訴你申請簽證或學位課程需要通過哪種考試。但如果你是因為其它的原因，比如得到一份英文能力的證書用於求職履歷上面，或者是剛學完英文課程想要證明一下自己的英文水平，那就有很多選擇了。你可以參考每項英文測試的價格、在你所在的城市是否有考場，以及在你所在的國家是否具有知名度。無論如何，你都應當在做決定之前對所有的英文測試考試了解清楚，雖然它們看起來有點像，但實際上各有自己的特色。</p> #}
                               

                            
                        </div>
                    </div>
                    {# <div class=\"row vision-padding\">
                        <div class=\"col-md-12 col-4 d-flex justify-content-center align-items-center\"><img class=\"course-partner\" src=\"{{ path.image }}partners/TOEFL_logo.png\"></div>
                        <div class=\"col-md-12 col-4 d-flex justify-content-center align-items-center\"><img class=\"course-partner\" src=\"{{ path.image }}partners/oxford_logo.png\"></div>
                        <div class=\"col-md-12 col-4 d-flex justify-content-center align-items-center\"><img class=\"course-partner\" src=\"{{ path.image }}partners/IELTS_logo.png\"></div>
                    </div>
                    <div class=\"row course-bottom-padding\">
                        <div class=\"col-md-12 col-4 d-flex justify-content-center align-items-center\"><img class=\"course-partner\" src=\"{{ path.image }}partners/cambridge_english.png\"></div>
                    </div> #}
                </div>
            </div>
        </div>
    </section>
", "layouts/page/course/details.twig", "/home/artechsy/public_html/vision.artech-system.com/application/views/layouts/page/course/details.twig");
    }
}
