?
Current Path : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/student/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/student/manage_attendance.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <html class="no-js" lang="en"> <head> <?php $this->load->view('jsfiles'); $this->load->view('header'); $this->load->view('commonfunctions'); // $this->load->view('settings/settingsfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('student','viewinstudentsearch','search_attendance','view_attendance','1'); }); function suggestClass_name(div) { $(div).autocomplete("<?= site_url() ?>/master/autosuggestclass/", { width: 250, selectFirst: false, onCallBack: function(id,index) { get_class_details(id); } }); } function get_class_details(class_id) { if(class_id!='') { $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_class_details/"+class_id, success: function(msg) { $("#class_name").html(msg.class_name); $("#class_name_id").html(msg.class_name_id); $("#start_time_hour").html(msg.start_time_hour); $("#start_time_minute").html(msg.start_time_minute); $("#end_time_hour").html(msg.end_time_hour); $("#end_time_minute").html(msg.end_time_minute); } }); } } function load_student_details() { var class_name_id=$('#class_name_id').val(); var date=$('#attendance_date').val(); var start_time=$('#start_time_hour').val()+":"+$('#start_time_minute').val(); var end_time=$('#end_time_hour').val()+":"+$('#end_time_minute').val(); $('#attendance_date').attr('readonly', true); if(class_name_id!='') { $('#detail1').show(); $("#attendance").empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#attendance").load("<?= site_url() ?>/student/get_attendance_students/"+class_name_id+'/'+date+'/'+start_time+'/'+end_time); $("#attendance").show(); } else { $("#attendance").hide(); alert("Select Class first") } } function disable_time(row_no) { } </script> </head> <body> <div id="height-wrapper"> <?php $this->load->view('menu'); ?> <div role="main" class="container_12" id="content-wrapper"> <div id="main_content"> <?php $this->load->view('top'); ?> <div id="inner_content"> </div> </div> <div class="push clear"></div> </div> <div class="clear"></div> <div class="push"></div> </div> <?php $this->load->view('footer'); ?> </body> </html>