Ejemplo n.º 1
0
function tieneError($cadena)
{
    return alfanum($_POST[$cadena]);
}
 $(document).ready(function () {
   $('tbody tr').quicksearch({
     stripeRowClass: ['odd', 'even'],
     position: 'before',
     attached: 'table',
     labelText: 'Buscar en esta pá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'));
Ejemplo n.º 3
0
    }
    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'));
     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>

<br />

<?php 
echo html_volver("../contrata_historico.html");
html_footer("codigo" . trim(alfanum($_SESSION['sigla'])) . " personal_contrata " . date('Y-m-d'));