$show_title = $params->get('show_title'); $start = 0; $limit = $params->get('limit', 6); $ajaxlimit = $params->get('ajaxlimit', 3); $ajaxRequest = false; $load_jquery = $params->get('load_jquery'); if( JRequest::getInt('moduleID', 0) > 0 ){ $start = JRequest::getInt('start'); $limit = JRequest::getInt('limit', $ajaxlimit); $ajaxRequest = true; } require_once (dirname(__FILE__).'/helper.php'); $items = modSPPortfolioJHelper::getList($params, $start, $limit); $total = modSPPortfolioJHelper::getTotal($params); $doc->addStylesheet(JURI::base(true) . '/modules/'.$moduleName.'/assets/css/' . $moduleName .'_'.$module_layout.'.css'); if($rtl) $doc->addStylesheet(JURI::base(true) . '/modules/'.$moduleName.'/assets/css/slimbox2-rtl.css'); else $doc->addStylesheet(JURI::base(true) . '/modules/'.$moduleName.'/assets/css/slimbox2.css'); if ($load_jquery) $doc->addScript(JURI::base(true) . '/modules/'.$moduleName.'/assets/js/jquery.min.js'); if ($show_filter) $doc->addScript(JURI::base(true) . '/modules/'.$moduleName.'/assets/js/jquery.isotope.min.js'); if ($show_filter) $doc->addScript(JURI::base(true) . '/modules/'.$moduleName.'/assets/js/slimbox2.js'); require(JModuleHelper::getLayoutPath($moduleName, $module_layout)); ?>
</a> </li> <?php } ?> </ul> <?php endif; ?> <?php } ?> <?php if($count>0) { ?> <ul class="sp-portfolio-items"> <?php foreach($items as $index=>$item) { ?> <li class="sp-portfolio-item col-<?php echo $column . ' ' . modSPPortfolioJHelper::slug($item->tag); ?> visible"> <div class="sp-portfolio-item-inner"> <div class="sp-portfolio-thumb"> <img src="<?php echo $item->image; ?>"> <a class="sp-portfolio-preview" rel="lightbox" title="<?php echo $item->title; ?>" href="<?php echo $item->image_full; ?>"></a> <a class="sp-portfolio-link" href="<?php echo $item->link; ?>"></a> </div> <div class="sp-portfolio-item-details"> <?php if($show_title) : ?> <?php if($linked_title) : ?> <a href="<?php echo $item->link; ?>"> <?php endif; ?> <h4><?php echo $item->title; ?></h4> <?php if($linked_title) : ?>
} ?> <?php } ?> <?php if ($count > 0) { ?> <ul class="sp-portfolio-items"> <?php foreach ($items as $index => $item) { ?> <li class="sp-portfolio-item col-<?php echo $column . ' ' . modSPPortfolioJHelper::slug($item->tag); ?> visible"> <div class="sp-portfolio-item-inner"> <div class="sp-portfolio-thumb"> <img src="<?php echo $item->image; ?> "> <a class="sp-portfolio-preview" rel="lightbox" title="<?php echo $item->title; ?> " href="<?php echo $item->image_full; ?>
<?php } ?> </ul> </div> <div class="items "> <?php foreach ($items as $index => $item) { ?> <div class="work <?php echo $column; ?> <?php echo modSPPortfolioJHelper::slug($item->tag); ?> "> <div class="work-inner"> <div class="work-img"> <img src="<?php echo $item->image; ?> " alt="<?php echo $item->title; ?> "/> <div class="mask"> <?php if ($item->video != null) { ?>