<?php
//Activamos el almacenamiento en el buffer
ob_start(); 
session_start();

//definimos la variable $rutaBase
$rutaBase = "../";

//Verificar si el usuario ha iniciado sesion 
if (!isset($_SESSION['_AL_id_bingo'])) { 
    header('Location: '.$rutaBase.'login.php?Acceso_No_Permitido');
    exit;
}

require $rutaBase.'header.php';
?>
<style>


label {
            color: white;
        }
         .dataTables_info {
            color: white; /* Cambiar el color a blanco */
        }
</style>
<!--==================================================================================================================-->
<section class="content">
  <div class="container-fluid">



    <!--==---------------------------------------------------------------------------------==-->
    <div class="card card-primary" id="card_header" style="margin-bottom: 2px;">
      <div class="card-header">
       <b>Historial de Partidas</b>
        
      </div>
    </div>
  
  <!--========================================== Tabla ==========================================-->
  <div class="container-fluid" id="tabla">
    <div class="row">
      <div class="col-12">
        <div class="card" id="listadoregistros" style="background:  #243443 ;" >

          <div class="card-body" id="contenedorDatatable">
           <table id="datatable" class="table table-bordered table-dark">
            <thead>
              <tr align="center">
                <th>N° Partida</th>
                <th>Inicio</th>
                <th>Fin</th>
                <th>Estado</th>
                <th>Ganadores</th>
              </tr>
            </thead>

            <tbody>
              <tr>
                                      
              </tr>                      
            </tbody>

            <tfoot>  
            </tfoot>
          </table>
        </div>
      </div>
    </div>
  </div>
</div>

</div>
</section>
<!-- Fin Contenido PHP-->
<?php
require $rutaBase.'footer.php';
?>
<script type="text/javascript" src="scripts/historial_partida.js<?php echo '?r='.date('Y-m-d H:i:s');?>"></script>
<?php 
ob_end_flush();
?>