Tul xxx Tul
User / IP
:
216.73.216.159
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
/
vnet
/
app
/
views
/
movimientos
/
Viewing: index.php
<?php declare(strict_types=1); // Vista: Movimientos. ?> <section class="page"> <header class="page__header page__header--with-actions"> <div> <h1 class="page__title">Movimientos</h1> <p class="page__subtitle">Historial de entradas y salidas de inventario</p> </div> <div class="page__actions"> <a class="btn btn--primary" href="<?= htmlspecialchars((string)BASE_URL, ENT_QUOTES, 'UTF-8') ?>/movimientos/create">Registrar movimiento</a> </div> </header> <?php if (!empty($flash) && is_array($flash)) : ?> <?php if (($flash['type'] ?? '') === 'success') : ?> <div class="alert alert--success"><?= htmlspecialchars((string)($flash['message'] ?? ''), ENT_QUOTES, 'UTF-8') ?></div> <?php else : ?> <div class="alert alert--error"><?= htmlspecialchars((string)($flash['message'] ?? ''), ENT_QUOTES, 'UTF-8') ?></div> <?php endif; ?> <?php endif; ?> <?php $moduloSel = (string)($filters['modulo'] ?? ''); $tipoSel = (string)($filters['tipo'] ?? ''); ?> <section class="panel" style="margin-bottom: 14px;"> <form method="get" action="<?= htmlspecialchars((string)BASE_URL, ENT_QUOTES, 'UTF-8') ?>/movimientos" class="form"> <div class="form-grid"> <label class="field"> <span class="field__label">Módulo</span> <select class="field__input" name="modulo"> <option value="" <?= $moduloSel === '' ? 'selected' : '' ?>>Todos</option> <option value="uniformes" <?= $moduloSel === 'uniformes' ? 'selected' : '' ?>>Uniformes</option> <option value="herramientas" <?= $moduloSel === 'herramientas' ? 'selected' : '' ?>>Herramientas</option> <option value="epp" <?= $moduloSel === 'epp' ? 'selected' : '' ?>>EPP</option> </select> </label> <label class="field"> <span class="field__label">Tipo</span> <select class="field__input" name="tipo"> <option value="" <?= $tipoSel === '' ? 'selected' : '' ?>>Todos</option> <option value="entrada" <?= $tipoSel === 'entrada' ? 'selected' : '' ?>>Entrada</option> <option value="salida" <?= $tipoSel === 'salida' ? 'selected' : '' ?>>Salida</option> </select> </label> </div> <div class="form-actions"> <a class="btn btn--secondary" href="<?= htmlspecialchars((string)BASE_URL, ENT_QUOTES, 'UTF-8') ?>/movimientos">Limpiar</a> <button class="btn btn--primary" type="submit">Filtrar</button> </div> </form> </section> <div class="table-wrap"> <table class="table"> <thead> <tr> <th>Tipo</th> <th>Módulo</th> <th>Item</th> <th class="th-right">Cantidad</th> <th class="th-right">Acciones</th> </tr> </thead> <tbody> <?php if (empty($movimientos)) : ?> <tr> <td colspan="5" class="td-muted">No hay movimientos registrados.</td> </tr> <?php else : ?> <?php foreach ($movimientos as $m) : ?> <?php $id = (int)($m['id'] ?? 0); $tipo = (string)($m['tipo'] ?? ''); $badge = $tipo === 'entrada' ? 'badge--success' : 'badge--muted'; $mod = (string)($m['modulo'] ?? ''); $itemNombre = (string)($m['item_nombre'] ?? ''); $itemId = (int)($m['item_id'] ?? 0); ?> <tr> <td data-label="Tipo"> <span class="badge <?= $badge ?>"><?= $tipo === 'entrada' ? 'Entrada' : 'Salida' ?></span> </td> <td data-label="Módulo"><?= $mod === 'uniformes' ? 'Uniformes' : ($mod === 'herramientas' ? 'Herramientas' : 'EPP') ?></td> <td data-label="Item"> <?php if ($itemNombre !== '') : ?> <?= htmlspecialchars($itemNombre, ENT_QUOTES, 'UTF-8') ?> <?php else : ?> #<?= $itemId ?> <?php endif; ?> </td> <td data-label="Cantidad" class="td-right"><?= (int)($m['cantidad'] ?? 0) ?></td> <td data-label="Acciones" class="td-right td-actions"> <a class="btn btn--secondary btn--sm" href="<?= htmlspecialchars((string)BASE_URL, ENT_QUOTES, 'UTF-8') ?>/movimientos/show/<?= $id ?>">Ver</a> <a class="btn btn--secondary btn--sm" href="<?= htmlspecialchars((string)BASE_URL, ENT_QUOTES, 'UTF-8') ?>/movimientos/edit/<?= $id ?>">Editar</a> <form method="post" action="<?= htmlspecialchars((string)BASE_URL, ENT_QUOTES, 'UTF-8') ?>/movimientos/delete/<?= $id ?>" class="inline" data-confirm="¿Eliminar este movimiento? Esto ajustará el stock y no se puede deshacer."> <button class="btn btn--danger btn--sm" type="submit">Eliminar</button> </form> </td> </tr> <?php endforeach; ?> <?php endif; ?> </tbody> </table> </div> </section>
Coded With 💗 by
0x6ick