-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.php
78 lines (53 loc) · 2.01 KB
/
settings.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
<?php
session_start();
require_once "./app/core/Handle.php";
if(!isset($_SESSION['account'])) {
Handle::redirect("login.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/isValidForm.js"></script>
<script src="./public/js/SettingSaver.js"></script>
</head>
<body>
<?php
/** 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";
?>
<!-- Header -->
<div class="uk-height-medium uk-flex uk-flex-center uk-flex-middle uk-background-cover uk-light"
data-src="./public/images/background-4.jpg" uk-img>
<div class="customized-festival-header">Account Instellingen</div>
</div>
<!-- Security -->
<div class="uk-grid-small uk-margin-large-top uk-margin-large-bottom" uk-grid>
<?php require_once "./app/views/settings/account-form.php"; ?>
<div class="uk-container uk-margin-xlarge-left">
<?php
Handle::displayPopups();
if(isset($_SESSION['settings-save-success'])) {
if($_SESSION['settings-save-success'] == 1)
Handle::handleSuccessAlert("Instellingen opgeslagen!");
unset($_SESSION['settings-save-success']);
}
require_once "./app/views/settings/avatar-form.php";
require_once "./app/views/settings/security-form.php";
?>
</div>
</div>
<?php
require_once "./app/views/global/footer.php"
?>
</body>
</html>