<?php echo $this->render('module/header_mobi.phtml'); ?>

<div class="conBox">
<div class="container widthDiv categoryStrap">
	<div class="row categoryName">			
		<?php echo @Lib_Lang::translate(front_search); ?> "<?php echo$this->search; ?>"
	</div>
	
	
	<div class="row">
		<div class="col-lg-12 categoryBox">
		
	<?php if( count($this->dataTable) > 0 ){ ?>	
	<?php foreach ($this->dataTable as $key => $val): ?>
	<a href="<?php echo @$this->url(array('controller' => 'product', 'action' => 'index', 'id' => $val['product_id'], 'productname' => Lib_Link::getLinkName(@Lib_Lang::consta(product_name_.$val['product_id']))), 'product', true); ?>" class="categoryLink">
		<div class="col-lg-3 col-sm-6 col-xs-6">
			<div class="boxCategory">
				<div class="row text-center categoryPhoto" <?php if( $val['product_image'] ){ ?>style="background-image: url('<?php echo $this->escape($this->baseUrl); ?>/public/uploads/product/<?php echo$val['product_image']; ?>.jpeg');"<?php } ?>></div>
				<div class="row text-center" style="padding-left:20px;padding-right:20px;">
				<?php echo @Lib_Lang::consta(product_name_.$val['product_id']); ?>
				</div>
			</div>
		</div>
	</a>
	<?php endforeach; ?>
	<?php }else{ ?>
		<center><?php echo @Lib_Lang::translate(front_product_list_0); ?></center><br />
	<?php } ?>	
		
		
		
		</div>
	</div>
	
	
</div>
</div>

<?php echo $this->render('module/footer_mobi.phtml'); ?>

