?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/student/manage_extra.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'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('student','viewinstudentsearch','search_extra','view_extra','1'); }); function suggestClass_name(div) { $(div).autocomplete("<?= site_url() ?>/master/autosuggestclass/", { width: 250, selectFirst: false, onCallBack: function(id,index) { $('#student,#student_id').val(''); load_assessment_name(id) } }); } function load_assessment_name(class_name_id) { if(class_name_id != '') { $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_assessment_name/"+class_name_id, success: function(msg){ $('#assessment_master_id').html(msg.option); $("#class_name").html(msg.class_name); } }); } } function load_class_students() { var class_name_id=$('#class_name_id').val(); var date=$('#assessment_date').val(); if(class_name_id!='' && date!='') { $('#assessment_date').attr('readonly', true); $('#detail1').show(); $("#salary_box").empty().html('<CENTER><img src="<?= base_url() ?>assets/images/loading.gif" class="loading"/></CENTER>'); $("#salary_box").load("<?= site_url() ?>/student/get_class_students_assessment/"+class_name_id+'/'+date); $("#salary_box").show(); } else { $("#salary_box").hide(); } if(class_name_id=='' && date=='') alert("Select Class and Date First") else if(class_name_id=='') alert("Select Class First") else if(date=='') alert("Select Date First") } </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>