-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
75 lines (51 loc) · 2.08 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
<?php
session_start();
require_once "./app/views/index/party-title.php";
require_once "./app/views/index/party-card-row.php";
require_once "./app/models/Parties.php";
require_once "./app/core/Handle.php";
?>
<html>
<head>
<!-- UIKit CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.3/css/uikit.min.css"/>
<link rel="stylesheet" href="./public/css/uikit_customized.css">
<!-- UIKit JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.3/js/uikit.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.3/js/uikit-icons.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="./public/js/UIKit.js"></script>
<script src="./public/js/SearchParty.js"></script>
</head>
<body>
<div class="uk-background-cover uk-height-1-1 uk-background-blend-hue"
style="background-image: url('public/images/background-3.jpg');">
<?php
Handle::displayPopups();
/** Head navbar **/
require_once "./app/views/global/head-navbar.php";
/** Popup navbar when screen too small **/
require_once "./app/views/global/head-navbar-popup.php";
/** Party search card **/
require_once "./app/views/index/party-search-card.php";
/** Party search popup **/
require_once "./app/views/index/party-search-popup.php";
?>
</div>
<?php
/** Overview navbar **/
require_once "./app/views/index/overview-navbar.php";
/** Popular Party **/
displayTitle("Populaire Fuiven", "Wat je niet mag missen", "./parties.php", "popular-parties");
displayPartyRow(Parties::getPopularParties(3));
/** New Party **/
displayTitle("Nieuwe Fuiven", "Ook de nieuwste fuiven vind je ook bij ons", "./parties.php", "new-parties");
displayPartyRow(Parties::getNewParties(3));
/** Genres **/
displayTitle("Top Genres", "Wat jouw muzieksmaak ook mag zijn, bij ons kun je het vinden", "./parties.php", "genre-parties");
require_once "./app/views/index/party-genres.php";
/** Footer **/
require_once "./app/views/global/footer.php"
?>
</body>
</html>