-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
123 lines (108 loc) · 5.39 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="PM-css/styles.css">
<link rel="stylesheet" type="text/css" href="PM-css/home-style.css">
<title>Personnel Management</title>
<script src="https://code.iconify.design/1/1.0.4/iconify.min.js"></script>
<script src="PM-script/logout.js"></script>
</head>
<body>
<?php require "PM-extras/db_utils.php";
?>
<!-- HTML for nav links and logo -->
<div class="page_container" style="background-color: deepskyblue;">
<div class="nav_bar" style="background-color: white;">
<div class="nav_logo">
<h2 style="color: black;">AdminMax</h2>
</div>
<div class="nav_stack">
<div class="nav_links">
<div class="n_link">
<button class="nav_button nav_button_home" onclick="window.location.href = 'index.php';">Home</button>
</div>
<div class="n_link">
<button class="nav_button nav_button_home" onclick="window.location.href = 'PM-pages/personnel.php';">Personnel</button>
</div>
<div class="n_link">
<button class="nav_button nav_button_home" onclick="window.location.href = 'PM-pages/events.php';">Events</button>
</div>
<div class="n_link">
<button class="nav_button nav_button_home" onclick="window.location.href = 'PM-pages/messaging.php';">Messaging</button>
</div>
</div>
</div>
<?php if (check_session()) { ?>
<button class="nav_button nav_button_home log_button" onclick="logout(true)">Log Out</button>
<?php } else { ?>
<button class="nav_button nav_button_home log_button" onclick="window.location.href = 'PM-pages/login.php';">Log In</button>
<?php } ?>
</div>
<div class="home_body" style="min-height: 600px;">
<h1 class="page_title">AdminMax</h1>
<p class="page_caption">Take Control</p>
<div class="card_body">
<div class="column_clip">
<div class="card_column">
<article class="card" id="card1">
<figure>
<span class="iconify icon_style" data-icon="bx:bx-group" data-inline="false"></span>
</figure>
<div>
<p>
Manage your team members, create groups, build email lists
</p>
<h1 onclick="window.location.href = 'PM-pages/personnel.php';">
Personnel
</h1>
</div>
</article>
</div>
<div class="card_column">
<article class="card" id="card2">
<figure>
<span class="iconify icon_style" data-icon="bx-bx-calendar" data-inline="false"></span>
</figure>
<div>
<p>
View and schedule events, track attendance
</p>
<h1 onclick="window.location.href = 'PM-pages/events.php';">
Events
</h1>
</div>
</article>
</div>
<div class="card_column">
<article class="card" id="card3">
<figure>
<span class="iconify icon_style" data-icon="bx:bx-comment-detail" data-inline="false"></span>
</figure>
<div>
<p>
Contact your team, send messages by group
</p>
<h1 onclick="window.location.href = 'PM-pages/messaging.php';">
Messaging
</h1>
</div>
</article>
</div>
</div>
</div>
</div>
<div class="footer" style="position: fixed; bottom: 0; left:0;">
<nav>
<a class='footer_link' href="index.php">Home</a> |
<a class='footer_link' href="PM-pages/personnel.php">Personnel</a> |
<a class='footer_link' href="PM-pages/events.php">Events</a> |
<a class='footer_link' href="PM-pages/messaging.php">Messaging</a>
</nav>
<p class="footer_note">Devs: Alex Whitaker, Cainan Howard, Sammy Awad, Timothy Krenz</p>
</div>
</div>
<script type="text/javascript" src="PM-script/index_card1.js"></script>
<script type="text/javascript" src="PM-script/index_card2.js"></script>
<script type="text/javascript" src="PM-script/index_card3.js"></script>
</body>
</html>