Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /home/matalashes/.trash/app.bak.3/Views/admin/pages/custom/store/storeuser/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/matalashes/.trash/app.bak.3/Views/admin/pages/custom/store/storeuser/storeuser.php
<?= $this->extend('admin/layout/admin_datatable') ?>
<?= $this->section('content') ?>
    <!-- ============================================================== -->
    <!-- Page Content -->
    <!-- ============================================================== -->

    <!-- ============================================================== -->
    <!-- Different data widgets -->
    <!-- ============================================================== -->
<?php
$session = service('session');
echo form_content_table_tag_open('table', 'table align-middle table-row-dashed fs-6 gy-5', '', $session->get('trash')) ?>
    <thead>
    <tr class="text-start text-muted fw-bolder fs-7 text-capitalize gs-0">
        <th>Username</th>
        <th>Role</th>
        <th>Status</th>
        <th class="text-end">#</th>
    </tr>
    </thead>
    <tbody class="text-gray-600 fw-bold">
    <?php
    foreach ($_data as $d) {
        $role = new \App\Models\PsStoreRole();
        $r = $role->find($d->ps_sr_id);
        ?>
        <tr>
            <td><?= $d->username ?></td>
            <td><?= $r->role_name ?></td>
            <td>
                <?php
                $status = '<span class="badge badge-light-success">Aktif</span>';
                if (!empty($d->suspended_at)) {
                    $status = '<span class="badge badge-light-danger">Suspended</span>';
                }
                echo $status;
                ?>
            </td>
            <td class="text-end">
                <?= action_button_table($session->get('trash'), $url_action_table, $myLib->secure_id($d->ps_su_id)) ?>
            </td>
        </tr>
        <?php
    }
    ?>
    </tbody>
<?= form_content_table_tag_close(); ?>
    <!-- End Page Content -->
    <!-- ============================================================== -->
<?= $this->endSection('content') ?>

haha - 2025