-
Notifications
You must be signed in to change notification settings - Fork 0
/
account.php
43 lines (30 loc) · 856 Bytes
/
account.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
<?php
session_start();
define('TITLE', 'Account Settings');
$bodyClass = 'dashboard-page';
include('dashboard-header.php');
if(isset($_POST['logout'])) {
session_destroy();
$url = 'admin_fs';
header('location:' .$url);
}
if (array_key_exists('username',$_SESSION) && !empty($_SESSION['username'])) {
?>
<section class="fs-container-fluid">
<article class="fs-row">
<?php include('include/dashboard-nav.php'); ?>
<section class="fs-container">
<article class="fs-row">
<h1>Account Settings</h1>
<?php include('include/account-settings.php'); ?>
</article>
</section>
</article>
</section>
<?php } else {
$url = 'admin_fs';
header('location:' .$url); }
?>
<?php
include('footer.php');
?>