<?php /* Smarty version 2.6.22, created on 2016-01-08 17:11:47
         compiled from E:/xampp/htdocs/templates/home/default%5Citems%5Cscreenshots.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'E:/xampp/htdocs/templates/home/default\\items\\screenshots.html', 20, false),)), $this); ?>
<link href="/mbthemes/scripts/libs/jquery/lightbox/css/lightgallery.min.css" rel="stylesheet">
<script src="/mbthemes/scripts/libs/jquery/lightbox/js/lightgallery.min.js"></script>
<script src="/mbthemes/scripts/libs/jquery/lightbox/js/lg-fullscreen.min.js"></script>
<script src="/mbthemes/scripts/libs/jquery/lightbox/js/lg-thumbnail.min.js"></script>
<script src="/mbthemes/scripts/libs/jquery/lightbox/js/lg-pager.min.js"></script>
<script src="/mbthemes/scripts/libs/jquery/lightbox/js/lg-zoom.min.js"></script>
<script src="/mbthemes/scripts/libs/jquery/lightbox/js/lg-hash.min.js"></script>
<?php echo '
<script type="text/javascript">
    (function($) {
        $(this).lightGallery({
            dynamic: true,
            pager:true,
            dynamicEl: [
                '; ?>

        <?php $_from = $this->_tpl_vars['previewFiles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['file']):
        $this->_foreach['foo']['iteration']++;
?><?php echo '
                {
                "src": \''; ?>
<?php echo $this->_tpl_vars['file']; ?>
<?php echo '\',
                \'thumb\': \''; ?>
<?php echo $this->_tpl_vars['file']; ?>
<?php echo '\',
                \'subHtml\': \'<h4>'; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php echo '</h4>\'
            },
        '; ?>
<?php endforeach; endif; unset($_from); ?><?php echo '
            ]
        })

   ;})(jQuery);;
</script>
'; ?>