<?php

/* mart/template/extension/module/banner.twig */
class __TwigTemplate_b24a3bfd9158475b9dd0855af73925075f0b15316f0b700c49c9e401eddda448 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 id=\"banner";
        echo (isset($context["module"]) ? $context["module"] : null);
        echo "\" class=\"owl-carousel\">
  ";
        // line 2
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["banners"]) ? $context["banners"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
            // line 3
            echo "  <div class=\"item\">
    ";
            // line 4
            if ($this->getAttribute($context["banner"], "link", array())) {
                // line 5
                echo "    <a href=\"";
                echo $this->getAttribute($context["banner"], "link", array());
                echo "\"><img src=\"";
                echo $this->getAttribute($context["banner"], "image", array());
                echo "\" alt=\"";
                echo $this->getAttribute($context["banner"], "title", array());
                echo "\" class=\"img-responsive\" /></a>
    ";
            } else {
                // line 7
                echo "    <img src=\"";
                echo $this->getAttribute($context["banner"], "image", array());
                echo "\" alt=\"";
                echo $this->getAttribute($context["banner"], "title", array());
                echo "\" class=\"img-responsive\" />
    ";
            }
            // line 9
            echo "  </div>
  ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 11
        echo "</div>
<script type=\"text/javascript\"><!--
\$('#banner";
        // line 13
        echo (isset($context["module"]) ? $context["module"] : null);
        echo "').owlCarousel({
\titems: 6,
\tautoPlay: 6000,
\tsingleItem: true,
\tnavigation: false,
\tpagination: false,
\ttransitionStyle: 'fade'
});
--></script>
";
    }

    public function getTemplateName()
    {
        return "mart/template/extension/module/banner.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  62 => 13,  58 => 11,  51 => 9,  43 => 7,  33 => 5,  31 => 4,  28 => 3,  24 => 2,  19 => 1,);
    }
}
/* <div id="banner{{ module }}" class="owl-carousel">*/
/*   {% for banner in banners %}*/
/*   <div class="item">*/
/*     {% if banner.link %}*/
/*     <a href="{{ banner.link }}"><img src="{{ banner.image }}" alt="{{ banner.title }}" class="img-responsive" /></a>*/
/*     {% else %}*/
/*     <img src="{{ banner.image }}" alt="{{ banner.title }}" class="img-responsive" />*/
/*     {% endif %}*/
/*   </div>*/
/*   {% endfor %}*/
/* </div>*/
/* <script type="text/javascript"><!--*/
/* $('#banner{{ module }}').owlCarousel({*/
/* 	items: 6,*/
/* 	autoPlay: 6000,*/
/* 	singleItem: true,*/
/* 	navigation: false,*/
/* 	pagination: false,*/
/* 	transitionStyle: 'fade'*/
/* });*/
/* --></script>*/
/* */
