-
Notifications
You must be signed in to change notification settings - Fork 0
/
popis_karti.php
42 lines (31 loc) · 982 Bytes
/
popis_karti.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
<?php
/**
* Created by PhpStorm.
* User: Prima
* Date: 13.06.14.
* Time: 23:46
*/
include_once './view/header.php';
include_once './controler/vlasnik_podaci.php';
if (!isset($_SESSION["PzaWeb"])) {
header("Location: greske.php?id_greske=12");
exit();
}
if ($_SESSION["TIP"]!=3) {
header("Location: greske.php?id_greske=13");
exit();
}
$dataTables = "<script src=\"//cdn.datatables.net/1.10.0/js/jquery.dataTables.min.js\"></script>
<script src=\"//cdn.datatables.net/plug-ins/be7019ee387/integration/bootstrap/3/dataTables.bootstrap.js\"></script>";
echo $dataTables;
echo "<div class=\"container\">";
Vlasnik::sveKarte();
echo "<button type=\"button\" id=\"ispis\" class=\"btn btn-warning pull-right printMe\">
<i class=\"glyphicon glyphicon-print\"></i> Ispis</button></div>";
echo "</div>";
include_once './view/footer.php';
?>
<script src="scripts/print.js"></script>
<script>
$("#tablica").dataTable();
</script>