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


Viewing file:     740a4eb57a9d46b03cb806cdd153a4534d5159a3.php (6.53 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

   
<?php $__env->startSection('content'); ?>

<?php 

use App\Models\Session;

$current_session get_school_settings(auth()->user()->school_id)->value('running_session');
$running_session Session::find($current_session);

?>
<div class="mainSection-title">
    <div class="row">
        <div class="col-12">
            <div
              class="d-flex justify-content-between align-items-center flex-wrap gr-15"
            >
                <div class="d-flex flex-column">
                    <h4><?php echo e(get_phrase('Session Manager')); ?></h4>
                    <ul class="d-flex align-items-center eBreadcrumb-2">
                        <li><a href="#"><?php echo e(get_phrase('Home')); ?></a></li>
                        <li><a href="#"><?php echo e(get_phrase('Settings')); ?></a></li>
                        <li><a href="#"><?php echo e(get_phrase('Session Manager')); ?></a></li>
                    </ul>
                </div>
                <div class="export-btn-area">
                    <a href="javascript:;" class="export_btn" onclick="rightModal('<?php echo e(route('admin.create.session')); ?>', '<?php echo e(get_phrase('Create Session')); ?>')"><i class="bi bi-plus"></i><?php echo e(get_phrase('Add Session')); ?></a>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-12">
        <div class="eSection-wrap">
            <div class="eMain">
                <div class="row">
                    <div class="col-md-6 pb-3">
                        <div class="eAlert eBtn-blueish" role="alert">
                            <?php echo e(get_phrase('Active session ')); ?>

                            <span class="text-white eBtn-green p-1" id="active_session"><?php echo e($running_session->session_title); ?></span>
                        </div>
                        <div class="row">
                            <div class="col-9">
                                <select class="form-select eForm-select eChoice-multiple-with-remove" id="session_dropdown">
                                    <option value = ""><?php echo e(get_phrase('Select a session')); ?></option>
                                    <?php $__currentLoopData $sessions$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $session): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($session->id); ?><?php echo e($session->status == 'selected':''); ?>><?php echo e($session->session_title); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); ?>
                                </select>
                            </div>
                            <div class="col-3">
                                <button type="button" class="eBtn eBtn btn-secondary" onclick="makeSessionActive()"> <i class="mdi mdi-check"></i><?php echo e(get_phrase('Activate')); ?></button>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 pb-3">
                        <table id="basic-table" class="table eTable">
                            <thead>
                                <tr>
                                    <th><?php echo e(get_phrase('Session title')); ?></th>
                                    <th><?php echo e(get_phrase('Status')); ?></th>
                                    <th class="text-center"><?php echo e(get_phrase('Options')); ?></th>
                                </tr>
                            </thead>
                            <tbody class="table_body">
                                <?php
                                
foreach($sessions as $session):?>
                                <tr>
                                    <td><strong><?php echo e($session['session_title']); ?></strong></td>
                                    <td>
                                        <?php if($session['status'] == 1): ?>
                                            <span class="eBadge ebg-success"><?php echo e(get_phrase('Active')); ?></span>
                                        <?php else: ?>
                                            <span class="eBadge ebg-danger"><?php echo e(get_phrase('Deactive')); ?></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"
                                            >
                                              <?php echo e(get_phrase('Actions')); ?>

                                            </button>
                                            <ul
                                              class="dropdown-menu dropdown-menu-end eDropdown-menu-2 eDropdown-table-action"
                                            >
                                              <li>
                                                <a class="dropdown-item" href="javascript:;" onclick="rightModal('<?php echo e(route('admin.edit.session', ['id' => $session->id])); ?>', '<?php echo e(get_phrase('Edit Session')); ?>')"><?php echo e(get_phrase('Edit')); ?></a>
                                              </li>
                                              <li>
                                                <a class="dropdown-item" href="javascript:;" onclick="confirmModal('<?php echo e(route('admin.session.delete', ['id' => $session->id])); ?>', 'undefined');"><?php echo e(get_phrase('Delete')); ?></a>
                                              </li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <?php endforeach; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">

  "use strict";

    function makeSessionActive() {
        var session_id = $('#session_dropdown').val();
        let url = "<?php echo e(route('admin.session_manager.active_session', ['id' => ":session_id"])); ?>";
        url = url.replace(":session_id", session_id);
        $.ajax({
            type : 'GET',
            url: url,
            processData: false,
            contentType: false,
            dataType: 'json',
            success : function(response) {
                (response.status === true) ? toastr.success(response.notification) : toastr.error(response.notification);
                location.reload();
            }
        });
    }
</script>

<?php $__env->stopSection(); ?>
<?php 
echo $__env->make('admin.navigation'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH E:\scl management\school\resources\views/admin/session/session_manager.blade.php ENDPATH**/ ?>

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