<? if($pin_data!=-1) {  ?>
	<ul class="list-group row m-b-n m-t-n list-group-lg">	
	<? for($i=0;$i<count($pin_data);$i++) {
	$image=($pin_data[$i]['pin_image']=='')?'default.jpg':$pin_data[$i]['pin_image']; ?>							
	<li class="list-group-item pinItemLI" onmouseover="displayDel(<? echo $pin_data[$i]['pin_id'] ?>)">
		<button data-dismiss="modal" type="button" title="<? echo $vis_language['TXTDELPIN']; ?>" onclick="$('#pinned-items').visExecution('load_area', {'vis_module':'home', 'vis_operation':'remove_pin', 'vis_pin_id':'<? echo $pin_data[$i]['pin_id'] ?>'})" class="close pull-right pinItemCls" style="display:none" id="pin_<? echo $pin_data[$i]['pin_id'] ?>">×</button>
	  <? if(strpos($image,'vh ')!==false): ?>
		  <span class="vh-stack pull-left m-r-sm">
			<i class="<? echo "vh-2x ".$image ?>"></i>
		  </span>
		  <span class="clear">
			<a href="#"><? echo $pin_data[$i]['pin_title']; ?></a>
			<small class="text-ellipsis"><? echo $pin_data[$i]['content']; ?></small>
		  </span>
	  <? else: ?>
		  <a href="#" class="thumb-sm pull-left m-r-sm">
			<img src="<? echo VIS_PATH_PROFILE.$image; ?>" class="img-circle" />
		  </a>
		  <a href="#" class="clear text-ellipsis">
			<strong class="block"><? echo $pin_data[$i]['pin_title']; ?></strong>
			<small><? echo $pin_data[$i]['content']; ?></small>
		  </a>
	  <? endif; ?>							  
	</li>	
	<? } ?>
	</ul>
<? } else { echo $vis_language['TXTNOTHINGTODISPLAY']; } ?>
<script>
	$('.pinItemLI').mouseleave(function(){
		$('.pinItemCls').hide();
	});
</script>