<table class="table table-striped">
          <thead>
            <tr class="table-primary">
              <th scope="col">Empresa</th>
              <th scope="col">Documento</th>
              <th scope="col">Fecha Inicio</th>
              <th scope="col">Cargo</th>
              <th scope="col">Salario</th>
            </tr>
          </thead>
<?php
          if ($dataInfo != NULL){
?>     
            <tbody>
            <?php foreach($dataInfo as $key=>$element) { ?>
            <tr>
              <td><?php print $element['empresa'];?></td>
              <td><?php print $element['documento'];?></td>
              <td><?php print $element['fecha_inicial'];?></td>
              <td><?php print $element['cargo'];?></td>
              <td><?php print $element['salario'];?></td>
            </tr>
          <?php } ?>
          </tbody>
<?php
          }
          else{
?>
          <tr>
            <td colspan="5"><h3 style="text-align:center;">No se Importaron Contratos</h3></td>
          </tr>
<?php
          }
?>
        </table>
        <br>
<?php
if ($dataInfoDup != NULL){
?>
<hr>
<h3>Contratos que no se Importaron por estar Registrados (Empresa + Usuario + Fecha de Inicio)</h3>

  <table class="table table-striped">
          <thead>
            <tr class="table-warning">
              <th scope="col">Empresa</th>
              <th scope="col">Documento</th>
              <th scope="col">Fecha Inicio</th>
              <th scope="col">Cargo</th>
              <th scope="col">Salario</th>
            </tr>
          </thead>
          <tbody>
            <?php foreach($dataInfoDup as $key=>$element) { ?>
            <tr>
              <td><?php print $element['empresa'];?></td>
              <td><?php print $element['documento'];?></td>
              <td><?php print $element['fecha_inicial'];?></td>
              <td><?php print $element['cargo'];?></td>
              <td><?php print $element['salario'];?></td>
            </tr>
          <?php } ?>
          </tbody>
        </table>
<?php
}

if ($dataInfoErr != NULL){
?>
<hr>
<h3>Contratos que no se Importaron por Errores en el Archivo Excel</h3>

  <table class="table table-striped">
          <thead>
            <tr class="table-primary">
              <th scope="col">Empresa</th>
              <th scope="col">Documento</th>
              <th scope="col">Fecha Inicio</th>
              <th scope="col">Cargo</th>
              <th scope="col">Salario</th>
            </tr>
          </thead>
          <tbody>
            <?php foreach($dataInfoErr as $key=>$element) { ?>
            <tr>
              <td><?php print $element['empresa'];?></td>
              <td><?php print $element['documento'];?></td>
              <td><?php print $element['fecha_inicial'];?></td>
              <td><?php print $element['cargo'];?></td>
              <td><?php print $element['salario'];?></td>
            </tr>
          <?php } ?>
          </tbody>
        </table>
<?php
}
?>