<?php

/* /home/hoteles9/public_html/hotelplazamagdalena/themes/hotels/partials/reviews.htm */
class __TwigTemplate_c83083aa7230fca8c26e7aa7a29eefd6badcb7ad6ae7959360ea363f6509b774 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
        echo "<div class=\"container\">
\t<div class=\"col-md-2 col-md-offset-1\">
\t\t<img src=\"";
        // line 3
        echo $this->env->getExtension('CMS')->themeFilter("assets/images/adwhite.png");
        echo "\" class=\"text-center\" alt=\"\">
\t</div>
\t<div class=\"col-md-8\">
\t\t<div class=\"slider\">
\t\t\t<div id=\"gallery_review_slider\" class=\"carousel slide\" data-ride=\"carousel\">

\t\t\t\t<!-- Wrapper for slides -->
\t\t\t\t<div class=\"carousel-inner\" role=\"listbox\">
\t\t\t\t\t";
        // line 11
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["testimonials"]) ? $context["testimonials"] : null));
        $context['loop'] = array(
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        );
        if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
            $length = count($context['_seq']);
            $context['loop']['revindex0'] = $length - 1;
            $context['loop']['revindex'] = $length;
            $context['loop']['length'] = $length;
            $context['loop']['last'] = 1 === $length;
        }
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 12
            echo "\t\t\t\t\t\t<div class=\"item ";
            echo (($this->getAttribute($context["loop"], "first", array())) ? ("active") : (""));
            echo "\">
\t\t\t\t\t\t\t<div class=\"single_item\" style=\"\">
\t\t\t\t\t\t\t\t<blockquote class=\"quote primary-bg\">";
            // line 14
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "content", array()), "html", null, true);
            echo "</blockquote>
\t\t\t\t\t\t\t\t<cite>
\t\t\t\t\t\t\t\t\t- ";
            // line 16
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "source", array()), "html", null, true);
            echo "
\t\t\t\t\t\t\t\t\t<img src=\"";
            // line 17
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["item"], "picture", array()), "getPath", array(), "method"), "html", null, true);
            echo "\" alt=\"\">
\t\t\t\t\t\t\t\t</cite>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
            ++$context['loop']['index0'];
            ++$context['loop']['index'];
            $context['loop']['first'] = false;
            if (isset($context['loop']['length'])) {
                --$context['loop']['revindex0'];
                --$context['loop']['revindex'];
                $context['loop']['last'] = 0 === $context['loop']['revindex0'];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 22
        echo "\t\t\t\t</div>
\t\t\t\t<!-- Controls -->
\t\t\t\t<a class=\"slider_ctrl left\" href=\"#gallery_review_slider\" role=\"button\" data-slide=\"prev\">
\t\t\t\t\t<i class=\"fa fa-angle-left\"></i>
\t\t\t\t\t<span class=\"sr-only\">";
        // line 26
        echo call_user_func_array($this->env->getFilter('_')->getCallable(), array("Previous"));
        echo "</span>
\t\t\t\t</a>
\t\t\t\t<a class=\"slider_ctrl right\" href=\"#gallery_review_slider\" role=\"button\" data-slide=\"next\">
\t\t\t\t\t<i class=\"fa fa-angle-right\"></i>
\t\t\t\t\t<span class=\"sr-only\">";
        // line 30
        echo call_user_func_array($this->env->getFilter('_')->getCallable(), array("Next"));
        echo "</span>
\t\t\t\t</a>
\t\t\t</div>
\t\t</div>
\t</div>
</div>";
    }

    public function getTemplateName()
    {
        return "/home/hoteles9/public_html/hotelplazamagdalena/themes/hotels/partials/reviews.htm";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  98 => 30,  91 => 26,  85 => 22,  66 => 17,  62 => 16,  57 => 14,  51 => 12,  34 => 11,  23 => 3,  19 => 1,);
    }
}
/* <div class="container">*/
/* 	<div class="col-md-2 col-md-offset-1">*/
/* 		<img src="{{ "assets/images/adwhite.png"|theme }}" class="text-center" alt="">*/
/* 	</div>*/
/* 	<div class="col-md-8">*/
/* 		<div class="slider">*/
/* 			<div id="gallery_review_slider" class="carousel slide" data-ride="carousel">*/
/* */
/* 				<!-- Wrapper for slides -->*/
/* 				<div class="carousel-inner" role="listbox">*/
/* 					{% for item in testimonials %}*/
/* 						<div class="item {{ loop.first ? "active" : "" }}">*/
/* 							<div class="single_item" style="">*/
/* 								<blockquote class="quote primary-bg">{{ item.content }}</blockquote>*/
/* 								<cite>*/
/* 									- {{ item.source }}*/
/* 									<img src="{{ item.picture.getPath() }}" alt="">*/
/* 								</cite>*/
/* 							</div>*/
/* 						</div>*/
/* 					{% endfor %}*/
/* 				</div>*/
/* 				<!-- Controls -->*/
/* 				<a class="slider_ctrl left" href="#gallery_review_slider" role="button" data-slide="prev">*/
/* 					<i class="fa fa-angle-left"></i>*/
/* 					<span class="sr-only">{{ "Previous"|_ }}</span>*/
/* 				</a>*/
/* 				<a class="slider_ctrl right" href="#gallery_review_slider" role="button" data-slide="next">*/
/* 					<i class="fa fa-angle-right"></i>*/
/* 					<span class="sr-only">{{ "Next"|_ }}</span>*/
/* 				</a>*/
/* 			</div>*/
/* 		</div>*/
/* 	</div>*/
/* </div>*/
