?
Current Path : /home1/savoy/www/savoyglobal.net/futuredraft/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/savoyglobal.net/futuredraft/application/views/student/manage_performance.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_performance','view_performance','1'); }); function suggestBatch(div) { $(div).autocomplete("<?= site_url() ?>/master/autosuggestbatch/", { width: 250, selectFirst: false, onCallBack: function(id,index) { get_studentsubject(id) } }); } function load_test_details() { var batch_id=$('#batch_id').val(); var date=$('#test_date').val(); if(batch_id!='' && date!='') { $('#test_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_studentsubject/"+batch_id+'/'+date); $("#salary_box").show(); } else { $("#salary_box").hide(); } if(batch_id=='' && date=='') alert("Select Batch and Date First") else if(batch_id=='') alert("Select Batch First") else if(date=='') alert("Select Date First") } function get_studentsubject(batch_id) { if(batch_id!='') { $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/get_TeacherAndCourse/"+batch_id, success: function(msg){ $('#exam_id').html(msg.option); $("#teacher_name").html(msg.teacher); $("#course_name").html(msg.course); } }); } } </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>