| Server IP : 162.214.74.102 / Your IP : 216.73.216.59 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/school/application/views/backend/parent/ |
Upload File : |
<div class="row">
<div class="col-md-8">
<div class="row">
<!-- CALENDAR-->
<div class="col-md-12 col-xs-12">
<div class="panel panel-primary " data-collapsed="0">
<div class="panel-heading">
<div class="panel-title">
<i class="fa fa-calendar"></i>
<?php echo get_phrase('event_schedule');?>
</div>
</div>
<div class="panel-body" style="padding:0px;">
<div class="calendar-env">
<div class="calendar-body">
<div id="notice_calendar"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="row">
<div class="col-md-12">
<div class="tile-stats tile-red">
<div class="icon"><i class="fa fa-group"></i></div>
<div class="num" data-start="0" data-end="<?php echo $this->db->count_all('student');?>"
data-postfix="" data-duration="1500" data-delay="0">0</div>
<h3><?php echo get_phrase('student');?></h3>
<p>Total students</p>
</div>
</div>
<div class="col-md-12">
<div class="tile-stats tile-green">
<div class="icon"><i class="entypo-users"></i></div>
<div class="num" data-start="0" data-end="<?php echo $this->db->count_all('teacher');?>"
data-postfix="" data-duration="800" data-delay="0">0</div>
<h3><?php echo get_phrase('teacher');?></h3>
<p>Total teachers</p>
</div>
</div>
<div class="col-md-12">
<div class="tile-stats tile-aqua">
<div class="icon"><i class="entypo-user"></i></div>
<div class="num" data-start="0" data-end="<?php echo $this->db->count_all('parent');?>"
data-postfix="" data-duration="500" data-delay="0">0</div>
<h3><?php echo get_phrase('parent');?></h3>
<p>Total parents</p>
</div>
</div>
<div class="col-md-12">
<div class="tile-stats tile-blue">
<div class="icon"><i class="entypo-chart-bar"></i></div>
<?php
$check = array( 'timestamp' => strtotime(date('Y-m-d')) , 'status' => '1' );
$query = $this->db->get_where('attendance' , $check);
$present_today = $query->num_rows();
?>
<div class="num" data-start="0" data-end="<?php echo $present_today;?>"
data-postfix="" data-duration="500" data-delay="0">0</div>
<h3><?php echo get_phrase('attendance');?></h3>
<p>Total present student today</p>
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function() {
var calendar = $('#notice_calendar');
$('#notice_calendar').fullCalendar({
header: {
left: 'title',
right: 'today prev,next'
},
//defaultView: 'basicWeek',
editable: false,
firstDay: 1,
height: 530,
droppable: false,
events: [
<?php
$notices = $this->db->get('noticeboard')->result_array();
foreach($notices as $row):
?>
{
title: "<?php echo $row['notice_title'];?>",
start: new Date(<?php echo date('Y',$row['create_timestamp']);?>, <?php echo date('m',$row['create_timestamp'])-1;?>, <?php echo date('d',$row['create_timestamp']);?>),
end: new Date(<?php echo date('Y',$row['create_timestamp']);?>, <?php echo date('m',$row['create_timestamp'])-1;?>, <?php echo date('d',$row['create_timestamp']);?>)
},
<?php
endforeach
?>
]
});
});
</script>