<?php /** * @package JKit * @copyright Copyright (C) CloudHotelier. All rights reserved. * @license GNU GPLv2 <http://www.gnu.org/licenses/gpl.html> * @author Xavier Pallicer <*****@*****.**> */ defined('_JEXEC') or die; ?> <?php echo $params->get('pre_html', '') ? $params->get('pre_html') : ''; ?> <?php echo JKitDisplay::slideshow($item->images); ?> <?php echo $params->get('post_html', '') ? $params->get('post_html') : '';
// image path $path_items = JURI::root() . 'images/jkit/items/'; ?> <div class="jkit-post"> <h1 class="uk-heading-large"><?php echo $title; ?> </h1> <?php if ($item->images) { ?> <?php echo JKitDisplay::slideshowItem($item); ?> <?php } ?> <?php if ($item->image && !$item->images) { ?> <img src="<?php echo $path_items . $item->id; ?> -screen.jpg" alt="<?php echo $item->title; ?> " />
<?php /** * @package TplJuikit * @copyright Copyright (C) CloudHotelier. All rights reserved. * @license GNU GPLv2 <http://www.gnu.org/licenses/gpl.html> * @author Xavier Pallicer <*****@*****.**> */ defined('_JEXEC') or die; ?> <div class="ch-ratio ch-ratio-50"> <div class="ch-ratio-content tm-slideshow-container"><?php echo JKitDisplay::slideshow($item->images, null, '50', 'full'); ?> </div> </div>