<?php /* Smarty version 2.6.26, created on 2012-12-17 22:50:46
         compiled from thumbnails.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'combine_script', 'thumbnails.tpl', 2, false),array('block', 'html_style', 'thumbnails.tpl', 5, false),)), $this); ?>
<?php if (! empty ( $this->_tpl_vars['thumbnails'] )): ?><?php echo ''; ?><?php echo $this->_plugins['function']['combine_script'][0][0]->func_combine_script(array('id' => 'jquery.ajaxmanager','path' => 'themes/default/js/plugins/jquery.ajaxmanager.js','load' => 'footer'), $this);?><?php echo ''; ?><?php echo $this->_plugins['function']['combine_script'][0][0]->func_combine_script(array('id' => 'thumbnails.loader','path' => 'themes/default/js/thumbnails.loader.js','require' => 'jquery.ajaxmanager','load' => 'footer'), $this);?><?php echo ''; ?><?php echo ''; ?><?php $this->_tag_stack[] = array('html_style', array()); $_block_repeat=true;$this->_plugins['block']['html_style'][0][0]->block_html_style($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo ''; ?><?php echo '.thumbnails SPAN,.thumbnails .wrap2 A,.thumbnails LABEL'; ?>{<?php echo 'width: '; ?><?php echo $this->_tpl_vars['derivative_params']->max_width()+2; ?><?php echo 'px;}.thumbnails .wrap2'; ?>{<?php echo 'height: '; ?><?php echo $this->_tpl_vars['derivative_params']->max_height()+3; ?><?php echo 'px;}'; ?><?php if ($this->_tpl_vars['derivative_params']->max_width() > 600): ?><?php echo '.thumbLegend '; ?>{<?php echo 'font-size: 130%}'; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['derivative_params']->max_width() > 400): ?><?php echo '.thumbLegend '; ?>{<?php echo 'font-size: 110%}'; ?><?php else: ?><?php echo '.thumbLegend '; ?>{<?php echo 'font-size: 90%}'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo $this->_plugins['block']['html_style'][0][0]->block_html_style($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['thumbnails']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['thumbnail']):
?><?php echo ''; ?><?php $this->assign('derivative', $this->_tpl_vars['pwg']->derivative($this->_tpl_vars['derivative_params'],$this->_tpl_vars['thumbnail']['src_image'])); ?><?php echo '<li><span class="wrap1"><span class="wrap2"><a href="'; ?><?php echo $this->_tpl_vars['thumbnail']['URL']; ?><?php echo '"><img class="thumbnail" '; ?><?php if (! $this->_tpl_vars['derivative']->is_cached()): ?><?php echo 'data-'; ?><?php endif; ?><?php echo 'src="'; ?><?php echo $this->_tpl_vars['derivative']->get_url(); ?><?php echo '" alt="'; ?><?php echo $this->_tpl_vars['thumbnail']['TN_ALT']; ?><?php echo '" title="'; ?><?php echo $this->_tpl_vars['thumbnail']['TN_TITLE']; ?><?php echo '"></a></span>'; ?><?php if ($this->_tpl_vars['SHOW_THUMBNAIL_CAPTION']): ?><?php echo '<span class="thumbLegend"><span class="thumbName">'; ?><?php echo $this->_tpl_vars['thumbnail']['NAME']; ?><?php echo '</span>'; ?><?php if (! empty ( $this->_tpl_vars['thumbnail']['icon_ts'] )): ?><?php echo '<img title="'; ?><?php echo $this->_tpl_vars['thumbnail']['icon_ts']['TITLE']; ?><?php echo '" src="'; ?><?php echo $this->_tpl_vars['ROOT_URL']; ?><?php echo ''; ?><?php echo $this->_tpl_vars['themeconf']['icon_dir']; ?><?php echo '/recent.png" alt="(!)">'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['thumbnail']['NB_COMMENTS'] )): ?><?php echo '<span class="'; ?><?php if (0 == $this->_tpl_vars['thumbnail']['NB_COMMENTS']): ?><?php echo 'zero '; ?><?php endif; ?><?php echo 'nb-comments"><br>'; ?><?php echo $this->_tpl_vars['pwg']->l10n_dec('%d comment','%d comments',$this->_tpl_vars['thumbnail']['NB_COMMENTS']); ?><?php echo '</span>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['thumbnail']['NB_HITS'] )): ?><?php echo '<span class="'; ?><?php if (0 == $this->_tpl_vars['thumbnail']['NB_HITS']): ?><?php echo 'zero '; ?><?php endif; ?><?php echo 'nb-hits"><br>'; ?><?php echo $this->_tpl_vars['pwg']->l10n_dec('%d hit','%d hits',$this->_tpl_vars['thumbnail']['NB_HITS']); ?><?php echo '</span>'; ?><?php endif; ?><?php echo '</span>'; ?><?php endif; ?><?php echo '</span></li>'; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?>

<?php endif; ?>