Current File : /home/karenpetzb/application/modules/backoffice/views/scripts/product/ajaxannexelist.phtml
<?php header('Content-type: text/html; charset=iso-8859-1'); ?> 
<?php 
$index = 0;
foreach ($this->listAnnexes as $product) { 
if ($this->currentProduct != $product['ID']) { 
$index++;
	?> 
<div class="col-md-3 text-center no-space-top">
	<div class="col-md-12 text-center">
		<ul class="gallerybox">
		  	<li>
					<?php echo $product['NOM']; ?>
				<figure>
					<img alt="<?php if ($product['isSHOWBREND'] == 0) {echo strtoupper($product['BREND']." - ");} echo $product['NOM']; ?>"
							title="<?php if ($product['isSHOWBREND'] == 0) {echo strtoupper($product['BREND'].' - ');} echo $product['NOM']; ?>"
							src="<?php echo $this->baseUrl.'/'.$product['URL']; ?>" />
				</figure>
			</li>
		</ul>
	</div>
	<div class="btn-group">
		<a class="btn btn-danger" href="javascript:;" onclick="delProductAnnexe(<?php echo $this->currentProduct; ?>, <?php echo $product['ID']; ?>)">
			<i class="glyphicon glyphicon-resize-full"></i>&nbsp;D�lier
		</a>
		<a class="btn btn-success" target="_blank" href="<?php echo $this->baseUrl; ?>/backoffice/product/edit/showProduct/<?php echo $product['ID']."#tabs-items"; ?>">
			<i class="glyphicon glyphicon-edit"></i>&nbsp;Modifier
		</a>
	</div>
</div>
<?php } 
	if ($index >= 4) {
	$index =0;
?>
	<div class="col-md-12 no-space"></div>
	<?php 
	}
} ?>