| Server IP : 188.114.96.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/admin/ |
Upload File : |
<?php
/*********************
*********************
Template : "forms_teacher.php"
FrontEnd : "hello_teacher.php"
Controller : "Form_teacher.php"
Creation 10/10/2019
Aernout Guillaume
https://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('candidate_list');?>
<?php if($this->crud_model->notify_candidate_t()>0){ ?><span style="color:#ffffff;background-color:red;font-size:7px;padding:2px;margin: 10px;border:1px solid #de7579;border-radius:25px;"><? echo $this->crud_model->notify_candidate_t();?></span><?} ?>
</a></li>
<li id="tabEdit">
<a href="#edit" data-toggle="tab"><i class="entypo-feather"></i>
<?php echo get_phrase('show_candidate');?>
</a></li>
<li id="tabPending">
<a href="#pending" data-toggle="tab"><i class="entypo-hourglass"></i>
<?php echo get_phrase('pending_teacher');?>
<?php if($this->crud_model->notify_pending_t()>0){ ?><span style="color:#ffffff;background-color:red;font-size:7px;padding:2px;margin: 10px;border:1px solid #de7579;border-radius:25px;"><? echo $this->crud_model->notify_pending_t();?></span><?} ?>
</a>
</li>
</ul>
<!------CONTROL TABS END------>
<div class="tab-content">
<br>
<!----TABLE LISTING STARTS-->
<?php include 'form_teacher/list.php'; ?>
<!----TABLE LISTING ENDS--->
<!----EDITION FORM STARTS---->
<?php include 'form_teacher/edit.php'; ?>
<!----EDITION FORM ENDS---->
<!----PENDING FORM STARTS---->
<?php include 'form_teacher/pending.php'; ?>
<!----PENDING FORM ENDS---->
</div>
<!----- DATA TABLE EXPORT CONFIGURATIONS ---->
<script type="text/javascript" src="/assets/js/csajax/backend/form_teacher.js"></script>
<scrip></script>
<script type="text/javascript">
jQuery(document).ready(function($)
{
var datatable = $("#table_export").dataTable();
$(".dataTables_wrapper select").select2({
minimumResultsForSearch: -1
});
//hidde form without candidate
$("#basicCandidate").hide();
$("#studentCandidate").hide();
$("#parentCandidate").hide();
$("#addressCandidate").hide();
$("#actionCandidate").hide();
// convert action
if(window.location.hash == "#pending") {
console.log("pending");
displayPending();
}
//listener
$("#name_E").change(function(){
var id = $("#name_E :selected").val();
ajaxGetCandidate(id);
});
$("#tabList").click(function(){
window.location.assign("/form_teacher");
});
$(".candidate_form").change(function(){
var id = $("#name_E :selected").val();
//console.log('edit');
ajaxEditCandidate(id);
});
$("#approveBtn").click(function(){
var id = $("#name_E :selected").val();
ajaxConvertCandidate(id);
});
$("#removeBtn").click(function(){
var id = $("#name_E :selected").val();
ajaxRemoveCandidate(id);
});
});
</script>