/
showEleves.php
40 lines (38 loc) · 1.34 KB
/
showEleves.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div id="entete">
<div class="logo"><img src="<?php echo SITE_ROOT . "public/img/wide_saisieeleve.png"; ?>" /></div>
</div>
<script>
$(document).ready(function () {
$("#tableEleves").DataTable({
ajax: {
url: './lazyload',
dataSrc: ''
},
"columns": [
{data: "MATRICULE", width: "10%"},
{data: "NOM", width: null},
{data: "SEXE", width: "5%"},
{data: "DATENAISS", width: "15%"},
{data: "ACTION", width: "7%"}
]
});
});
</script>
<form action="<?php echo Router::url("eleve", "saisie"); ?>" method="post">
<div class="page">
<table class="dataTable" id="tableEleves">
<thead><tr><th>Matricule</th><th>Noms et Prénoms</th><th>Sexe</th><th>DateNaiss</th><th></th></tr></thead>
<tbody>
</tbody>
</table>
</div>
<!-- div class="recapitulatif">
<?php //echo $total . " élèves"; ?>
</div !-->
<div class="navigation">
<input type="hidden" value="true" name="saisie" />
<img src="<?php echo SITE_ROOT . "public/img/btn_add.png" ?>" onclick="document.forms[0].submit();" />
</div>
</form>
<div class="status"></div>
<?php