| Server IP : 188.114.97.2 / Your IP : 104.23.243.200 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/git/sms.edl.codes.solutions/application/views/backend/parent/ |
Upload File : |
<?php
/*********************
*********************
Indian Controller : "Student_old_old.php"
Indian Template : "student_old.php"
controller fix 23 avril 2019
Aernout Guillaume
http://codes.solutions
*********************
*********************/
?>
<hr />
<div class="row">
<div class="col-md-12">
<!------CONTROL TABS START------>
<ul class="nav nav-tabs bordered">
<li class="active" id="tabList">
<a href="#list" data-toggle="tab"><i class="entypo-menu"></i>
<?php echo get_phrase('student_list');?>
</a></li>
<li id="tabEdit">
<a href="#edit" data-toggle="tab"><i class="entypo-feather"></i>
<?php echo get_phrase('show_student');?>
</a></li>
</ul>
<!------CONTROL TABS END------>
<div class="tab-content">
<br>
<!----TABLE LISTING STARTS-->
<?php include 'student/listing.php'; ?>
<!----TABLE LISTING ENDS--->
<!----EDITION FORM STARTS---->
<?php include 'student/edit.php'; ?>
<!----EDITION FORM ENDS-->
<!----- DATA TABLE EXPORT CONFIGURATIONS ---->
<!-- assets -->
<link rel="stylesheet" href="/assets/css/csstyle/backend/student.css">
<script type="text/javascript" src="/assets/js/csajax/backend/student.js"></script>
<!-- Initialize the scripts-->
<script type="text/javascript">
jQuery(document).ready(function($)
{
$('.input-show').find('input').attr('readonly', 'readonly');
<?php
if(isset($edit)){
echo "ajaxLoad($edit);";
}
if(isset($presence)){
echo "displayPresence($presence);";
}
?>
var datatable = $("#table_export").dataTable();
$(".dataTables_wrapper select").select2({
minimumResultsForSearch: -1
});
//ajax action
$("#saveStudent").click(function(){ajaxSave();});
$("#editStudent").click(function(){ajaxEdit();});
$("#deleteStudent").click(function(){ajaxDelete();});
$("#assignStudent").click(function(){ajaxAssign();});
//$("#presenceStudent").click(function(){ajaxPresence();});
//dynamic interactions
$('#course_name').change(function() {
var id = $('#course_name').val();
showLesson(id);
});
$('#student_assgin').change(function() {
var id = $('#student_assgin').val();
showAssigned(id);
});
$('#student_presence').change(function() {
var id = $('#student_presence').val();
showPresence(id);
});
$('#student_edit').change(function() {
var id = $('#student_edit').val();
ajaxLoad(id);
});
$('.datePick').datepicker({dateFormat: 'yyyy-mm-dd'});
});
</script>