%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="main-wapper">
<div class="outer-container">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4">
<div class="panel panel-danger">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-users fa-5x"></i>
</div>
<div class="col-xs-9 text-center">
<div class="huge" style="font-size:30;color:green;" id="num_active_user"><?php echo $num_active_user;?></div>
<div><?php echo $this->lang->line('active_user');?> </div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4"></div>
</div>
<div class="row" >
<div class="col-md-12">
<hr><br>
<h4><?php echo $this->lang->line('active_user');?></h4>
<table class="table table-bordered" >
<tr>
<th>#</th>
<th><?php echo $this->lang->line('user_name');?></th>
<th><?php echo $this->lang->line('full_first_name');?></th>
<th><?php echo $this->lang->line('subject');?> </th>
<th><?php echo $this->lang->line('class_level');?> </th>
<th><?php echo $this->lang->line('page_url');?> </th>
</tr>
<?php
if(count($active_user_list)==0){
?>
<tr>
<td colspan="3"><?php echo $this->lang->line('no_record_found');?></td>
</tr>
<?php
}
$k=1;
foreach($active_user_list as $key => $val){
?>
<tr>
<td><?=$k?></td>
<td><?php echo $val['email'];?></td>
<td><?php echo $val['first_name'];?> <?php echo $val['last_name'];?></td>
<td><?php echo $val['subject'];?></td>
<td><?php echo $val['class_level'];?></td>
<td><?php echo $val['page_url'];?></td>
</tr>
<?php $k++;
}
?>
</table>
</div>
</div>
</div>
</div>
<script>
//Call the yourAjaxCall() function every 1000 millisecond
setInterval("yourAjaxCall()",5000);
function yourAjaxCall(){
$.ajax({
url: 'https://www.shardauniversity.uz/olympiad/index.php/dashboard/activeusercount',
method: 'post',
data: {
status: 'ON'
}
}).done(function (response) {
$("#num_active_user").val('');
$("#num_active_user").html( response);
return false;
});
}
</script>