<?  global $vis_language;?>
<div class="col-md-12">
<div class="row m-b-sm">
<? if($recentActivities != -1){?>	
	<ul class="list-group no-radius m-b-none m-t-n-xxs list-group-lg no-border">
	<? for($i=0;$i<count($recentActivities);$i++){ 
	    $staff=$staff_object->get_staff(VIS_TABLE_PREFIX.'staff.staff_id='.$recentActivities[$i]['staff_id'], '', ''); 
		?>
			<li class="list-group-item">
			 <div class="clear">
              <div class="block"><? echo $recentActivities[$i]['content'].' from '.$staff[0]['first_name']; ?></div>
              <div class="pull-left m-r-lg"> <? echo format_datetime($recentActivities[$i]['activity_date']); ?></div>
             </div>
		    </li>
	<? } ?>
	</ul>
<? }else{ ?>
<? include(VIS_PATH_TEMPLATE.'no_record_yet.php'); ?>
<? } ?>
</div>
</div>
