-
Notifications
You must be signed in to change notification settings - Fork 0
/
Update-skills.php
224 lines (177 loc) · 10.1 KB
/
Update-skills.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
<!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|Update Skills</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=""> -->
<h1>Birhan Solutions<span>.</span></h1>
</a>
<nav id="navbar" class="navbar">
<ul>
<li><a href="admin dashboard.php#available">Set Availablity</a></li>
<li><a href="admin dashboard.php#assign">Assign Employee</a></li>
<li><a href="admin dashboard.php#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="#" target="_blank">Developer's Personal Information</a></li>
<li><a href="#" target="_blank">Developer's Educational Information</a></li>
<li><a href="#" target="_blank">Developer's CV</a></li>
<li><a href="#" target="_blank">Developer's Links</a></li>
<li><a href="#" 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="status" class="services sections-bg">
<div class="container" data-aos="fade-up">
<div class="section-header">
<h2>Update Developer's Skills</h2>
</div>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<div class="form-group" style="padding-left: 20%;padding-right: 20%; width: 100%;">
<input type="email" class="form-control" name="email_skills" placeholder="Enter Developers'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="update_skills" id="Skills" placeholder="Developers Skills*" 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 -->
</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>[email protected]<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>
<?php
include_once 'dbconnect.php';
if (isset($_POST['submit'])) {
$email = $_POST["email_skills"];
$skills = $_POST["update_skills"];
// $sql = "Update Developers_info Set LinkedInLink='$linkedin' where EmailAddress='$email'";
$sql = "UPDATE developers_info set OtherSkills = CONCAT('$skills',',',`OtherSkills`) where EmailAddress='$email'";
if ($con->query($sql) === true) {
echo '<script>alert("Developer\'s Skills has been updated!")</script>';
header("Location: Update-personal-info.php?message=Developer's Skills has been updated!");
}
}