Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @version 4.0.1
- * @package Joomla
- * @subpackage Iproperty
- * @copyright (C) 2009 - 2017 the Thinkery LLC. All rights reserved.
- * @license see LICENSE.php
- */
- // Check to ensure this file is included in Joomla!
- defined('_JEXEC') or die('Restricted access');
- // Initialize variables
- $usethumb = $params->get('usethumb', 1);
- $uid = "slider".uniqid();
- ?>
- <div class="jnilla-gallery slider" id="<?php echo $uid; ?>">
- <div class="slider-5 style2">
- <!-- Slider items -->
- <div class="gallery-items">
- <?php $n = -1; ?>
- <?php foreach ($items as $item) : ?>
- <?php $n++;
- $item->proplink = JRoute::_(IpropertyHelperRoute::getPropertyRoute($item->id . ':' . $item->alias, '', true));
- ?>
- <div class="gallery-item <?php if($n==0 || $n<=4) echo 'default'.$n; ?>">
- <a href="<?php echo $item->proplink; ?>">
- <?php echo IpropertyHelperHtml::getThumbnail($item->id, $item->proplink, $item->street_address, '', 'class="jn-gallery-thumb jn-holder img"', '', $usethumb); ?>
- <div class="carousel-caption">
- <h4><?php echo $item->title; ?></h4>
- </div>
- </a>
- </div>
- <?php endforeach; ?>
- </div>
- <div class="controls left" id="left-<?php echo $uid; ?>"><i class="icon-angle-left"></i></div>
- <div class="controls right" id="right-<?php echo $uid; ?>"><i class="icon-angle-right"></i></div>
- </div>
- </div>
- <div class="clearfix"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement