!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/book_issue/   drwxr-xr-x
Free 29.42 GB of 117.98 GB (24.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

use App\Http\Controllers\CommonController;
use 
App\Models\Book;

?>


@if(count($book_issues) > 0)
<div class="table-responsive">
    <table id="basic-datatable" class="table eTable">
        <thead>
            <tr>
                <th>#</th>
                <th>{{ get_phrase('Book name') }}</th>
                <th>{{ get_phrase('Issue date') }}</th>
                <th>{{ get_phrase('Student') }}</th>
                <th>{{ get_phrase('Class') }}</th>
                <th>{{ get_phrase('Status') }}</th>
                <th class="text-center">{{ get_phrase('Option') }}</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($book_issues as $book_issue)
                <?php 
                $book_details 
Book::find($book_issue['book_id']);
                
$student_details = (new CommonController)->get_student_details_by_id($book_issue['student_id']);
                
?>
                <tr>
                    <td>{{ $loop->index + 1 }}</td>
                    <td><strong>{{ $book_details['name'] }}</strong></td>
                    <td>
                        {{ date('D, d/M/Y', $book_issue['issue_date']) }}
                    </td>
                    <td>
                        <strong>{{ $student_details['name'] }}</strong>
                        <br> 
                        <strong>{{ get_phrase('Id') }}: </strong>
                        <small>{{ $student_details['code'] }}</small>
                    </td>
                    <td>
                        {{ $student_details['class_name'] }}
                    </td>
                    <td>
                        <?php if ($book_issue['status']): ?>
                            <span class="eBadge ebg-success">{{ get_phrase('Returned') }}</span>
                        <?php else: ?>
                            <span class="eBadge ebg-danger">{{ get_phrase('Pending') }}</span>
                        <?php endif; ?>
                    </td>
                    <td class="text-start">
                        <div class="adminTable-action">
                            <button
                              type="button"
                              class="eBtn eBtn-black dropdown-toggle table-action-btn-2"
                              data-bs-toggle="dropdown"
                              aria-expanded="false"
                            >
                              {{ get_phrase('Actions') }}
                            </button>
                            <ul
                              class="dropdown-menu dropdown-menu-end eDropdown-menu-2 eDropdown-table-action"
                            >
                            <?php if (!$book_issue['status']): ?>
                                  <li>
                                    <a class="dropdown-item" href="javascript:;" onclick="rightModal('{{ route('admin.edit.book_issue', ['id' => $book_issue->id]) }}', '{{ get_phrase('Update issued book') }}')">{{ get_phrase('Edit') }}</a>
                                  </li>
                                  <li>
                                    <a class="dropdown-item" href="javascript:;" onclick="confirmModal('{{ route('admin.book_issue.return', ['id' => $book_issue->id]) }}', 'undefined');">{{ get_phrase('Return this book') }}</a>
                                  </li>
                            <?php endif; ?>
                              <li>
                                <a class="dropdown-item" href="javascript:;" onclick="confirmModal('{{ route('admin.book_issue.delete', ['id' => $book_issue->id]) }}', 'undefined');">{{ get_phrase('Delete') }}</a>
                              </li>
                            </ul>
                        </div>
                    </td>
                </tr>
            @endforeach
        </tbody>
    </table>
</div>
@else
<div class="empty_box center">
    <img class="mb-3" width="150px" src="{{ asset('public/assets/images/empty_box.png') }}" />
    <br>
    <span class="">{{ get_phrase('No data found') }}</span>
</div>
@endif

@if(count($book_issues) > 0)
<div class="table-responsive display-none-view" id="book_issue_report">
    <table id="basic-datatable" class="table eTable">
        <thead>
            <tr>
                <th>#</th>
                <th>{{ get_phrase('Book name') }}</th>
                <th>{{ get_phrase('Issue date') }}</th>
                <th>{{ get_phrase('Student') }}</th>
                <th>{{ get_phrase('Class') }}</th>
                <th>{{ get_phrase('Status') }}</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($book_issues as $book_issue)
                <?php 
                $book_details 
Book::find($book_issue['book_id']);
                
$student_details = (new CommonController)->get_student_details_by_id($book_issue['student_id']);
                
?>
                <tr>
                    <td>{{ $loop->index + 1 }}</td>
                    <td><strong>{{ $book_details['name'] }}</strong></td>
                    <td>
                        {{ date('D, d/M/Y', $book_issue['issue_date']) }}
                    </td>
                    <td>
                        <strong>{{ $student_details['name'] }}</strong>
                        <br> 
                        <strong>{{ get_phrase('Id') }}: </strong>
                        <small>{{ $student_details['code'] }}</small>
                    </td>
                    <td>
                        {{ $student_details['class_name'] }}
                    </td>
                    <td>
                        <?php if ($book_issue['status']): ?>
                            <span class="eBadge ebg-success">{{ get_phrase('Returned') }}</span>
                        <?php else: ?>
                            <span class="eBadge ebg-danger">{{ get_phrase('Pending') }}</span>
                        <?php endif; ?>
                    </td>
                </tr>
            @endforeach
        </tbody>
    </table>
</div>
@endif

:: 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.0037 ]--