Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
system
/
storage
/
cache
/
96
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /* tt_madison1/template/extension/module/ocslideshow.twig */ class __TwigTemplate_04a72c36cf433fe3f2c5bafa73c503d91575e23560fe975234192355abbf1e07 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=\"banner7\"> \t<div class= \"oc-banner7-container\"> \t\t<div class=\"flexslider oc-nivoslider\"> \t\t\t<div class=\"oc-loading\"></div> \t\t\t<div id=\"oc-inivoslider1\" class=\"nivoSlider\"> "; // line 7 $context["config"] = $this->getAttribute((isset($context["slide_setting"]) ? $context["slide_setting"] : null), 0, array(), "array"); // line 8 echo " "; $context["i"] = 1; // line 9 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["ocslideshows"]) ? $context["ocslideshows"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["s"]) { // line 10 echo " "; $context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1); // line 11 echo "\t\t\t\t\t"; if ($this->getAttribute($context["s"], "link", array(), "array")) { // line 12 echo "\t\t\t\t\t<a href=\""; echo $this->getAttribute($context["s"], "link", array(), "array"); echo "\"> \t\t\t\t\t"; } // line 14 echo "\t\t\t\t\t<img style=\"display: none;\" src=\""; echo $this->getAttribute($context["s"], "image", array(), "array"); echo "\" alt=\"\" title=\"#banner7-caption"; echo (isset($context["i"]) ? $context["i"] : null); echo "\" /> \t\t\t\t\t"; // line 15 if ($this->getAttribute($context["s"], "link", array(), "array")) { // line 16 echo "\t\t\t\t\t</a> \t\t\t\t\t"; } // line 18 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['s'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " \t\t\t</div> "; // line 22 $context["i"] = 1; // line 23 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["ocslideshows"]) ? $context["ocslideshows"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["s"]) { // line 24 echo "\t\t\t \t\t\t\t"; // line 25 $context["class"] = ""; // line 26 echo "\t\t\t\t"; if (($this->getAttribute($context["s"], "type", array(), "array") == 1)) { // line 27 echo "\t\t\t\t\t"; $context["class"] = "slider-1"; // line 28 echo "\t\t\t\t"; } // line 29 echo "\t\t\t\t \t\t\t\t"; // line 30 if (($this->getAttribute($context["s"], "type", array(), "array") == 2)) { // line 31 echo "\t\t\t\t\t"; $context["class"] = "slider-2"; // line 32 echo "\t\t\t\t"; } // line 33 echo "\t\t\t\t \t\t\t\t"; // line 34 if (($this->getAttribute($context["s"], "type", array(), "array") == 3)) { // line 35 echo "\t\t\t\t\t"; $context["class"] = "slider-3"; // line 36 echo "\t\t\t\t"; } // line 37 echo "\t\t\t\t "; // line 38 $context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1); // line 39 echo "\t\t\t\t<div id=\"banner7-caption"; echo (isset($context["i"]) ? $context["i"] : null); echo "\" class=\"banner7-caption nivo-html-caption nivo-caption move-slides-effect\" data-class=\"slide-movetype"; echo $this->getAttribute($context["s"], "type", array(), "array"); echo "\"> \t\t\t\t\t<div class=\"timeloading\"></div> \t\t\t\t\t<div class=\" banner7-content "; // line 41 echo (isset($context["class"]) ? $context["class"] : null); echo "\"> \t\t\t\t\t\t<div class=\"container\"> \t\t\t\t\t\t\t<div class=\"container-inner\" > \t\t\t\t\t\t\t\t<div class=\"text-content\">\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t"; // line 45 if (($this->getAttribute($context["s"], "title", array(), "array") && ($this->getAttribute($context["s"], "title", array(), "array") != ""))) { // line 46 echo "\t\t\t\t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t\t\t\t<h1 class=\"title1\">"; // line 47 echo $this->getAttribute($context["s"], "title", array(), "array"); echo "</h1> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t"; } // line 49 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t"; // line 50 if (($this->getAttribute($context["s"], "sub_title", array(), "array") && ($this->getAttribute($context["s"], "sub_title", array(), "array") != ""))) { // line 51 echo "\t\t\t\t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t\t\t\t<h2 class=\"sub-title\">"; // line 52 echo $this->getAttribute($context["s"], "sub_title", array(), "array"); echo "</h2> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t"; } // line 54 echo "\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t<div class=\"banner7-des\"> \t\t\t\t\t\t\t\t\t\t"; // line 56 echo $this->getAttribute($context["s"], "description", array(), "array"); echo " \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t"; // line 58 if ($this->getAttribute($context["s"], "link", array(), "array")) { // line 59 echo "\t\t\t\t\t\t\t\t\t\t<div class=\"banner7-readmore\"> \t\t\t\t\t\t\t\t\t\t\t<a class=\"link-more\" href=\""; // line 60 echo $this->getAttribute($context["s"], "link", array(), "array"); echo "\">"; echo (isset($context["text_readmore"]) ? $context["text_readmore"] : null); echo "</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t"; } // line 63 echo "\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div>\t \t\t\t\t\t</div> \t\t\t\t</div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['s'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 echo "\t\t\t<script > \$(window).load(function() { \$('#oc-inivoslider1').nivoSlider({ effect: "; // line 72 if ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "effect", array(), "array")) { echo " \""; echo trim($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "effect", array(), "array")); echo "\" "; } else { echo " 'random' "; } echo " , slices: 15, boxCols: 8, boxRows: 4, manualAdvance: "; // line 76 if (($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "auto", array(), "array") && ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "auto", array(), "array") == 1))) { echo " false "; } else { echo " true "; } echo " , animSpeed: 500, pauseTime: "; // line 78 if ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "delay", array(), "array")) { echo " "; echo $this->getAttribute((isset($context["config"]) ? $context["config"] : null), "delay", array(), "array"); echo " "; } else { echo " 3000 "; } echo " , startSlide: 0, controlNav: "; // line 80 if (($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "contrl", array(), "array") && ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "contrl", array(), "array") == 1))) { echo " true "; } else { echo " false "; } echo " , directionNav: "; // line 81 if (($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "nextback", array(), "array") && ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "nextback", array(), "array") == 1))) { echo " true "; } else { echo " false "; } echo " , controlNavThumbs: false, pauseOnHover: "; // line 83 if (($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "hover", array(), "array") && ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "hover", array(), "array") == 1))) { echo " true "; } else { echo " false "; } echo " , prevText: '<i class=\"fas fa-angle-left\"></i>', \t\t\t\t\t\tnextText: '<i class=\"fas fa-angle-right\"></i>', \t\t\t\t\t\tafterLoad: function(){ \t\t\t\t\t\t\t\$('.oc-loading').css(\"display\",\"none\"); \t\t\t\t\t\t\t\$('.timeloading').css('animation-duration',\""; // line 88 if ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "delay", array(), "array")) { echo " "; echo ($this->getAttribute((isset($context["config"]) ? $context["config"] : null), "delay", array(), "array") . "ms"); echo " "; } else { echo " 3000 "; } echo "\"); \t\t\t\t\t\t},\t\t\t\t\t\t }); }); \t\t\t</script> \t\t</div> \t</div> </div>"; } public function getTemplateName() { return "tt_madison1/template/extension/module/ocslideshow.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 261 => 88, 249 => 83, 240 => 81, 232 => 80, 221 => 78, 212 => 76, 199 => 72, 194 => 69, 183 => 63, 175 => 60, 172 => 59, 170 => 58, 165 => 56, 161 => 54, 155 => 52, 152 => 51, 150 => 50, 147 => 49, 141 => 47, 138 => 46, 136 => 45, 129 => 41, 121 => 39, 119 => 38, 116 => 37, 113 => 36, 110 => 35, 108 => 34, 105 => 33, 102 => 32, 99 => 31, 97 => 30, 94 => 29, 91 => 28, 88 => 27, 85 => 26, 83 => 25, 80 => 24, 75 => 23, 73 => 22, 68 => 19, 62 => 18, 58 => 16, 56 => 15, 49 => 14, 43 => 12, 40 => 11, 37 => 10, 32 => 9, 29 => 8, 27 => 7, 19 => 1,); } } /* <div class="banner7">*/ /* <div class= "oc-banner7-container">*/ /* <div class="flexslider oc-nivoslider">*/ /* <div class="oc-loading"></div>*/ /* <div id="oc-inivoslider1" class="nivoSlider">*/ /* */ /* {% set config = slide_setting[0] %}*/ /* {% set i=1 %}*/ /* {% for s in ocslideshows %}*/ /* {% set i=i+1 %}*/ /* {% if s['link'] %}*/ /* <a href="{{ s['link'] }}">*/ /* {% endif %}*/ /* <img style="display: none;" src="{{ s['image'] }}" alt="" title="#banner7-caption{{ i }}" />*/ /* {% if s['link'] %}*/ /* </a>*/ /* {% endif %}*/ /* {% endfor %}*/ /* */ /* </div>*/ /* */ /* {% set i=1 %}*/ /* {% for s in ocslideshows %}*/ /* */ /* {% set class = "" %}*/ /* {% if s['type'] == 1 %}*/ /* {% set class = 'slider-1' %}*/ /* {% endif %}*/ /* */ /* {% if s['type'] == 2 %}*/ /* {% set class = 'slider-2' %}*/ /* {% endif %}*/ /* */ /* {% if s['type'] == 3 %}*/ /* {% set class = 'slider-3' %}*/ /* {% endif %}*/ /* */ /* {% set i=i+1 %}*/ /* <div id="banner7-caption{{ i }}" class="banner7-caption nivo-html-caption nivo-caption move-slides-effect" data-class="slide-movetype{{ s['type'] }}">*/ /* <div class="timeloading"></div>*/ /* <div class=" banner7-content {{ class }}">*/ /* <div class="container">*/ /* <div class="container-inner" >*/ /* <div class="text-content"> */ /* {% if s['title'] and s['title'] != "" %}*/ /* <div>*/ /* <h1 class="title1">{{ s['title'] }}</h1>*/ /* </div>*/ /* {% endif %} */ /* {% if s['sub_title'] and s['sub_title'] != "" %}*/ /* <div>*/ /* <h2 class="sub-title">{{ s['sub_title'] }}</h2>*/ /* </div>*/ /* {% endif %} */ /* <div class="banner7-des">*/ /* {{ s['description'] }}*/ /* </div>*/ /* {% if s['link'] %}*/ /* <div class="banner7-readmore">*/ /* <a class="link-more" href="{{ s['link'] }}">{{ text_readmore }}</a>*/ /* </div>*/ /* {% endif %}*/ /* </div>*/ /* </div>*/ /* </div> */ /* </div>*/ /* </div>*/ /* {% endfor %}*/ /* <script >*/ /* $(window).load(function() {*/ /* $('#oc-inivoslider1').nivoSlider({*/ /* effect: {% if config['effect'] %} "{{ config['effect'] | trim }}" {% else %} 'random' {% endif %} ,*/ /* slices: 15,*/ /* boxCols: 8,*/ /* boxRows: 4,*/ /* manualAdvance: {% if config['auto'] and config['auto'] == 1 %} false {% else %} true {% endif %} ,*/ /* animSpeed: 500,*/ /* pauseTime: {% if config['delay'] %} {{ config['delay'] }} {% else %} 3000 {% endif %} ,*/ /* startSlide: 0,*/ /* controlNav: {% if config['contrl'] and config['contrl'] == 1 %} true {% else %} false {% endif %} ,*/ /* directionNav: {% if config['nextback'] and config['nextback'] == 1 %} true {% else %} false {% endif %} ,*/ /* controlNavThumbs: false,*/ /* pauseOnHover: {% if config['hover'] and config['hover'] == 1 %} true {% else %} false {% endif %} ,*/ /* prevText: '<i class="fas fa-angle-left"></i>',*/ /* nextText: '<i class="fas fa-angle-right"></i>',*/ /* afterLoad: function(){*/ /* $('.oc-loading').css("display","none");*/ /* $('.timeloading').css('animation-duration',"{% if config['delay'] %} {{ config['delay']~'ms' }} {% else %} 3000 {% endif %}");*/ /* }, */ /* });*/ /* });*/ /* </script>*/ /* </div>*/ /* </div>*/ /* </div>*/