-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile_jobseeker.php
71 lines (64 loc) · 2.79 KB
/
profile_jobseeker.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
<?php
session_start();
if(!$_SESSION['email'])
{
header("Location: login_jobseeker.php");//redirect to login page to secure the welcome page without login access.
}
include("db_connection.php");
$sql = "select jid,name,dob,phone_no,email,street,city,state,country from job_seeker WHERE email = ?";
$stmt = $conn->prepare($sql);
$stmt->bind_param("s", $_SESSION['email']);
$stmt->execute();
$result = $stmt->get_result();
$row = $result->fetch_assoc();
$_SESSION["jid"] = $row['jid'];
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="stylesheet" href="css/profile.css">
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js"></script>
<title>Profile</title>
</head>
<body>
<div class="page">
<header tabindex="0">WELCOME <?php echo $row['name'];?></header>
<div id="nav-container">
<div class="bg"></div>
<div class="button" tabindex="0"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </div>
<div id="nav-content" tabindex="0">
<ul>
<li><a href="manage_jobseeker_qualification.php">Manage Qualification</a></li>
<li><a href="manage_jobseeker_exp.php">Manage Work Experience</a></li>
<li><a href="job_search.php" style="color:green;">View Job Post</a></li>
<li><a href="my_application.php">My Application(s)</a></li>
<li><a href="logout.php" style="color:red;">LOGOUT</a></li>
</ul>
</div>
<div class="cardDivision col-7">
<div class="card col-6">
<br> <img class="card-img-top" src="https://picsum.photos/200/150/?random">
<br>
<div class="card-block">
<div class="card-text">
<p>Date of Birth : <?php echo $row['dob'];?></p>
<p>Email : <?php echo $row['email'];?></p>
<p>Street : <?php echo $row['street'];?></p>
<p>City : <?php echo $row['city'];?></p>
<p>State : <?php echo $row['state'];?></p>
<p>Country : <?php echo $row['country'];?></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>