Beispiel #1
0
 * @copyright (c) 2014 YouTech Company. All Rights Reserved.
 * @author YouTech Company http://www.smartaddons.com
 */
defined('_JEXEC') or die;
$small_image_config = array('type' => $params->get('imgcfg_type'), 'width' => $params->get('imgcfg_width'), 'height' => $params->get('imgcfg_height'), 'quality' => 90, 'function' => $params->get('imgcfg_function') == 'none' ? null : 'resize', 'function_mode' => $params->get('imgcfg_function') == 'none' ? null : substr($params->get('imgcfg_function'), 7), 'transparency' => $params->get('imgcfg_transparency', 1) ? true : false, 'background' => $params->get('imgcfg_background'));
if (!empty($child_items)) {
    $app = JFactory::getApplication();
    $k = $app->input->getInt('ajax_reslisting_start', 0);
    foreach ($child_items as $item) {
        $rand = rand();
        $k++;
        ?>
		<div class="ltabs-item new-ltabs-item">
			<div class="item-inner">
				<?php 
        $img0 = SjListingTabsHelper::getAImage($item, $params);
        if ($img0 && (@GetImageSize($img0['src']) || file_exists($img0['src']))) {
            ?>
					<div class="item-image">
						<a class="rspl-image" data-src="<?php 
            echo SjListingTabsHelper::imageSrc($img0, $params);
            ?>
"
						   href="<?php 
            echo $item->link;
            ?>
" <?php 
            echo SjListingTabsHelper::parseTarget($params->get('link_target', '_self'));
            ?>
						   title="<?php 
            echo $item->title;