<? global $vis_language;?>
<div class="modal-dialog modal-md">
    <div class="modal-content">
		<div class="modal-header " style="border-bottom:none !important; height:5px">
		  <button type="button" class="close" data-dismiss="modal">&times;</button>
		  <h4 class="modal-title"><? echo $vis_language['TXTPEOPLEWHOLIKED']; ?></h4>
		</div>
		<div class="modal-body  wrapper">
		
                        <div class="scrollable" style="max-height: 430px">
                        	<ul id="vis_recent_activities" class="list-group no-radius m-b-none  list-group no-border">
							<?php for($i=0; $i< count($forumTopiclike); $i++) { ?>
								<li class="list-group-item wrapper">
        <? if($forumTopiclike[$i]['poster_image']=='' || $forumTopiclike[$i]['poster_image']=='default.jpg'){?>
<div class="l-avatar pull-left m-r-sm m-t-n-sm">
<? if($forumTopiclike[$i]['poster_name']!=''){
$namearr=explode(' ',$forumTopiclike[$i]['poster_name']);
$fullname='';
if(count($namearr)>1){ 
$lastname=preg_split('//u', $namearr[1], -1, PREG_SPLIT_NO_EMPTY); 
$firstname=preg_split('//u', $namearr[0], -1, PREG_SPLIT_NO_EMPTY);
$fullname=ucfirst($firstname[0]).ucfirst($lastname[0]);
}else{
	$firstname=preg_split('//u', $namearr[0], -1, PREG_SPLIT_NO_EMPTY);
	$fullname=ucfirst($firstname[0]);
}
	?>
    <div class="sm"><? echo $fullname;?></div>
    <? }else{ ?>
    <img class="sm" src="<?= VIS_PATH_PROFILE.'default.jpg';?>">
    <? }?>

</div>
<? }else{ ?>
<div class="l-avatar pull-left m-r-sm m-t-n-sm">
<img src="<? echo VIS_PATH_PROFILE.$forumTopiclike[$i]['poster_image']; ?>" class="sm">
</div>
<? }?>
									<!--<img class="thumb-sm pull-left  m-r-sm m-t-n-sm  avatar" src="<? //echo VIS_PATH_PROFILE.($forumTopiclike[$i]['poster_image']==''?'default.jpg':$forumTopiclike[$i]['poster_image']); ?>" />				-->				
									<div class="block m-t-n-xs"><strong class="text-default"><?=$forumTopiclike[$i]['poster_name'].' ';?></strong></div>									
								
								</li>
							<?php } ?>
				</ul>
                        </div>
		
		</div>
    </div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->