Location: PHPKode > projects > HikaShop > front/views/product/tmpl/listing_div.php
<?php
/**
 * @package		HikaShop for Joomla!
 * @version		1.4.3
 * @author		hikashop.com
 * @copyright	(C) 2010 HIKARI SOFTWARE. All rights reserved.
 * @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?>
<?php if($this->params->get('show_limit') && $this->pageInfo->elements->total){ ?>
<form action="<?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&task='.JRequest::getWord('task').$this->itemid.'&cid='.reset($this->pageInfo->filter->cid)); ?>" method="post" name="adminForm_<?php echo $this->params->get('main_div_name').$this->category_selected;?>">
	<div class="hikashop_products_pagination">
	<?php echo $this->pagination->getListFooter(); ?>
	<span class="hikashop_results_counter"><?php echo $this->pagination->getResultsCounter(); ?></span>
	</div>
	<input type="hidden" name="filter_order_<?php echo $this->params->get('main_div_name').$this->category_selected;?>" value="<?php echo $this->pageInfo->filter->order->value; ?>" />
	<input type="hidden" name="filter_order_Dir_<?php echo $this->params->get('main_div_name').$this->category_selected;?>" value="<?php echo $this->pageInfo->filter->order->dir; ?>" />
	<?php echo JHTML::_( 'form.token' ); ?>
</form>
<?php } ?>
<div class="hikashop_products" style="clear:both">
<?php 
	$columns = $this->params->get('columns');
	$width = (int)(100/$columns)-1;
	$current_column = 1;
	if(!empty($this->rows)){
		foreach($this->rows as $row){
			?>
			<div class="hikashop_product" style="width:<?php echo $width;?>%;">
				<div class="hikashop_container">
					<div class="hikashop_subcontainer">
					<?php 
						$this->row =& $row;
						$this->setLayout('listing_'.$this->params->get('div_item_layout_type'));
						echo $this->loadTemplate();
					?>
					</div>
				</div>
			</div>
			<?php if($current_column>=$columns){ ?>
				<div style="clear:both"></div>
			<?php 
				$current_column=0;
			}
			$current_column++;
		}
	}
?>
</div>
Return current item: HikaShop