-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
40 lines (35 loc) · 1.08 KB
/
Copy pathindex.php
File metadata and controls
40 lines (35 loc) · 1.08 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
<?php session_start(); ?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>matcha - index</title>
<link rel="stylesheet" href="/css/galery.css">
<link rel="stylesheet" href="/css/multi-input.css">
<link rel="stylesheet" href="/css/header.css">
<link rel="stylesheet" href="/css/doubleslider.css">
<link rel="stylesheet" href="/css/footer.css">
<link rel="stylesheet" href="/css/chat.css">
<script src="/index.js"></script>
<script type='text/javascript' src='/js/PortFunnel.js'></script>
<script type='text/javascript' src='/js/PortFunnel/Geolocation.js'></script>
</head>
<body>
<div id="elm"></div>
<script>
var app = Elm.Main.init({
node: document.getElementById('elm'),
flags: <?php
if (!array_key_exists('id', $_SESSION)) {
?>null<?php
}
else {
?>{ pseudo: "<?=$_SESSION['pseudo']?>", picture: "<?=$_SESSION['picture']?>" }<?php
}
?>
});
var modules = ['Geolocation'];
PortFunnel.subscribe(app, {modules: modules});
</script>
</div>
</html>