<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<style>
    body {background: #ffffff !important;}
    .footer {top: 205% !important;}
</style>
<?php $this->load->view('template/head.php'); ?>
<?php $this->load->view('template/header_admin.php'); ?>
<section class="row contenedor-titulo">
   <h3 class="titulo"><?= $this->session->userdata('EMPRESA')?></h3> 
    <h3 class="titulo"><?= $titulo ?></h3> 
</section>
<section class="row contenedor">
    <div class="col-lg-12 col-md-12">
        <table id="resumen_por_agencia" class="table compact display table-hover">
            <thead>
                <tr>
                    <th>Cod</th>
                    <th><?= $this->session->userdata('NOMBRE_SEGMENTO') ?></th>
                    <th>Participantes</th>
                    <th>Sufragantes</th>
                    <th># Votos</th>
                    <th>Participación</th>

                </tr>
            </thead>
            <tfoot>
                <tr>
                    <th>Cod</th>
                    <th><?= $this->session->userdata('NOMBRE_SEGMENTO') ?></th>
                    <th>Participantes</th>
                    <th>Sufragantes</th>
                    <th># Votos</th>
                    <th></th>
                </tr>  
            </tfoot>
        </table>
    </div>    
</section>
<section class="row">
    <h3 class="text-center"><?= $titulo_graficos ?></h3>
    <div id="chartColumn"></div>
</section>
<section class="row" style="margin-top: 440px;">
    <div id="chartBarra"></div>
</section>
<section class="row" style="margin-top: 440px;">
    <div id="chartTorta"></div>
</section>
<?php
 $data_view['loajs'] = $load_js;
 $data_view['chart'] = 'datosGraficosResumenAgencia()';
 $this->load->view('template/footer.php', $data_view);
?>