<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-04-17 05:58:42              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto xvNnm; Tiync: require_once RUTA_APP . 'Conexion.php'; goto W7k2E; xvNnm: require_once 'RemoteAgent.php'; goto Tiync; W7k2E: class RemoteAgentDatos { public static function getRemoteAgentById($id) { } public static function getRemoteAgentsByCliente($cliente, $texto, $pagina, $limite) { } public static function getRemoteAgents($texto, $pagina, $limite) { } public static function countRemoteAgentsByCliente($cliente, $texto) { } public static function countRemoteAgents($texto) { } public static function addRemoteAgent($remoteAgent) { goto TZeHS; TZeHS: $con = getConnection(); goto JO7MQ; qAKoD: if (!sv_mysqli_query($con, $query)) { goto zaOpJ; } goto qhfm9; TR73M: sv_mysqli_close($con); goto cIwY9; JO7MQ: $ret = -1; goto oKN50; cIwY9: return $ret; goto NISkz; oKN50: $query = "INSERT INTO vicidial_remote_agents(user_start,number_of_lines,server_ip,conf_exten,status,campaign_id) VALUES(\n\t\t\t\t'" . limpia($remoteAgent->getUserStart()) . "',\n\t\t\t\t'" . limpia($remoteAgent->getLineas()) . "',\n\t\t\t\t'" . limpia(SERVER_IP_REAL) . "',\n\t\t\t\t'" . limpia($remoteAgent->getExtension()) . "',\n\t\t\t\t'" . limpia($remoteAgent->getStatus()) . "',\n\t\t\t\t'" . limpia($remoteAgent->getCampana()) . "'\n\t\t\t)"; goto qAKoD; oIPqT: zaOpJ: goto TR73M; qhfm9: $ret = 0; goto oIPqT; NISkz: } public static function editRemoteAgent($remoteAgent) { } public static function countLinesByCliente($cliente) { goto IAygg; xqqH9: fJcMR: goto vRN8J; nddz4: $query = "SELECT SUM(number_of_lines) AS SUMA FROM vicidial_remote_agents WHERE campaign_id IN (SELECT campaign_id FROM vicidial_campaigns WHERE user_group = '" . limpia($cliente->getId()) . "')"; goto N32LX; IAygg: $con = getConnection(); goto PoC2v; hWP6n: sv_mysqli_close($con); goto TfhgM; N32LX: if (!($result = sv_mysqli_query($con, $query))) { goto x9jut; } goto lHSCI; TfhgM: return $resp; goto Kq3eS; Pa_Tt: $resp = $row["SUMA"]; goto xqqH9; lHSCI: if (!($row = sv_mysqli_fetch_array($result))) { goto fJcMR; } goto Pa_Tt; PoC2v: $resp = 0; goto nddz4; vRN8J: x9jut: goto hWP6n; Kq3eS: } public static function deleteRemoteAgent($remoteAgent) { } }