$nombres = strtoupper($_GET["f_nombres"]);
}
/////
/////////////////////////////////////////////////--AUDITORIA--///////////////////////////////////////
$auditoria_eva = new auditoria("Reporte sms no registrados", "Generó reporte de no registrados");
$auditoria = $auditoria_eva->registrar_auditoria();
//die(json_encode($auditoria));
if ($auditoria == false) {
    $mensaje[0] = 'error_auditoria';
    die(json_encode($mensaje));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
/////
//CREO OBJETO PARA LA CONSULTA
$obj_sms = new Destinatarios();
$rs = $obj_sms->consultar_sms_noreg($tlf, $grupos, $nombres);
//CREO OBJETO PARA EL PDF
$pdf = new pdf_sms_noreg();
$pdf->Header();
$pdf->AliasNbPages();
$pdf->AddPage('L', 'Letter');
$pdf->SetFont('Arial', 'B', 12);
$pdf->SetFillColor(159, 182, 205);
$pdf->SetMargins(10, 5, 10);
/////////////////////////////////////////
//
$contador = 0;
for ($i = 0; $i <= count($rs) - 1; $i++) {
    set_time_limit(0);
    $pdf->Cell(35, 5, $rs[$i][0], 1, 0, 'L', 0);
    $pdf->Cell(70, 5, utf8_decode(substr($rs[$i][1], 0, 23)), 1, 0, 'L', 0);