<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-01-30 06:01:14              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto ssssU; ssssU: require_once 'RemoteAgent.php'; goto AqMRf; AqMRf: require_once RUTA_APP . 'Conexion.php'; goto Q0D6D; Q0D6D: 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 DfwSQ; FSFtl: return $ret; goto SMMln; a3sWd: sv_mysqli_close($con); goto FSFtl; Rt3mT: vc8_f: goto a3sWd; fE3OX: if (!sv_mysqli_query($con, $query)) { goto vc8_f; } goto AIx7E; LyBry: $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 fE3OX; DfwSQ: $con = getConnection(); goto KFLLA; KFLLA: $ret = -1; goto LyBry; AIx7E: $ret = 0; goto Rt3mT; SMMln: } public static function editRemoteAgent($remoteAgent) { } public static function countLinesByCliente($cliente) { goto kL4Pv; G8xi1: $resp = $row["SUMA"]; goto hGk7W; Yg6DH: $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 W4U_y; fwPGG: sv_mysqli_close($con); goto RNVsG; RNVsG: return $resp; goto ancyU; hGk7W: eaTRI: goto Pe4Cg; kL4Pv: $con = getConnection(); goto JTaBd; JTaBd: $resp = 0; goto Yg6DH; Pe4Cg: HqGrw: goto fwPGG; W4U_y: if (!($result = sv_mysqli_query($con, $query))) { goto HqGrw; } goto DY5r7; DY5r7: if (!($row = sv_mysqli_fetch_array($result))) { goto eaTRI; } goto G8xi1; ancyU: } public static function deleteRemoteAgent($remoteAgent) { } }