<?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 KoalU; KoalU: require_once 'RemoteAgent.php'; goto gPju5; gPju5: require_once RUTA_APP . 'Conexion.php'; goto HwBl0; HwBl0: 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 EahKp; U2LGr: $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 BemH2; EahKp: $con = getConnection(); goto JjV02; Kr7DM: return $ret; goto Zt1AB; JjV02: $ret = -1; goto U2LGr; sjWRM: sv_mysqli_close($con); goto Kr7DM; vP2r5: BgMJT: goto sjWRM; aLWPJ: $ret = 0; goto vP2r5; BemH2: if (!sv_mysqli_query($con, $query)) { goto BgMJT; } goto aLWPJ; Zt1AB: } public static function editRemoteAgent($remoteAgent) { } public static function countLinesByCliente($cliente) { goto lAgaV; JGztX: $resp = 0; goto Lm_LB; LCKpW: return $resp; goto Aq8lf; SpTv8: $resp = $row["SUMA"]; goto KsHa2; KsHa2: lKQoV: goto X2bSP; Lm_LB: $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 MKh0y; ai7IF: if (!($row = sv_mysqli_fetch_array($result))) { goto lKQoV; } goto SpTv8; jQUQj: sv_mysqli_close($con); goto LCKpW; lAgaV: $con = getConnection(); goto JGztX; MKh0y: if (!($result = sv_mysqli_query($con, $query))) { goto plV8G; } goto ai7IF; X2bSP: plV8G: goto jQUQj; Aq8lf: } public static function deleteRemoteAgent($remoteAgent) { } }