-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
69 lines (50 loc) · 1.63 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
<?php
include_once 'header.php';
?>
<!-- Simple Responsive Hero -->
<?php
if (isset($_SESSION["userUid"])) {
?>
<div class="container col-xxl-8 px-4 py-5">
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
<div class="col-10 col-sm-8 col-lg-6">
<img src="./img/hero.png" class="d-block mx-lg-auto img-fluid" alt="Bootstrap Themes" width="700" height="500" loading="lazy">
</div>
<div class="col-lg-6">
<h1 class="display-5 fw-bold lh-1 mb-3">Hello There<?php echo " ".$_SESSION["userUid"]." ";?></h1>
<p class="lead">You are logged in.</p>
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
<a href="includes/logout.inc.php">
<button type="button" class="btn btn-outline-secondary btn-lg px-4">Log Out</button>
</a>
<a href="admin/index.php">
<button type="button" class="btn btn-primary btn-lg px-4">Go to Admin Panel</button>
</a>
</div>
</div>
</div>
</div>
<?php
}else {
?>
<div class="container col-xxl-8 px-4 py-5">
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
<div class="col-10 col-sm-8 col-lg-6">
<img src="./img/help.png" class="d-block mx-lg-auto img-fluid" alt="Bootstrap Themes" width="700" height="500" loading="lazy">
</div>
<div class="col-lg-6">
<h1 class="display-5 fw-bold lh-1 mb-3">Welcome to Centralized Grievance System Portal</h1>
<p class="lead"> </p>
<div class="d-grid gap-2 d-md-flex justify-content-md-start"></div>
</div>
</div>
</div>
<?php
}
?>
<!-- / Simple Responsive Hero -->
</body>
<?php
include_once 'footer.php';
?>
</html>