/
index.php
96 lines (83 loc) · 3.37 KB
/
index.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Baseball Trois-Pistoles</title>
<link rel="stylesheet" href="css/foundation.css" />
<link rel="stylesheet" href="css/datatable.min.css" />
<script src="js/vendor/modernizr.js"></script>
<script src="js/jquery-1.11.3.min.js"></script>
</head>
<body>
<?php
/* Object */
include("php/Category.php");
include("php/MySql.php");
include("large_menu.php");
/*include("small_menu_start.php");*/
/*$mySql = new MySql();
if ($result = $mySql->execute("SELECT * FROM category"))
{
while ($row = $result->fetch_object("Category"))
{
echo $row->getFullName();
}
$result->close();
}*/
?>
<!-- MAIN SECTION -->
<section class="main-section">
<div class="row">
<h4>MES VINS</h4>
</div>
<div class="row">
<div class="small-12 columns">
<table id="example" width="100%">
<thead>
<tr>
<th>NOM</th><th>COULEUR</th><th class="show-for-medium-up">PASTILLE</th><th>NOTE</th><th>PRIX</th>
</tr>
</thead>
<tbody>
<tr>
<td>RH Philips</td><td>Rouge</td><td class="show-for-medium-up">Aromatique et souple</td><td>8</td><td>15.95$</td>
</tr>
<tr>
<td>Bourbon</td><td>Blanc</td><td class="show-for-medium-up">Aromatique et ample</td><td>8</td><td>16.00$</td>
</tr>
<tr>
<td>RH Philips</td><td>Rouge</td><td class="show-for-medium-up">Aromatique et souple</td><td>8</td><td>15.10$</td>
</tr>
<tr>
<td>RH Philips</td><td>Rouge</td><td class="show-for-medium-up">Aromatique et souple</td><td>8</td><td>15.95$</td>
</tr>
<tr>
<td>RH Philips</td><td>Rouge</td><td class="show-for-medium-up">Aromatique et souple</td><td>8</td><td>15.95$</td>
</tr>
<tr>
<td>Bourbon</td><td>Blanc</td><td class="show-for-medium-up">Aromatique et ample</td><td>8</td><td>16.00$</td>
</tr>
</tbody>
</table>
<div class="paging"></div>
</div>
</div>
</section>
<?php
include("small_menu_end.php");
?>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script src="js/datatable.min.js"></script>
<script>
$(document).foundation();
$('#example').datatable({
pageSize: 5,
sort: [true, true, true,true,true],
filters: [true, true, 'select', true, true],
filterText: 'Filtre '
}) ;
</script>
</body>
</html>