File "e4be072f3d790fa9072841564e3a6fbf887c55b4b1982263696a02ab15956a4f.php"
Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/cache/e4/e4be072f3d790fa9072841564e3a6fbf887c55b4b1982263696a02ab15956a4f.php
File
size: 6.35 B (6.35 KB bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
/* default/template/extension/module/octestimonial.twig */
class __TwigTemplate_bd14181a5c2b7f19e1e49b467458455160692a0988578929853d1fc1df653912 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=\"testimonial-container\">
\t<div class=\"block-title\">
\t\t<strong>
\t\t\t<span>
\t\t\t\t";
// line 5
echo (isset($context["title"]) ? $context["title"] : null);
echo "
\t\t\t</span>
\t\t</strong>
\t</div>
\t\t<div class=\"block-content\">
\t\t\t<div id=\"slides\">
\t\t\t";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["testimonials"]) ? $context["testimonials"] : null));
foreach ($context['_seq'] as $context["_key"] => $context["testimonial"]) {
// line 12
echo "\t\t\t
\t\t\t\t\t<div class=\"testimonial-content\">
\t\t\t\t\t\t<div class=\"testimonial-images pull-left\">
\t\t\t\t\t\t\t<img src=\"";
// line 15
echo $this->getAttribute($context["testimonial"], "image", array(), "array");
echo "\" alt=\"";
echo $this->getAttribute($context["testimonial"], "customer_name", array(), "array");
echo "\">
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"testimonial-box media-body\">
\t\t\t\t\t\t\t<span class=\"testimonial-author\">";
// line 18
echo $this->getAttribute($context["testimonial"], "customer_name", array(), "array");
echo "</span>
\t\t\t\t\t\t\t<em>-</em>
\t\t\t\t\t\t\t<a href=\"";
// line 20
echo (isset($context["more"]) ? $context["more"] : null);
echo "\"></a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div><!--testimonial-content-->
\t\t\t\t
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['testimonial'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo "\t\t\t</div>
\t\t</div><!--block-content-->
</div><!--testimonial-container-->
\t\t\t\t\t\t
<script type=\"text/javascript\">
\$(\"#slides\").owlCarousel({
\t\tautoPlay : ";
// line 32
if ($this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "auto", array(), "array")) {
echo " ";
echo $this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "auto", array(), "array");
echo " ";
} else {
echo " false ";
}
echo ",
\t\titems : ";
// line 33
echo $this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "items", array(), "array");
echo ",
\t\titemsDesktop : [1199,1],
\t\titemsDesktopSmall : [980,1],
\t\titemsTablet: [768,1],
\t\titemsMobile : [479,1],
\t\tslideSpeed : ";
// line 38
echo $this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "speed", array(), "array");
echo ",
\t\tpaginationSpeed : ";
// line 39
echo $this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "speed", array(), "array");
echo ",
\t\trewindSpeed : ";
// line 40
echo $this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "speed", array(), "array");
echo ",
\t\tnavigation : ";
// line 41
if ($this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "navigation", array(), "array")) {
echo " ";
echo $this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "navigation", array(), "array");
echo " ";
} else {
echo " false ";
}
echo ",
\t\tpagination :";
// line 42
if ($this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "pagination", array(), "array")) {
echo " ";
echo $this->getAttribute((isset($context["slide"]) ? $context["slide"] : null), "pagination", array(), "array");
echo " ";
} else {
echo " false ";
}
echo ",
});
</script>";
}
public function getTemplateName()
{
return "default/template/extension/module/octestimonial.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 116 => 42, 106 => 41, 102 => 40, 98 => 39, 94 => 38, 86 => 33, 76 => 32, 67 => 25, 56 => 20, 51 => 18, 43 => 15, 38 => 12, 34 => 11, 25 => 5, 19 => 1,);
}
}
/* <div class="testimonial-container">*/
/* <div class="block-title">*/
/* <strong>*/
/* <span>*/
/* {{ title }}*/
/* </span>*/
/* </strong>*/
/* </div>*/
/* <div class="block-content">*/
/* <div id="slides">*/
/* {% for testimonial in testimonials %}*/
/* */
/* <div class="testimonial-content">*/
/* <div class="testimonial-images pull-left">*/
/* <img src="{{ testimonial['image'] }}" alt="{{ testimonial['customer_name'] }}">*/
/* </div>*/
/* <div class="testimonial-box media-body">*/
/* <span class="testimonial-author">{{ testimonial['customer_name'] }}</span>*/
/* <em>-</em>*/
/* <a href="{{ more }}"></a>*/
/* </div>*/
/* </div><!--testimonial-content-->*/
/* */
/* {% endfor %}*/
/* </div>*/
/* </div><!--block-content-->*/
/* </div><!--testimonial-container-->*/
/* */
/* */
/* <script type="text/javascript">*/
/* $("#slides").owlCarousel({*/
/* autoPlay : {% if slide['auto'] %} {{ slide['auto'] }} {% else %} false {% endif %},*/
/* items : {{ slide['items'] }},*/
/* itemsDesktop : [1199,1],*/
/* itemsDesktopSmall : [980,1],*/
/* itemsTablet: [768,1],*/
/* itemsMobile : [479,1],*/
/* slideSpeed : {{ slide['speed'] }},*/
/* paginationSpeed : {{ slide['speed'] }},*/
/* rewindSpeed : {{ slide['speed'] }},*/
/* navigation : {% if slide['navigation'] %} {{ slide['navigation'] }} {% else %} false {% endif %},*/
/* pagination :{% if slide['pagination'] %} {{ slide['pagination'] }} {% else %} false {% endif %},*/
/* });*/
/* </script>*/