<?php 
$brands = $this->getFeaturedBrands();
$media = $this->getImageMediaPath();
?>

<div class="brand-home">
	<div class="brands-outer">
		<div class="brands-inner">
			<div class="column-inner">
				<div class="brand_title">
						<h2><?php echo __('Brand') ?></h2>
				</div>
				<div class="product-carousel brand-carousel" id="brand-carousel">

							<?php foreach($brands as $_brand):?>
								<div class="slider-item brand-item">
									<div class="product-block-inner">
										<?php if($_brand->getUrlKey()):?>
											<a href="#">
										<?php else:?>
											<a href="#">
										<?php endif;?>
										<?php if($_brand->getLogo()):?>
											<img class="barnd-img" src="<?php echo $media.$_brand->getLogo() ?>" title="<?php echo $_brand->getName();?>" alt="<?php echo $_brand->getName();?>" />
										<?php else:?>
										<span class="brand-title">
											<?php echo $_brand->getName();?>
										</span>
										<?php endif;?>
											</a>	
									</div>	
								</div>
							<?php endforeach;?>
			</div>
		</div>
	</div>
</div>
</div>
