-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresume_form.php
518 lines (507 loc) · 39.7 KB
/
resume_form.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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
<?php include('./components/header.php') ?>
<?php include('./includes/global.php'); ?>
<title>Dashboard | Glowedu</title>
<div class="app-main__outer">
<div class="app-main__inner">
<ul class="body-tabs body-tabs-layout tabs-animated body-tabs-animated nav">
<li class="nav-item">
<a role="tab" class="nav-link active" id="tab-0" data-toggle="tab" href="#tab-content-0">
<span>Resume Form</span>
</a>
</li>
<li class="nav-item">
<a role="tab" class="nav-link" id="tab-1" data-toggle="tab" href="#tab-content-1">
<span>My Resume</span>
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane tabs-animation fade show active" id="tab-content-0" role="tabpanel">
<div class="main-card mb-3 card">
<div class="card-body">
<?php
$query = "SELECT * FROM resume_data WHERE email = '$email'";
$result = mysqli_query($conn, $query);
$rowcount = mysqli_num_rows($result);
if ($rowcount >= 1) { ?>
<h5 class="card-title">Resume Form</h5>
<?php
$submit = @$_POST['update'];
$first_name = strip_tags(@$_POST['first_name']);
$last_name = strip_tags(@$_POST['last_name']);
$resume_email = strip_tags(@$_POST['email']);
$about = strip_tags(@$_POST['about']);
$education_title = strip_tags(@$_POST['education_title']);
$education_year = strip_tags(@$_POST['education_year']);
$education_from = strip_tags(@$_POST['education_from']);
$education_title2 = strip_tags(@$_POST['education_title2']);
$education_year2 = strip_tags(@$_POST['education_year2']);
$education_from2 = strip_tags(@$_POST['education_from2']);
$mobile = strip_tags(@$_POST['mobile']);
$address = strip_tags(@$_POST['address']);
$work_experience = strip_tags(@$_POST['work_experience']);
$award = strip_tags(@$_POST['award']);
$award_date = strip_tags(@$_POST['award_date']);
$award_for = strip_tags(@$_POST['award_for']);
$award2 = strip_tags(@$_POST['award2']);
$award_date2 = strip_tags(@$_POST['award_date2']);
$award_for2 = strip_tags(@$_POST['award_for2']);
$userid = $user_id;
$profile_picture = strip_tags(@$_POST['profile_picture']);
$additional_title = (@$_POST['additional_title']);
$array = array();
if ($additional_title) {
foreach ($additional_title as $key => $value) {
$additional_title = ($_POST['additional_title'][$key]);
$additional_content = ($_POST['additional_content'][$key]);
foreach (range(0, 0) as $i) {
$array[$additional_title] = $additional_content;
}
}
}
$additional_data = json_encode($array);
$created_at = date("Y/m/d");
if ($submit) {
if ($first_name) {
// UPLOADING PROFILE PIC
$length = 10;
$random = substr(str_shuffle(str_repeat($x = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length / strlen($x)))), 1, $length);
$folder = mkdir("addons/data/$random");
$target_dir = "addons/data/$random/";
$target_file = $target_dir . basename($_FILES["profile_picture"]["name"]);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file, PATHINFO_EXTENSION));
if (move_uploaded_file($_FILES["profile_picture"]["tmp_name"], $target_file)) {
$profile_picture = htmlspecialchars(basename($_FILES["profile_picture"]["name"]));
} else {
echo "Sorry, there was an error uploading your file.";
}
$update_student = "UPDATE `resume_data` SET `first_name`='$first_name',`last_name`='$last_name',`email`='$resume_email',`about`='$about',
`education_title`='$education_title',`education_year`='$education_year',`education_from`='$education_from',`education_title2`='$education_title2',`education_year2`='$education_year2',
`education_from2`='$education_from2',`mobile`='$mobile',`address`='$address',`work_experience`='$work_experience',`award`='$award',`award_date`='$award_date',
`award_for`='$award_for',`award2`='$award2',`award_date2`='$award_date2',`award_for2`='$award_for2',`additional_title`='$additional_data',
`profile_picture`='$target_file',`created_at`='$created_at' WHERE email = '$email' AND user_id ='$user_id'";
$query_insertation_result = mysqli_query($conn, $update_student);
if ($query_insertation_result) {
echo "<script>
$(document).ready(function() {
swal('', 'Updated Successfully!', 'success');
});</script>";
echo "<meta http-equiv=\"refresh\" content=\"2; url=resume_form.php\">";
} else {
echo "<script>
$(document).ready(function() {
swal('', 'Error Inserting Record!', 'warning');
});</script>";
echo "<meta http-equiv=\"refresh\" content=\"3; url=resume_form.php\">";
}
} else {
echo "<script>
$(document).ready(function() {
swal('', 'Empty Record can not be Inserted!', 'info');
});</script>";
echo "<meta http-equiv=\"refresh\" content=\"3; url=resume_form.php\">";
}
}
$resume_data = "SELECT * FROM resume_data WHERE user_id = '$_SESSION[id]'";
$resume_data_results = mysqli_query($conn, $resume_data);
while ($rows = mysqli_fetch_assoc($resume_data_results)) {
$first_name = $rows['first_name'];
$last_name = $rows['last_name'];
$about = $rows['about'];
$resume_email = $rows['email'];
$education_title = $rows['education_title'];
$education_year = $rows['education_year'];
$education_from = $rows['education_from'];
$education_title2 = $rows['education_title2'];
$education_year2 = $rows['education_year2'];
$education_from2 = $rows['education_from2'];
$award = $rows['award'];
$award_for = $rows['award_for'];
$award_date = $rows['award_date'];
$award2 = $rows['award2'];
$award_date2 = $rows['award_date2'];
$award_for2 = $rows['award_for2'];
$mobile = $rows['mobile'];
$address = $rows['address'];
$work_experience = $rows['work_experience'];
$address = $rows['address'];
$profile_pic = $rows['profile_picture'];
$additional_title = $rows['additional_title'];
echo "<form method='post' action='resume_form.php' enctype='multipart/form-data' class='needs-validation' novalidate>
<div class='form-row'>
<div class='col-md-4 mb-3'>
<label for='validationCustom01'>First Name</label>
<input type='text' class='form-control' id='validationCustom01' name='first_name' value='$first_name' placeholder='First name' required />
<div class='valid-feedback'> Looks good! </div>
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom01'>Last Name</label>
<input type='text' class='form-control' id='validationCustom01' name='last_name' value='$last_name' placeholder='Last name' required />
<div class='valid-feedback'> Looks good! </div>
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom02'>E-mail</label>
<input type='email' class='form-control' id='validationCustom02' name='email' value='$email' placeholder='Your E-mail' required />
<div class='valid-feedback'> Looks good! </div>
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustomUsername'>About Yourself</label>
<div class='input-group'>
<textarea type='text' class='form-control' id='validationCustomUsername' name='about' placeholder='About Yourself' aria-describedby='inputGroupPrepend' required>$about</textarea>
<div class='invalid-feedback'>
Please choose a username.
</div>
</div>
</div>
</div>
<div class='form-row'>
<div class='col-md-4 mb-3'>
<label for='validationCustom03'>Education Heading</label>
<input type='text' class='form-control' id='validationCustom03' name='education_title' value='$education_title' placeholder='Education Heading' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom04'>Passing Year</label>
<input type='month' class='form-control' id='validationCustom04' name='education_year' value='$education_year' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom05'>Education Institute Name</label>
<input type='text' class='form-control' id='validationCustom05' name='education_from' value='$education_from' placeholder='Education Institute Name' required />
</div>
</div>
<div class='form-row'>
<div class='col-md-4 mb-3'>
<label for='validationCustom03'>Education Heading</label>
<input type='text' class='form-control' id='validationCustom03' name='education_title2' value='$education_title2' placeholder='Education Heading' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom04'>Passing Year</label>
<input type='month' class='form-control' id='validationCustom04' name='education_year2' value='$education_year2' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom05'>Education Institute Name</label>
<input type='text' class='form-control' id='validationCustom05' name='education_from2' value='$education_from2' placeholder='Education Institute Name' required />
</div>
</div>
<div class='form-row'>
<div class='col-md-4 mb-3'>
<label for='validationCustom01'>Mobile Number</label>
<input type='number' class='form-control' id='validationCustom01' name='mobile' value='$mobile' placeholder='Mobile Number' required />
<div class='valid-feedback'> Looks good! </div>
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom02'>Work Experience</label>
<textarea type='text' class='form-control' id='validationCustom02' name='work_experience' value='$work_experience' placeholder='Work Experience' required></textarea>
<div class='valid-feedback'> Looks good! </div>
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustomUsername'>Your Address</label>
<div class='input-group'>
<textarea type='text' class='form-control' id='validationCustomUsername' name='address' value='$address' placeholder='Your Address' aria-describedby='inputGroupPrepend' required></textarea>
<div class='invalid-feedback'>
Please choose a username.
</div>
</div>
</div>
</div>
<div class='form-row'>
<div class='col-md-4 mb-3'>
<label for='validationCustom03'>Award Heading</label>
<input type='text' class='form-control' id='validationCustom03' name='award' value='$award' placeholder='Award Heading' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom04'>Award Received Year</label>
<input type='month' class='form-control' id='validationCustom04' name='award_date' value='$award_date' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom05'>Award For</label>
<input type='text' class='form-control' id='validationCustom04' name='award_for' value='$award_for' placeholder='Award For' required />
</div>
</div>
<div class='form-row'>
<div class='col-md-4 mb-3'>
<label for='validationCustom03'>Award Heading</label>
<input type='text' class='form-control' id='validationCustom03' name='award2' value='$award2' placeholder='Award Heading' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom04'>Award Received Year</label>
<input type='month' class='form-control' id='validationCustom04' name='award_date2' value='$award_date2' required />
</div>
<div class='col-md-4 mb-3'>
<label for='validationCustom05'>Award For</label>
<input type='text' class='form-control' id='validationCustom04' name='award_for2' value='$award_for2' placeholder='Award For' required />
</div>
</div>
<div class='form-row'>
"; ?>
<?php
$obj = json_decode($additional_title);
foreach ($obj as $key => $value) {
echo "<div class='col-md-6 mb-3'><label for='validationCustom05'>Additional Information Title</label>
<input type='text' class='form-control' id='validationCustomUsername' name='additional_title[]' value='$key' placeholder='Additional Information Title' aria-describedby='inputGroupPrepend' required>
</div><div class='col-md-6 mb-3'>
<label for='validationCustom05'>Additional Information Content</label><textarea type='text' class='form-control' id='validationCustomUsername' name='additional_content[]' placeholder='Additional Information Content' aria-describedby='inputGroupPrepend' required>$value</textarea>
</div>";
} ?>
<?php echo "
</div>
<div id='content' class='form-row'></div>
<script>
function add_fields() {
var d = document.getElementById('content');
d.innerHTML += '<div class='col-md-6 mb-3'><label for='validationCustom05'>Additional Information Title</label><input type='text' class='form-control' id='validationCustomUsername' name='additional_title[]' value='$additional_data' placeholder='Additional Information Title' aria-describedby='inputGroupPrepend' required></div><div class='col-md-6 mb-3'><label for='validationCustom05'>Additional Information Content</label><textarea type='text' class='form-control' id='validationCustomUsername' name='additional_content[]' placeholder='Additional Information Content' aria-describedby='inputGroupPrepend' required></textarea></div>';
}
</script>
<div class='position-relative form-group'><label for='exampleAddress' class=''>Student Picture</label><input name='profile_picture' id='exampleAddress' type='file' class='form-control'></div>
<input class='btn btn-success col-md-12' name='update' type='submit' value='Submit Resume Details'></button>
</form><br>
<button class='btn btn-light col-md-12' onclick='add_fields()'>Add More</button>";
}
?>
<?php
} else {
?>
<?php
$submit = @$_POST['submit'];
$first_name = strip_tags(@$_POST['first_name']);
$last_name = strip_tags(@$_POST['last_name']);
$email = strip_tags(@$_POST['email']);
$about = strip_tags(@$_POST['about']);
$education_title = strip_tags(@$_POST['education_title']);
$education_year = strip_tags(@$_POST['education_year']);
$education_from = strip_tags(@$_POST['education_from']);
$education_title2 = strip_tags(@$_POST['education_title2']);
$education_year2 = strip_tags(@$_POST['education_year2']);
$education_from2 = strip_tags(@$_POST['education_from2']);
$mobile = strip_tags(@$_POST['mobile']);
$address = strip_tags(@$_POST['address']);
$work_experience = strip_tags(@$_POST['work_experience']);
$award = strip_tags(@$_POST['award']);
$award_date = strip_tags(@$_POST['award_date']);
$award_for = strip_tags(@$_POST['award_for']);
$award2 = strip_tags(@$_POST['award2']);
$award_date2 = strip_tags(@$_POST['award_date2']);
$award_for2 = strip_tags(@$_POST['award_for2']);
$userid = $user_id;
$profile_picture = strip_tags(@$_POST['profile_picture']);
$additional_title = (@$_POST['additional_title']);
$array = array();
if ($additional_title) {
foreach ($additional_title as $key => $value) {
$additional_title = ($_POST['additional_title'][$key]);
$additional_content = ($_POST['additional_content'][$key]);
foreach (range(0, 0) as $i) {
$array[$additional_title] = $additional_content;
}
}
}
$additional_data = json_encode($array);
$created_at = date("Y/m/d");
if ($submit) {
if ($first_name) {
// UPLOADING PROFILE PIC
$length = 10;
$random = substr(str_shuffle(str_repeat($x = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length / strlen($x)))), 1, $length);
$folder = mkdir("addons/data/$random");
$target_dir = "addons/data/$random/";
$target_file = $target_dir . basename($_FILES["profile_picture"]["name"]);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file, PATHINFO_EXTENSION));
if (move_uploaded_file($_FILES["profile_picture"]["tmp_name"], $target_file)) {
$profile_picture = htmlspecialchars(basename($_FILES["profile_picture"]["name"]));
} else {
echo "Sorry, there was an error uploading your file.";
}
$insert_student = "INSERT INTO `resume_data`(`resume_id`, `first_name`,`last_name`, `email`, `about`, `education_title`, `education_year`, `education_from`,
`education_title2`, `education_year2`, `education_from2`, `mobile`, `address`, `work_experience`, `award`, `award_date`, `award_for`,
`award2`, `award_date2`, `award_for2`, `user_id`,`additional_title`, `profile_picture`, `created_at`) VALUES
(NULL,'$first_name','$last_name', '$email','$about','$education_title','$education_year','$education_from','$education_title2','$education_year2',
'$education_from2','$mobile','$address','$work_experience','$award','$award_date','$award_for','$award2',
'$award_date2','$award_for2','$userid','$additional_data', '$target_file','$created_at')";
$query_insertation_result = mysqli_query($conn, $insert_student);
if ($query_insertation_result) {
echo "<script>
$(document).ready(function() {
swal('', 'Inserted Successfully!', 'success');
});</script>";
echo "<meta http-equiv=\"refresh\" content=\"2; url=resume_form.php\">";
} else {
echo "<script>
$(document).ready(function() {
swal('', 'Error Inserting Record!', 'warning');
});</script>";
echo "<meta http-equiv=\"refresh\" content=\"3; url=resume_form.php\">";
}
} else {
echo "<script>
$(document).ready(function() {
swal('', 'Empty Record can not be Inserted!', 'info');
});</script>";
echo "<meta http-equiv=\"refresh\" content=\"3; url=resume_form.php\">";
}
}
?>
<h5 class="card-title">Resume Form</h5>
<form method="post" action="resume_form.php" enctype="multipart/form-data" class="needs-validation" novalidate>
<div class="form-row">
<div class="col-md-4 mb-3">
<label for="validationCustom01">First Name</label>
<input type="text" class="form-control" id="validationCustom01" name="first_name" placeholder="First name" required />
<div class="valid-feedback"> Looks good! </div>
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom01">Last Name</label>
<input type="text" class="form-control" id="validationCustom01" name="last_name" placeholder="Last name" required />
<div class="valid-feedback"> Looks good! </div>
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom02">E-mail</label>
<input type="email" class="form-control" id="validationCustom02" name="email" placeholder="Your E-mail" required />
<div class="valid-feedback"> Looks good! </div>
</div>
<div class="col-md-4 mb-3">
<label for="validationCustomUsername">About Yourself</label>
<div class="input-group">
<textarea type="text" class="form-control" id="validationCustomUsername" name="about" placeholder="About Yourself" aria-describedby="inputGroupPrepend" required></textarea>
<div class="invalid-feedback">
Please choose a username.
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-4 mb-3">
<label for="validationCustom03">Education Heading</label>
<input type="text" class="form-control" id="validationCustom03" name="education_title" placeholder="Education Heading" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom04">Passing Year</label>
<input type="month" class="form-control" id="validationCustom04" name="education_year" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom05">Education Institute Name</label>
<input type="text" class="form-control" id="validationCustom05" name="education_from" placeholder="Education Institute Name" required />
</div>
</div>
<div class="form-row">
<div class="col-md-4 mb-3">
<label for="validationCustom03">Education Heading</label>
<input type="text" class="form-control" id="validationCustom03" name="education_title2" placeholder="Education Heading" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom04">Passing Year</label>
<input type="month" class="form-control" id="validationCustom04" name="education_year2" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom05">Education Institute Name</label>
<input type="text" class="form-control" id="validationCustom05" name="education_from2" placeholder="Education Institute Name" required />
</div>
</div>
<div class="form-row">
<div class="col-md-4 mb-3">
<label for="validationCustom01">Mobile Number</label>
<input type="number" class="form-control" id="validationCustom01" name="mobile" placeholder="Mobile Number" required />
<div class="valid-feedback"> Looks good! </div>
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom02">Work Experience</label>
<textarea type="text" class="form-control" id="validationCustom02" name="work_experience" placeholder="Work Experience" required></textarea>
<div class="valid-feedback"> Looks good! </div>
</div>
<div class="col-md-4 mb-3">
<label for="validationCustomUsername">Your Address</label>
<div class="input-group">
<textarea type="text" class="form-control" id="validationCustomUsername" name="address" placeholder="Your Address" aria-describedby="inputGroupPrepend" required></textarea>
<div class="invalid-feedback">
Please choose a username.
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-4 mb-3">
<label for="validationCustom03">Award Heading</label>
<input type="text" class="form-control" id="validationCustom03" name="award" placeholder="Award Heading" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom04">Award Received Year</label>
<input type="month" class="form-control" id="validationCustom04" name="award_date" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom05">Award For</label>
<input type="text" class="form-control" id="validationCustom04" name="award_for" placeholder="Award For" required />
</div>
</div>
<div class="form-row">
<div class="col-md-4 mb-3">
<label for="validationCustom03">Award Heading</label>
<input type="text" class="form-control" id="validationCustom03" name="award2" placeholder="Award Heading" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom04">Award Received Year</label>
<input type="month" class="form-control" id="validationCustom04" name="award_date2" required />
</div>
<div class="col-md-4 mb-3">
<label for="validationCustom05">Award For</label>
<input type="text" class="form-control" id="validationCustom04" name="award_for2" placeholder="Award For" required />
</div>
</div>
<div id="content" class="form-row"></div>
<script>
function add_fields() {
var d = document.getElementById("content");
d.innerHTML += "<div class='col-md-6 mb-3'><label for='validationCustom05'>Additional Information Title</label><input type='text' class='form-control' id='validationCustomUsername' name='additional_title[]' placeholder='Additional Information Title' aria-describedby='inputGroupPrepend' required></div><div class='col-md-6 mb-3'><label for='validationCustom05'>Additional Information Content</label><textarea type='text' class='form-control' id='validationCustomUsername' name='additional_content[]' placeholder='Additional Information Content' aria-describedby='inputGroupPrepend' required></textarea></div>";
}
</script>
<div class="position-relative form-group"><label for="exampleAddress" class="">Student Picture</label><input name="profile_picture" id="exampleAddress" type="file" class="form-control"></div>
<input class="btn btn-success col-md-12" name="submit" type="submit" value="Submit Resume Details"></button>
</form><br>
<button class="btn btn-light col-md-12" onclick="add_fields()">Add More</button>
<?php } ?>
</div>
</div>
</div>
<div class="tab-pane tabs-animation fade" id="tab-content-1" role="tabpanel">
<div class="row">
<div class="col-12">
<div class="main-card card">
<div class="row">
<div class="col-3">
<a href="./extras/resume_style1.php?user_id=<?php echo $user_id; ?>">
<div class="card-body">
<h5 class="card-title">Resume Style 1</h5>
<div class="card-shadow-primary border mb-3 card card-body border-primary">
<img src="./assets/images/resume_1.png" class="img-thumbnail" width="300" alt="">
</div>
</div>
</a>
</div>
<div class="col-3">
<a href="./extras/resume_style2.php?user_id=<?php echo $user_id; ?>">
<div class="card-body">
<h5 class="card-title">Resume Style 2</h5>
<div class="card-shadow-primary border mb-3 card card-body border-primary">
<img src="./assets/images/resume_2.png" class="img-thumbnail" width="300" alt="">
</div>
</div>
</a>
</div>
<div class="col-3">
<a href="./extras/resume_style3.php?user_id=<?php echo $user_id; ?>">
<div class="card-body">
<h5 class="card-title">Resume Style 2</h5>
<div class="card-shadow-primary border mb-3 card card-body border-primary">
<img src="./assets/images/resume_3.png" class="img-thumbnail" width="300" alt="">
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include('./components/footer.php'); ?>
<?php include('./components/scripts.php'); ?>