?
Current Path : /home1/savoy/www/oscarerp.com/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/www/oscarerp.com/application/views/student/manage_extra_class.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_extra_class','view_extra_class','1'); }); function suggestBatch(div) { $(div).autocomplete("<?= site_url() ?>/master/autosuggestbatch/", { width: 250, selectFirst: false, onCallBack: function(id,index) { get_student(id) } }); } function get_student(batch_id) { if(batch_id!='') { var date=$('#extra_class_date').val(); alert("<?= site_url() ?>/student/get_classroom/"+batch_id+"/"+date); $('#detail1').show(); $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_classroom/"+batch_id+"/"+date, success: function(msg) { $('#class_id').val(msg.class_id); $('#class_code').html(msg.class_code); $('#subject_id').html(msg.option); $("#teacher_id").val(msg.teacher_id); $("#course_name").html(msg.course); } }); $("#extra_class").empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#extra_class").load("<?= site_url() ?>/student/get_extra_class_students/"+batch_id); $("#extra_class").show(); } else $("#extra_class").hide(); } </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>