<?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/recommend/index.twig */
class __TwigTemplate_29b1ce6cf423a423ad735fd126835f9f210d279c85fca4f59a211e7bdda9bfa9 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/recommend/index.twig", 1)->display($context);
        // line 2
        echo "    <section id=\"/recommend-section\">
        <div class=\"container vision-text-content\">
            <div class=\"row\">
                <div class=\"col-11 mx-auto\">
                    ";
        // line 6
        $this->loadTemplate("layouts/breadcrumb.twig", "layouts/page/recommend/index.twig", 6)->display($context);
        // line 7
        echo "                    ";
        // line 41
        echo "                <div class=\"row vision-bottom-padding\">
                ";
        // line 43
        echo "                ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["recommendlist"]) ? $context["recommendlist"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["recommenddata"]) {
            // line 44
            echo "                 ";
            // line 54
            echo "                        <div class=\"col-12 col-md-4 recommend-block mb-2\"><a href=\"/recommend/details/";
            echo twig_escape_filter($this->env, $this->getAttribute($context["recommenddata"], "cp_subject", []), "html", null, true);
            echo "\"><img class=\"img-fluid grow5\" src=\"../upload/recommend_images/";
            echo twig_escape_filter($this->env, $this->getAttribute($context["recommenddata"], "ep_pic", []), "html", null, true);
            echo "\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/";
            // line 55
            echo twig_escape_filter($this->env, $this->getAttribute($context["recommenddata"], "cp_subject", []), "html", null, true);
            echo "\" class=\"changeText\">";
            echo twig_escape_filter($this->env, $this->getAttribute($context["recommenddata"], "cp_subject", []), "html", null, true);
            echo "</a></strong><br></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>";
            // line 56
            echo twig_escape_filter($this->env, $this->getAttribute($context["recommenddata"], "cp_brief", []), "html", null, true);
            echo "</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\" style=\"font-size:16px;
    line-height:30px;
    /*height: 120px;*/
    height: 180px;
    margin-bottom:15px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp:6;    
    -webkit-box-orient: vertical;\">";
            // line 66
            echo $this->getAttribute($context["recommenddata"], "cp_content", []);
            echo "<br></p>
                        </div>   
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recommenddata'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 69
        echo "                </div>
                </div>
            </div>
        </div>
    </section>
";
    }

    public function getTemplateName()
    {
        return "layouts/page/recommend/index.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  88 => 69,  79 => 66,  66 => 56,  60 => 55,  53 => 54,  51 => 44,  46 => 43,  43 => 41,  41 => 7,  39 => 6,  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=\"/recommend-section\">
        <div class=\"container vision-text-content\">
            <div class=\"row\">
                <div class=\"col-11 mx-auto\">
                    {% include 'layouts/breadcrumb.twig' %}
                    {# <div class=\"row vision-bottom-padding\">
                        <div class=\"col-4 recommend-block\"><a href=\"/recommend/details/趙哲妤小姐\"><img class=\"img-fluid\" src=\"{{ path.image }}recommend/recommend-01.png\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/趙哲妤小姐\">趙哲妤小姐</a></strong></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>英語實戰專家</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\">「系統化學習模式，定時提供各卷評估和家課，讓同學了解其水平，亦讓老師掌握同學的學習進度。」</p>
                        </div>
                        <div class=\"col-4 recommend-block\"><a href=\"/recommend/details/Amy%20Smith\"><img class=\"img-fluid\" src=\"{{ path.image }}recommend/recommend-02.png\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/Amy%20Smith\">Amy Smith</a></strong><br></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>英語實戰專家</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\">Plan specific educational goals and objectives for each class that relate to your overall goals and objectives. Develop your goals and objectives around a variety of activities: demonstrations, experiential activities.</p>
                        </div>
                        <div class=\"col-4 recommend-block\"><a href=\"/recommend/details/Dr.%20Jean%20Rash\"><img class=\"img-fluid\" src=\"{{ path.image }}recommend/recommend-03.png\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/Dr.%20Jean%20Rash\">Dr. Jean Rash</a></strong><br></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>英語實戰專家</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\">Plan specific educational goals and objectives for each class that relate to your overall goals and objectives. Develop your goals and objectives around a variety of activities: demonstrations, experiential activities.<br></p>
                        </div>
                    </div>
                    <div class=\"row vision-bottom-padding\">
                        <div class=\"col-4 recommend-block\"><a href=\"/recommend/details/Dr.%20Jean%20Rash\"><img class=\"img-fluid\" src=\"{{ path.image }}recommend/recommend-04.png\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/Dr.%20Jean%20Rash\">Dr. Jean Rash</a></strong><br></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>英語實戰專家</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\">Plan specific educational goals and objectives for each class that relate to your overall goals and objectives. Develop your goals and objectives around a variety of activities: demonstrations, experiential activities.<br></p>
                        </div>
                        <div class=\"col-4 recommend-block\"><a href=\"/recommend/details/趙哲妤小姐\"><img class=\"img-fluid\" src=\"{{ path.image }}recommend/recommend-05.png\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/趙哲妤小姐\">趙哲妤小姐</a></strong></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>英語實戰專家</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\">「系統化學習模式，定時提供各卷評估和家課，讓同學了解其水平，亦讓老師掌握同學的學習進度。」</p>
                        </div>
                        <div class=\"col-4 recommend-block\"><a href=\"/recommend/details/Amy%20Smith\"><img class=\"img-fluid\" src=\"{{ path.image }}recommend/recommend-06.png\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/Amy%20Smith\">Amy Smith</a></strong><br></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>英語實戰專家</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\">Plan specific educational goals and objectives for each class that relate to your overall goals and objectives. Develop your goals and objectives around a variety of activities: demonstrations, experiential activities.<br></p>
                        </div>
                    </div> #}
                <div class=\"row vision-bottom-padding\">
                {# {% set countbanner = 0 %} #}
                {% for recommenddata in recommendlist %}
                 {# {% 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>  #}
                        <div class=\"col-12 col-md-4 recommend-block mb-2\"><a href=\"/recommend/details/{{recommenddata.cp_subject}}\"><img class=\"img-fluid grow5\" src=\"../upload/recommend_images/{{recommenddata.ep_pic}}\"></a>
                            <h5 class=\"vision-text-color recommend-block-padding-top\"><strong><a href=\"/recommend/details/{{recommenddata.cp_subject}}\" class=\"changeText\">{{recommenddata.cp_subject}}</a></strong><br></h5>
                            <h6 class=\"vision-text-color-blue recommend-block-padding\"><strong>{{recommenddata.cp_brief}}</strong><br></h6>
                            <p class=\"recommend-block-padding-bottom\" style=\"font-size:16px;
    line-height:30px;
    /*height: 120px;*/
    height: 180px;
    margin-bottom:15px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp:6;    
    -webkit-box-orient: vertical;\">{{recommenddata.cp_content | raw }}<br></p>
                        </div>   
                {% endfor %}
                </div>
                </div>
            </div>
        </div>
    </section>
", "layouts/page/recommend/index.twig", "/home/artechsy/public_html/vision.artech-system.com/application/views/layouts/page/recommend/index.twig");
    }
}
