echo $i == $pag + 1 ? " - {$i}" : " - <a href='{$nombre}-{$i}.html'>{$i}</a>";
    }
    echo "</center><br/>\n";
}
//Escribiendo la tabla
$alink = -1;
if (trim($links) != "") {
    $alink = explode(",", $links);
}
$astr_noenlace = -1;
if (trim($str_noenlace) != "") {
    $astr_noenlace = explode(",", $str_noenlace);
}
$astr_enlace = -1;
if (trim($str_enlace) != "") {
    $astr_enlace = explode(",", $str_enlace);
}
echo acentosHTML(ArrayToTable($csv, $cols, $alink, $astr_enlace, $astr_noenlace));
echo acentosHTML("<div id='footnotes'>" . nl2br($footnotes) . "</div>");
//Indice del fondo
echo "<br/>\n";
if (getNumPags($data) > 1) {
    echo "<center>\n";
    echo $pag == 0 ? "1" : "<a href='{$nombre}.html'>1</a>";
    for ($i = 2; $i <= getNumPags($data); $i++) {
        echo $i == $pag + 1 ? " - {$i}" : " - <a href='{$nombre}-{$i}.html'>{$i}</a>";
    }
    echo "</center><br/>\n";
}
echo html_volver($backto);
html_footer("codigo" . trim(alfanum($_SESSION['sigla'])) . " " . $sv . " " . date('Y-m-d'));
<script type="text/javascript">
 $(document).ready(function () {
   $('tbody tr').quicksearch({
     stripeRowClass: ['odd', 'even'],
     position: 'before',
     attached: 'table',
     labelText: 'Buscar en esta p&aacute;gina: ',
     delay: 50
   });
 });
</script>



<?php 
$csv = arrayPagina($_SESSION['data']['horasextraordinarias'][$nombre_archivo], 0);
echo acentosHTML(ArrayToTable($csv, 7, -1));
?>



<br/>
<br/>





<?php 
echo html_volver("javascript:history.back()");
html_footer("codigo" . trim(alfanum($_SESSION['sigla'])) . " remuneraciones " . date('Y-m-d'));
<?php 
/*
echo acentosHTML(
 ArrayToTable( ArrayProject($csv,array(1,2,3,4,5,6,7,8,9,10,11)),
   11,-1
 )
);
*/
if ($showfiltrocol) {
    echo acentosHTML(ArrayToTable($csv, $cols, explode(',', $links)));
} else {
    for ($i = 0; $i < $cols; $i++) {
        if ($i != $filtro) {
            $proj[] = $i;
        }
    }
    $csv = ArrayProject($csv, $proj);
    echo acentosHTML(ArrayToTable($csv, $cols - 1, explode(',', $links)));
}
echo '<br />';
if (getNumPags($_SESSION['data'][$sv][$cat]) > 1) {
    echo "<center>\n";
    echo $pag == 1 ? "1" : "<a href='{$cat}.html'>1</a>";
    for ($i = 2; $i <= getNumPags($_SESSION['data'][$sv][$cat]); $i++) {
        echo $i == $pag ? " - {$i}" : " - <a href='{$cat}-{$i}.html'>{$i}</a>";
    }
    echo "</center><br />\n";
}
echo html_volver("javascript:history.back()");
html_footer("codigo" . trim(alfanum($_SESSION['sigla'])) . " " . $cat . " " . date('Y-m-d'));
<br/>


<script type="text/javascript">
 $(document).ready(function () {                         
   $('tbody tr').quicksearch({
     stripeRowClass: ['odd', 'even'],
     position: 'before',
     attached: 'table',
     labelText: 'Buscar en esta p&aacute;gina: ',
     delay: 50                                       
   });                     
 });
</script>
<?php 
echo acentosHTML(ArrayToTable(ArrayProject($csv, array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)), 15, array(11), array('Si'), array('No')));
echo '<br />';
if (getNumPags($_SESSION['data']['contrata']) > 1) {
    echo "<center>\n";
    echo $pag == 1 ? "1" : "<a href='per_contrata.html'>1</a>";
    for ($i = 2; $i <= getNumPags($_SESSION['data']['contrata']); $i++) {
        echo $i == $pag ? " - {$i}" : " - <a href='per_contrata-{$i}.html'>{$i}</a>";
    }
    echo "</center><br/>\n";
}
?>

<div id="footnotes">
<?php 
echo acentosHTML(nl2br($_SESSION['footnotes']['contrata']));
?>
<div id="incentivos">
<strong>Escala de incentivos y metas</strong>
<br/>

<script type="text/javascript">
 $(document).ready(function () {
   $('#incentivos tbody tr').quicksearch({
     stripeRowClass: ['odd', 'even'],
     position: 'before',
     attached: '#incentivos table',
     labelText: 'Buscar en esta p&aacute;gina: ',
     delay: 50
   });
 });
</script>




<?php 
$csv = arrayPagina($_SESSION['data']['incentivos'], 0);
$cols = count($csv[0]);
echo acentosHTML(ArrayToTable($csv, $cols, -1));
?>
</div>


<?php 
echo html_volver("javascript:history.back()");
html_footer("codigo" . trim(alfanum($_SESSION['sigla'])) . " remuneraciones " . date('Y-m-d'));