Viewing file: abf25f88ed7fcc7df04b1c94e1886efd49590e14.php (3.96 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title', 'Home School Name'); ?>
<?php $__env->startSection('css'); ?>
<style>
.teachers_name{
background: #0019a6c2;
}
</style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<?php
$bannerSliderSection = json_decode(get_settings('banner_slider_section'));
$head_teacher_message_section = json_decode(get_settings('head_teacher_message_sec'));
$about_school_sec = json_decode(get_settings('about_school_sec'));
?>
<div class="leftCon">
<h2>কর্মকর্তা-কর্মচারী</h2>
<ul class="teachers_list">
<?php $__currentLoopData = $teachers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $teacher): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$info = json_decode($teacher->user_information);
if(isset($info->photo) && !empty($info->photo)){
$user_image = 'uploads/user-images/'.$info->photo;
}else{
$user_image = 'uploads/user-images/thumbnail.png';
}
?>
<li>
<div class="teachers_img">
<a href="<?php echo e(route('officer.employee.info',[$teacher->id])); ?>">
<img src="<?php echo e(asset($user_image)); ?>"
title="<?php echo e($teacher->name); ?>" alt=""/> </a>
</div><!-- End of teachers_img-->
<div style="height:39px" class="teachers_name">
<h3><?php echo e($teacher->name); ?></h3>
<span><?php echo e(ucwords(str_replace('_', ' ', $teacher->designation))); ?></span>
</div><!-- End of teachers_name-->
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<script type="text/javascript">
window.onload = function () {
var chart = new CanvasJS.Chart("chartContainer",
{
title: {
text: "Student Attendence",
fontFamily: "arial black"
},
animationEnabled: true,
legend: {
verticalAlign: "bottom",
horizontalAlign: "center"
},
theme: "theme1",
data: [
{
type: "pie",
indexLabelFontFamily: "Garamond",
indexLabelFontSize: 20,
indexLabelFontWeight: "bold",
startAngle: 0,
indexLabelFontColor: "MistyRose",
indexLabelLineColor: "darkgrey",
indexLabelPlacement: "inside",
toolTipContent: "{name}: {y}",
showInLegend: true,
indexLabel: "#percent%",
dataPoints: [
{y: 0, name: "Total Present", legendMarkerType: "triangle"},
{y: 1518, name: "Total Absent", legendMarkerType: "square"}
]
}
]
});
chart.render();
}
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/anandabazargirlsschool/public_html/resources/views/frontend/officer_employee.blade.php ENDPATH**/ ?>
|