<?php
foreach ($tpl['gallery_arr'] as $k => $v)
{
	?>
	<div id="pjMLThumb_<?php echo $v['id'];?>" class="col-lg-2 col-md-2 col-sm-3 col-xs-3 pjMlProfileThumb">
		<span class="thumbnail text-center">
			<img src="<?php echo PJ_INSTALL_URL . $v['small_path']; ?>" alt="" data-toggle="modal" data-target="#pjMlThumbsPopup" />
			<a href="#" class="pjMLOpenPhotoModal" data-id="<?php echo $v['id'];?>"><i class="fa fa-times"></i>&nbsp;<?php __('front_delete');?></a>
		</span>
	</div><!-- /.col-lg-6 col-md-6 col-sm-6 col-xs-6 pjMlProfileThumb -->
	<?php
} 
?>