<?php

require '../../../resources/orcl_conex.php';
require '../../../resources/select/funciones.php';
include "../../config/config.php";
$quejas = dameQuejas();
/*echo "<pre>";
  print_r($quejas);
  echo "</pre>";*/
?>
    <!DOCTYPE html>
    <html lang="es">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <style type="text/css" media="screen">
        #tabla_juridica_length label, #tabla_juridica_filter label{
            color: #555;
        }
        #tabla_juridica_length select, #tabla_juridica_filter input{
            color:#555;
            border:1px solid gray;
        }

        #tabla_quejas_length label, #tabla_quejas_filter label{
            color: #555;
            font-size: 0.8em;
        }
        #tabla_quejas_length select, #tabla_quejas_filter input{
function obtenerDatosQuejas($ids)
{
    $todo = array();
    foreach ($ids as $key => $value) {
        $fila = dameQuejas($value);
        $archivos = dameArchivosQueja($value);
        //var_dump($descripciones); exit();
        array_push($todo, $fila);
    }
    return array($todo, $archivos);
}