-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap.php
More file actions
107 lines (77 loc) · 4.15 KB
/
map.php
File metadata and controls
107 lines (77 loc) · 4.15 KB
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
97
98
99
100
101
102
103
104
105
106
107
<?php
session_start();
header('Content-Type: text/html; charset=utf-8');
require 'class/Autoloader.php';
Autoloader::register();
$bdd = new Database('yoda');
$bdd2 = new Database('ecsupgrader');
require_once('./class/checkCookie.php');
checkCookie($bdd,'map.php');
?>
<!doctype html>
<html lang="fr">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Bookmarks for all the ETMI Customer Application. For RIS and PACS. Internal user Only !">
<meta name="author" content="Yohann LOPEZ">
<link rel="icon" type="image/png" href="public/img/yodaTitle.png" />
<title>Carte - Y.O.D.A. <?php
$res = $bdd->queryObj('SELECT * FROM CFG_CONFIG');
echo ' v' . $res[0]->CFG_VERSION;
?></title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!--Fontawesome CSS-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
<!--CSS Perso-->
<link rel="stylesheet" href="public/css/yoda.css">
<?php require 'public/checkTheme.php'; ?>
<link rel="stylesheet" href="public/css/dashboard.css">
<link rel="stylesheet" href="public/css/filters.css">
<!--<link rel="icon" type="image/png" href="./public/img/yodaTitle.png" />-->
<!--Add Jquery-->
<script src="https://code.jquery.com/jquery-3.2.1.js" integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE=" crossorigin="anonymous"></script>
</head>
<body>
<div id='idUser' class="d-none"><?=$_SESSION['id_user']?></div>
<div class="content">
<?php
require 'public/navbar2.php';
require 'public/sidebar2.php';
?>
<div class="clients">
<div class="col-12 headerMap">
<div class="btn-group btn-group-toggle col-12" data-toggle="buttons">
<label class="btn btn-outline-primary col-4 active">
<input type="radio" name="filter" id="aucun" checked> Aucun
</label>
<label class="btn btn-outline-info col-4">
<input type="radio" name="filter" id="version" > Version
</label>
<label class="btn btn-outline-light col-4">
<input type="radio" name="filter" id="activity" > Activité
</label>
</div>
</div>
<div class="d-none" id='filterResult'></div>
<div class="col-md-12">
<div id="map" class="card mt-3 " style="height: calc(100vh - 120px);"></div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCo_lLa3e8UeMBQdc6EYS5Wbw7udYxl3_o&callback=initMap"></script>
<script src="./public/js/maps.js"></script>
<script src="./public/js/initAddons.js"></script>
<script>
$(document).ready(function(){
createXML('all');
initMap('aucun');
});
</script>
</body>
</html>