<? global $vis_language; ?>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" id="vis_show_notifications" title="<?= $vis_language['TXTNOTIFICATION']?>">
	<i class="vh vh-bell-empty vh-lg"></i> 
	<span class="badge badge-sm up vh-danger-bg count" id="vis_notify_count"></span> 
</a> 
<section id="vis_notifications" class="dropdown-menu aside-xl">
	<section class="panel bg-white">
		<!--<div class="panel-heading b-light bg-light">
			<strong>You have <span class="count" style="display: inline;">3</span> notifications</strong>
		</div>-->
		<div class="list-group list-group-alt">
			<a href="#" class="media list-group-item"><span class="media-body block m-b-none">Loading...</span></a>
		</div>
	</section>
</section>
<script  language="javascript">
	$("#vis_show_notifications").bind('click', function(){
		$.post("index.php?vis_module=home&vis_operation=vis_notifications&vis_tmpst="+new Date().getTime(), { 'vis_runat_server':true }, function(data) {
			$('#vis_notifications').html(data);
		});
	});
</script>