-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin dashboard.php
297 lines (245 loc) · 15.2 KB
/
admin dashboard.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Birhan Solutions|Admin Page</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600;1,700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/main.css" rel="stylesheet">
<!-- =======================================================
* Template Name: Impact - v1.0.0
* Template URL: https://bootstrapmade.com/impact-bootstrap-business-website-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
======================================================== -->
</head>
<body>
<!-- ======= Header ======= -->
<section id="topbar" class="topbar d-flex align-items-center">
<div class="container d-flex justify-content-center justify-content-md-between">
<div class="contact-info d-flex align-items-center">
<i class="bi bi-phone d-flex align-items-center ms-4"><span>+1 5589 55488 55</span></i>
</div>
<div class="social-links d-none d-md-flex align-items-center">
<a href="https://t.me/+-fl3lAV1HNxkOTlh" class="telegram"><i class="bi bi-telegram"></i></i></a>
</div>
</div>
</section><!-- End Top Bar -->
<header id="header" class="header d-flex align-items-center">
<div class="container-fluid container-xl d-flex align-items-center justify-content-between">
<a href="admin dashboard.php" class="logo d-flex align-items-center">
<!-- Uncomment the line below if you also wish to use an image logo -->
<!-- <img src="assets/img/logo.png" alt=""> -->
<?php
session_start();
if (isset($_SESSION['set_availablity'])) {
?>
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>Developer's status has been set!</strong> <?= $_SESSION['set_availablity']; ?>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<?php
unset($_SESSION['set_availablity']);
} elseif (isset($_SESSION['assign'])) {
?>
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>Developer has been assigned to a company!</strong> <?= $_SESSION['assign']; ?>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<?php
unset($_SESSION['assign']);
} elseif (isset($_SESSION['update_password'])) {
?>
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>Admin password has been updated successfully!</strong> <?= $_SESSION['update_password']; ?>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<?php
unset($_SESSION['update_password']);
}
?>
<h1>Birhan Solutions<span>.</span></h1>
</a>
<nav id="navbar" class="navbar">
<ul>
<li><a href="#available">Set Availablity</a></li>
<li><a href="#assign">Assign Employee</a></li>
<li><a href="#change-password">Change Password</a></li>
<li class="dropdown"><a href="#"><span>Update</span> <i class="bi bi-chevron-down dropdown-indicator"></i></a>
<ul>
<li><a href="Update-Status.php" target="_blank">Developer's Status</a></li>
<li><a href="Update-Personal-Info.php" target="_blank">Developer's Personal Information</a></li>
<li><a href="Update-Educational-Info.php" target="_blank">Developer's Educational Information</a></li>
<li><a href="Update_CV.php" target="_blank">Developer's CV</a></li>
<li><a href="Update-Links.php" target="_blank">Developer's Links</a></li>
<li><a href="Update-skills.php" target="_blank">Update Developer's Skills</a></li>
</ul>
</li>
<li class="dropdown"><a href="#"><span>Filter By</span> <i class="bi bi-chevron-down dropdown-indicator"></i></a>
<ul>
<li><a href="filter-by-status.php" target="_blank">By Status</a></li>
<li><a href="filter-by-language.php" target="_blank">By Language</a></li>
<li><a href="filter-by-availablity.php" target="_blank">By Availablity</a></li>
<li><a href="all-employee-record.php" target="_blank">All Employee Record</a></li>
<li><a href="search-employee.php" target="_blank">Search Employee Record By Email</a></li>
<li><a href="employee-work-history.php" target="_blank">Show Employee Work History</a></li>
</ul>
</li>
<li><a href="logout.php">Logout</a></li>
</ul>
</nav><!-- .navbar -->
<i class="mobile-nav-toggle mobile-nav-show bi bi-list"></i>
<i class="mobile-nav-toggle mobile-nav-hide d-none bi bi-x"></i>
</div>
</header><!-- End Header -->
<!-- End Header -->
<main id="main">
<section id="available" class="services sections-bg">
<div class="container" data-aos="fade-up">
<div class="section-header">
<h2>Employee Availablity Form</h2>
</div>
<form action="Set-availability.php" method="post">
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;">
<input type="email" class="form-control" name="email_av" id="email" placeholder="Enter Employee's Email Address*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;margin-top:10px;">
<input type="text" class="form-control" name="avialable" id="avialable" placeholder="Employees Availablity Days Per Week*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<input type="submit" class="btn btn-primary" name="submit" value="Save" style="margin-left: 47%;margin-top:10px;">
</form>
</div>
</section><!-- End Our Services Section -->
<section id="assign" class="services sections-bg">
<div class="container" data-aos="fade-up">
<div class="section-header">
<h2>Assign To A Company</h2>
</div>
<form action="Assign.php" method="post">
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;">
<input type="email" class="form-control" name="email_assign" id="email" placeholder="Enter Employee's Email Address*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;margin-top:10px;">
<input type="text" class="form-control" name="company" id="company" placeholder="Company Name*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;margin-top:10px;">
<input type="text" class="form-control" name="days" id="days" placeholder="Number Of Work Days*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;margin-top:10px;">
<input type="text" class="form-control" name="start_date" id="startdate" placeholder="Starting Date*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;margin-top:10px;">
<input type="text" class="form-control" name="contract" id="contract" placeholder="Contract Length*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<input type="submit" class="btn btn-primary" name="submit" value="Save" style="margin-left: 47%;margin-top:10px;">
</form>
</div>
</section>
<section id="change-password" class="services sections-bg">
<div class="container" data-aos="fade-up">
<div class="section-header">
<h2>Change Password</h2>
</div>
<form action="Update-Password.php" method="post">
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;">
<input type="password" class="form-control" name="oldpass" placeholder="Old Password*" required style="height: 40px;border-radius: 10px;font-size: 15px;" />
<div class="validation"></div>
</div>
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;">
<input type="password" class="form-control" name="newpass" placeholder="New Password*" required style="height: 40px;border-radius: 10px;font-size: 15px;margin-top:10px;" />
<div class="validation"></div>
</div>
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;">
<input type="password" class="form-control" name="confirmpass" placeholder="Confirm Password*" required style="height: 40px;border-radius: 10px;font-size: 15px;margin-top:10px;" />
<div class="validation"></div>
</div>
<input type="submit" class="btn btn-primary" name="submit" value="Save" style="margin-left: 47%;margin-top:10px;">
</form>
</div>
</section><!-- End Our Services Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<footer id="footer" class="footer">
<div class="container">
<div class="row gy-4">
<div class="col-lg-5 col-md-12 footer-info">
<a href="index.html" class="logo d-flex align-items-center">
<span>Birhan Solutions</span>
</a>
<div class="social-links d-flex mt-4">
<a href="https://t.me/+-fl3lAV1HNxkOTlh" class="linkedin"><i class="bi bi-telegram"></i></a>
</div>
</div>
<div class="col-lg-2 col-6 footer-links">
<h4>Useful Links</h4>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Services</a></li>
<li><a href="../privacypolicy.html">Privacy policy</a></li>
</ul>
</div>
<div class="col-lg-2 col-6 footer-links">
<h4>Our Services</h4>
<ul>
<li><a href="#services">Development</a></li>
<li><a href="#services">Database Administration</a></li>
<li><a href="#services">Software Testing</a></li>
<li><a href="#contact">Request a service</a></li>
</ul>
</div>
<div class="col-lg-3 col-md-12 footer-contact text-center text-md-start">
<h4>Contact Us</h4>
<p>
A108 Adam Street <br>
New York, NY 535022<br>
United States <br><br>
<strong>Phone:</strong> +1 5589 55488 55<br>
<strong>Email:</strong>birhan.solutions@gmail.com<br>
</p>
</div>
</div>
</div>
<div class="container mt-4">
<div class="copyright">
© Copyright <strong><span>Birhan Solutions</span></strong>. All Rights Reserved
</div>
</div>
</footer><!-- End Footer -->
<!-- End Footer -->
<a href="#" class="scroll-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<div id="preloader"></div>
<!-- Vendor JS Files -->
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/purecounter/purecounter_vanilla.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
</body>
</html>