-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.php
483 lines (408 loc) · 16 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
<?php
//aktuelle Seite für Navbar setzen
$current_page = "home";
//Verbindung zu DB herstellen
include 'home/connect_mysql.php';
//Wenn Benutzer angemeldet, dann "öffnen" statt "registrieren"
if (!isset($_COOKIE['authWebToken']) && !isset($_COOKIE['username'])) {
$register_bt_text = '<a href="/account/register" class="btn btn-outline-white btn-lg">Registrieren';
} else {
$register_bt_text = '<a href="/account/login" class="btn btn-outline-white btn-lg">Öffnen';
}
?>
<html lang="en">
<head>
<?php
//Head für HP importieren
include 'home/head.php'; ?>
<title>VTCManager</title>
</head>
<body>
<!-- Navbar -->
<?php
//Navbar importieren
include 'home/navbar.php'; ?>
<!-- Navbar -->
<!--Carousel Wrapper-->
<div id="carousel-example-1z" class="carousel slide carousel-fade" data-ride="carousel">
<!--Indicators-->
<ol class="carousel-indicators">
<li data-target="#carousel-example-1z" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-1z" data-slide-to="1"></li>
<li data-target="#carousel-example-1z" data-slide-to="2"></li>
</ol>
<!--/.Indicators-->
<!--Slides-->
<div class="carousel-inner" role="listbox">
<!--First slide-->
<div class="carousel-item active">
<div class="view" style="background-image: url('/media/images/highway-w-trucks.png'); background-repeat: no-repeat; background-size: cover;">
<!-- Mask & flexbox options-->
<div class="mask rgba-black-light d-flex justify-content-center align-items-center">
<!-- Content -->
<div class="text-center white-text mx-5 wow fadeIn">
<h1 class="mb-4">
<strong>Speditionsverwaltung neu definiert.</strong>
</h1>
<p>
<strong>Funktionsreiches und modern gestaltetes Verwaltungssystem.</strong>
</p>
<?php echo $register_bt_text; ?>
<i class="fas fa-sign-in-alt ml-2"></i>
</a>
</div>
<!-- Content -->
</div>
<!-- Mask & flexbox options-->
</div>
</div>
<!--/First slide-->
<!--Second slide-->
<div class="carousel-item">
<div class="view" style="background-image: url('/media/images/white-truck-on-black-road-1003868.jpg'); background-repeat: no-repeat; background-size: cover;">
<!-- Mask & flexbox options-->
<div class="mask rgba-black-light d-flex justify-content-center align-items-center">
<!-- Content -->
<div class="text-center white-text mx-5 wow fadeIn">
<h1 class="mb-4">
<strong>Speditionsverwaltung neu definiert.</strong>
</h1>
<p>
<strong>Funktionsreiches und modern gestaltetes Verwaltungssystem.</strong>
</p>
<?php echo $register_bt_text; ?>
<i class="fas fa-sign-in-alt ml-2"></i>
</a>
</div>
<!-- Content -->
</div>
<!-- Mask & flexbox options-->
</div>
</div>
<!--/Second slide-->
<!--Third slide-->
<div class="carousel-item">
<div class="view" style="background-image: url('/media/images/building-business-ceiling-empty-209251.jpg'); background-repeat: no-repeat; background-size: cover;">
<!-- Mask & flexbox options-->
<div class="mask rgba-black-light d-flex justify-content-center align-items-center">
<!-- Content -->
<div class="text-center white-text mx-5 wow fadeIn">
<h1 class="mb-4">
<strong>Speditionsverwaltung neu definiert.</strong>
</h1>
<p>
<strong>Funktionsreiches und modern gestaltetes Verwaltungssystem.</strong>
</p>
<?php echo $register_bt_text; ?>
<i class="fas fa-sign-in-alt ml-2"></i>
</a>
</div>
<!-- Content -->
</div>
<!-- Mask & flexbox options-->
</div>
</div>
<!--/Third slide-->
</div>
<!--/.Slides-->
<!--Controls-->
<a class="carousel-control-prev" href="#carousel-example-1z" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carousel-example-1z" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<!--/.Controls-->
</div>
<!--/.Carousel Wrapper-->
<!--Main layout-->
<main>
<div class="container">
<!--Section: Main info-->
<section class="mt-5 wow fadeIn">
<!--Stats-->
<?php
//Lade Statistiken
include 'home/stats.php'; ?>
<div class="row text-center d-flex justify-content-center my-5">
<div class="col-lg-3 col-md-6 mb-4">
<i class="fas fa-users fa-3x mb-4 grey-text"></i>
<h5 class="font-weight-normal mb-3"><?php echo $stats_total_user; ?></h5>
<p class="text-muted mb-0">Benutzer</p>
</div>
<div class="col-lg-3 col-md-6 mb-4">
<i class="fas fa-user fa-3x mb-4 grey-text"></i>
<h5 class="font-weight-normal mb-3"><?php echo $stats_total_staff; ?></h5>
<p class="text-muted mb-0">Team Mitglieder</p>
</div>
<div class="col-lg-3 col-md-6 mb-4">
<i class="fas fa-building fa-3x mb-4 grey-text"></i>
<h5 class="font-weight-normal mb-3"><?php echo $stats_total_company; ?></h5>
<p class="text-muted mb-0">registrierte Firmen</p>
</div>
<div class="col-lg-3 col-md-6 mb-4">
<i class="fas fa-truck-loading fa-3x mb-4 grey-text"></i>
<h5 class="font-weight-normal mb-3"><?php echo $stats_total_tours_done; ?></h5>
<p class="text-muted mb-0">abgeschlossene Touren</p>
</div>
</div>
<!--Stats-->
<hr class="mb-5">
<!--Grid row-->
<div class="row">
<!--Grid column-->
<div class="col-md-6 mb-4">
<img src="media/vtcminterface-screenshot.png" class="img-fluid z-depth-1-half" alt="">
</div>
<!--Grid column-->
<!--Grid column-->
<div class="col-md-6 mb-4">
<!-- Main heading -->
<h3 class="h3 mb-3">Maximale Kontrolle und Übersicht über dein Unternehmen</h3>
<p>Mit unserem eigens entwickelten Interface hast du immer die aktuellsten Informationen und Statistiken auf einen Blick</p>
<!-- Main heading -->
<hr>
<!-- CTA -->
<?php
if (!isset($_COOKIE['authWebToken']) && !isset($_COOKIE['username'])) {
//User nicht angemeldet
?>
<a href="/account/register" class="btn btn-grey btn-md">Registrieren
<i class="fas fa-sign-in-alt ml-1"></i>
</a>
<a href="/account/login" class="btn btn-grey btn-md">Anmelden
<i class="fas fa-sign-in-alt ml-1"></i>
</a>
<?php } else {
//User angemeldet
?>
<a href="/account/login" class="btn btn-grey btn-md">Öffnen
<i class="fas fa-sign-in-alt ml-1"></i>
</a>
<?php } ?>
</div>
<!--Grid column-->
</div>
<!--Grid row-->
</section>
<!--Section: Main info-->
<hr class="mb-5">
<!--Section: More-->
<section>
<h2 class="my-5 h3 text-center">...und noch viel mehr</h2>
<!--First row-->
<div class="row features-small mt-5 wow fadeIn">
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-moon fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2 pl-3">
<h5 class="feature-title font-bold mb-1">DarkMode</h5>
<p class="grey-text mt-2">Nichts blendet dich mehr. Für angenehmere Nachtfahrten und -arbeit.
</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-chart-line fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2">
<h5 class="feature-title font-bold mb-1">Statistiken</h5>
<p class="grey-text mt-2">Detailierte Statistiken, die die Optimierung deiner Firma so viel mehr erleichtern.
</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-users fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2">
<h5 class="feature-title font-bold mb-1">Aktive Community</h5>
<p class="grey-text mt-2">Fahre nicht mehr alleine. Du findest immer jemanden.
</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-code fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2">
<h5 class="feature-title font-bold mb-1">Regelmäßige Updates</h5>
<p class="grey-text mt-2">Unser großartiges Team entwickelt, codiert und designed rund um die Uhr.
</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
</div>
<!--/First row-->
<!--Second row-->
<div class="row features-small mt-4 wow fadeIn">
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-truck fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2">
<h5 class="feature-title font-bold mb-1">Offizieller InfiniteTruckersMP-Partner</h5>
<p class="grey-text mt-2">Wir sind ein Partner von IFMP und bieten zahlreiche Optimierungen und Anpassungen für den MultiPlayer an.</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-calendar-check fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2">
<h5 class="feature-title font-bold mb-1">Events</h5>
<p class="grey-text mt-2">Plane und finde Events so einfach wie niemals zuvor.
</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-truck-loading fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2">
<h5 class="feature-title font-bold mb-1">Echtzeit Fracht-Kreisläufe (demnächst)</h5>
<p class="grey-text mt-2">Reale Frachtkreisläufe, realistische Disponentenplanung.</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
<!--Grid column-->
<div class="col-xl-3 col-lg-6">
<!--Grid row-->
<div class="row">
<div class="col-2">
<i class="fas fa-shield-alt fa-2x mb-1 indigo-text" aria-hidden="true"></i>
</div>
<div class="col-10 mb-2">
<h5 class="feature-title font-bold mb-1">Für Konvoi-Sicherheitsfirmen (demnächst)</h5>
<p class="grey-text mt-2">Eine herausragende Planung. Für dich und dein gesamtes Team.</p>
</div>
</div>
<!--/Grid row-->
</div>
<!--/Grid column-->
</div>
<!--/Second row-->
</section>
<!--Section: More-->
<hr class="my-5">
<!--Section: Main features & Quick Start-->
<section>
<h3 class="h3 text-center mb-5">VTConnect</h3>
<!--Grid row-->
<div class="row wow fadeIn">
<!--Grid column-->
<div class="col-lg-6 col-md-12 px-4">
<!--First row-->
<div class="row">
<div class="col-1 mr-3">
<i class="fas fa-users fa-2x indigo-text"></i>
</div>
<div class="col-10">
<h5 class="feature-title">Multiplayer Kompatibilität</h5>
<p class="grey-text">Unser Fahrtenerkennungstool ist mit jedem Multiplayer kompatibel und zeigt aktuelle Verkehrsinformationen an.</p>
</div>
</div>
<!--/First row-->
<div style="height:30px"></div>
<!--Second row-->
<div class="row">
<div class="col-1 mr-3">
<i class="fas fa-couch fa-2x blue-text"></i>
</div>
<div class="col-10">
<h5 class="feature-title">Maximaler Komfort</h5>
<p class="grey-text">Tragen deine Touren niemals mehr selber ein. Wir erledigen das!
</p>
</div>
</div>
<!--/Second row-->
<div style="height:30px"></div>
<!--Third row-->
<div class="row">
<div class="col-1 mr-3">
<i class="fas fa-file-code fa-2x cyan-text"></i>
</div>
<div class="col-10">
<h5 class="feature-title">Ständige Entwicklung</h5>
<p class="grey-text">Wir veröffentlichen regelmäßig Updates. Sei gespannt auf neue Funktionen, die du noch nie gesehen hast!</p>
</div>
</div>
<!--/Third row-->
</div>
<!--/Grid column-->
<!--Grid column-->
<div class="col-lg-6 col-md-12">
<p class="h5 text-center mb-4">VTConnect - Automatische Tourenerkennung</p>
<img src="media/vtcmanager-beta-client.jpg" class="img-fluid z-depth-1-half" alt="">
</div>
<!--/Grid column-->
</div>
<!--/Grid row-->
</section>
<!--Section: Main features & Quick Start-->
<hr class="my-5">
</div>
</main>
<!--Main layout-->
<!--Footer-->
<?php include 'home/footer.php'; ?>
<!--/.Footer-->
<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript" src="home/js/jquery-3.4.1.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="home/js/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="home/js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="home/js/mdb.min.js"></script>
<!-- Initializations -->
<script type="text/javascript">
// Animations initialization
new WOW().init();
</script>
</body>
</html>