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.96.2  /  Your IP : 104.23.243.201
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/admin_archive.php
<?php
/*********************
 *********************
Template : "admin_archive.php"
Controller : "Admin_Archive.php"

 Creation 15/07/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 id="tabParam" class="active">
              <a href="#param" data-toggle="tab"><i class="entypo-cog"></i>
                <?php echo get_phrase('archive_parameters');?>
              </a>
      </li>
      <li id="tabArchive">
              <a href="#archive" data-toggle="tab"><i class="entypo-database"></i>
                <?php echo get_phrase('archived_courses');?>
              </a>
      </li>
    </ul>
  <!------CONTROL TABS END------>
<div class="tab-content">
 <br>
 <!----TABLE PARAM STARTS-->
 <?php include 'admin_archive/param.php'; ?>
 <!----TABLE PARAM ENDS--->
 <!----TABLE LISTING STARTS-->
 <?php include 'admin_archive/listing.php'; ?>
 <!----TABLE LISTING ENDS--->
</div>
 <!-- assets to move -->
 <script>
 function ajaxUnarchive(id){
   $.post('/Admin_Archive/unarchive', {
     id: id
   }, function(data){
       if(data == "1"){
         displayBox("Unarchive",'',true);
         blurDeck();
         window.location.reload(true);
       }
       else{
         displayBox("Unarchive","unarchivage failled",false);
       }
     });
 }
 function ajaxArchive(){
   $.post('/Admin_Archive/archive', {
     id: 1
   }, function(data){
       if(data == "1"){
         displayBox("archivage",'',true);
         blurDeck();
         window.location.reload(true);
       }
       else{
         displayBox("archivage","archivage failled",false);
       }
     });
 }
 function ajaxUpdate(){
    var course_archive = $('#course_archive').val();
    var student_archive = $('#student_archive').val();
    var teacher_archive = $('#teacher_archive').val();
    $.post('/Admin_Archive/update', {
      course: course_archive,
      student: student_archive,
      teacher: teacher_archive
    }, function(data){
        if(data == "1"){
          displayBox("parameters",'',true);
        }
        else{
          displayBox("parameters","failled to update",false);
        }
      });
 }
 </script>
 <!-- Initialize the script -->
 <script>
 jQuery(document).ready(function($)
 {
   $(".dataTables_wrapper select").select2({
       minimumResultsForSearch: -1
     });
    var datatable = $("#table_export").dataTable();
  $("#btn-archive").click(function(){ajaxArchive();});

  $("#course_archive").val('<? echo $course; ?>');
  $("#student_archive").val('<? echo $student; ?>');
  $("#teacher_archive").val('<? echo $teacher; ?>');

   $('#course_archive').change(function(){ajaxUpdate();});
   $('#student_archive').change(function(){ajaxUpdate();});
   $('#teacher_archive').change(function(){ajaxUpdate();});
 });
 </script>

Youez - 2016 - github.com/yon3zu
LinuXploit