<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-03-26 06:01:16              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto NH4b0; MT2yx: require_once 'ClienteDatos.php'; goto No6ph; No6ph: require_once 'Conexion.php'; goto LKcHT; NH4b0: require_once 'Usuario.php'; goto MT2yx; LKcHT: class UsuarioDatos { public static function getUsuarioByUsuario(string $usuario) : ?Usuario { goto JzcAU; hfM2F: $resp = new Usuario($row["user"], $row["full_name"], ClienteDatos::getClienteById($row["user_group"])); goto vS4hO; I3ioM: return $resp; goto RrYtG; JzcAU: $resp = null; goto F2PlH; vS4hO: LA9KF: goto xa0ll; F2PlH: $query = "SELECT user, user_group, full_name FROM vicidial_users WHERE user = '" . limpia($usuario) . "' LIMIT 1"; goto Dckr1; YpTEy: sv_mysqli_close($con); goto I3ioM; zZidk: if (!($result = sv_mysqli_query($con, $query))) { goto zuE9J; } goto eIWbe; eIWbe: if (!($row = sv_mysqli_fetch_array($result))) { goto LA9KF; } goto hfM2F; Dckr1: $con = getConnection(); goto zZidk; xa0ll: zuE9J: goto YpTEy; RrYtG: } public static function getUsuarioByUsuarioAndPassword(string $usuario, string $password) : ?Usuario { goto jgFbk; cXIVP: $query = "SELECT user FROM vicidial_users WHERE user = '" . limpia($usuario) . "' AND pass = '" . limpia($password) . "' LIMIT 1"; goto GB6TM; GB6TM: $con = getConnection(); goto msoqI; v31mj: $resp = self::getUsuarioByUsuario($row["user"]); goto eeAEB; msoqI: if (!($result = sv_mysqli_query($con, $query))) { goto pFbtH; } goto LUyGp; FcXZ0: return $resp; goto oyfXk; jgFbk: $resp = null; goto cXIVP; YGtaV: sv_mysqli_close($con); goto FcXZ0; LUyGp: if (!($row = sv_mysqli_fetch_array($result))) { goto p9Sa7; } goto v31mj; kjiCN: pFbtH: goto YGtaV; eeAEB: p9Sa7: goto kjiCN; oyfXk: } }