-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
188 lines (140 loc) · 5.31 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="HTML5 Template" />
<meta name="description" content="Webster - Responsive Multi-purpose HTML5 Template" />
<meta name="author" content="potenzaglobalsolutions.com" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>CrowdVisio.io</title>
<?php //$xml = json_encode(file_get_contents("https://ec92b363.ngrok.io/locations.txt"));
// $data = json_decode($xml, true);
// $i = 0;
// foreach ($data as $emp) {
// $location = $emp['latitude'].",".$emp['longitude']."<br/>";
// if($i == 0){ $first_location = $location; }
// $i++;
// }
// $first = $first_location;
// $arr = array();
// foreach ($data as $emp) {
// $location = $emp['latitude'].",".$emp['longitude']."<br/>";
// if($first != $location){ $ha = $emp['city'].",".rand(5,50)."<br/>" array_push($arr, $ha); }
// }
//$ha = $emp
// array_push($arr,"Los Angeles", 10);
//array_push($arr,"San Francisco", 10);
?>
<!-- Favicon -->
<link rel="shortcut icon" href="images/favicon.ico" />
<!-- font -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,500,500i,600,700,800,900|Poppins:200,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900">
<!-- Plugins -->
<link rel="stylesheet" type="text/css" href="css/plugins-css.css" />
<!-- revoluation -->
<link rel="stylesheet" type="text/css" href="revolution/css/settings.css" media="screen" />
<!-- Typography -->
<link rel="stylesheet" type="text/css" href="css/typography.css" />
<!-- Shortcodes -->
<link rel="stylesheet" type="text/css" href="css/shortcodes/shortcodes.css" />
<!-- Style -->
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!-- Responsive -->
<link rel="stylesheet" type="text/css" href="css/responsive.css" />
<!-- Style customizer -->
<link rel="stylesheet" type="text/css" href="css/skins/skin-red.css" data-style="styles"/>
</head>
<body>
<div class="wrapper">
<!--=================================
preloader -->
<!--=================================
preloader -->
<!--=================================
header -->
<header id="header" class="header transparent fullWidth">
<!--=================================
mega menu -->
<div class="menu">
<!-- menu start -->
<nav id="menu" class="mega-menu">
<!-- menu list items container -->
<section class="menu-list-items" style= "background-color: #626AE8">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12">
<!-- menu logo -->
<ul class="menu-logo">
<li><a href="index.php"><img id="logo" src="images/logo.png" alt="logo"> </a></li>
<li style = "font-size:25px; padding-left:10px;"><a href="javascript:void(0)">CrowdVision.io</a></li>
</ul>
<!-- menu links -->
<div class="menu-bar">
<ul class="menu-links">
<li><a href="javascript:void(0)">Sign Up</i></a></li>
<li><a href="javascript:void(0)">Login</i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
</nav>
<!-- menu end -->
</div>
</header>
<!--=================================
header -->
<!--=================================
blog -->
<section class="white-bg page-section-ptb">
<div class="container">
<div class="row">
<div class="col-md-12">
<h4 class="fw-7 mb-30">
</h4>
</div>
</div>
</div>
</section>
<!--=================================
blog -->
<!--=================================
blog -->
<section class="white-bg page-section-pb">
<div class="container">
<div class="row">
<div class="col-lg-8">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3149.5364823659447!2d-122.25304298467945!3d37.87113467974205!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80857c3086f64b9b%3A0xdcec57accf0fedde!2sBerkeley%2C%20CA%2094704!5e0!3m2!1sen!2sus!4v1572181595831!5m2!1sen!2sus" width="700" height="400" frameborder="0" style="border:0;" allowfullscreen=""></iframe>
</div>
<div class="col-lg-4" style="background-color:#FF5854, height = 200px">
<h4>Notifications</h4>
<p>Potantial threat 5 meters away</p>
<p>Potantial threat 27 meters away</p>
<p>Potantial threat 16 meters away</p>
</div>
<div id="back-to-top"><a class="top arrow" href="#top"><i class="fa fa-angle-up"></i> <span>TOP</span></a></div>
<!--=================================
jquery -->
<!-- jquery -->
<script src="js/jquery-3.3.1.min.js"></script>
<!-- plugins-jquery -->
<script src="js/plugins-jquery.js"></script>
<!-- plugin_path -->
<script>var plugin_path = 'js/';</script>
<!-- custom -->
<script src="js/custom.js"></script>
<?php
// $base = new EventBase();
// $n = 2;
// $e = Event::timer($base, function($n) use (&$e) {
// echo "$n seconds elapsed\n";
// $e->delTimer();
// }, $n);
// $e->addTimer($n);
// $base->loop();
?>
</body>
</html>