-
Notifications
You must be signed in to change notification settings - Fork 0
/
it.php
120 lines (78 loc) · 3.42 KB
/
it.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>IT Jobs</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cloud.tinymce.com/stable/tinymce.min.js"></script>
<script>tinymce.init({ selector:'textarea' });</script>
<style>
.modal-header, .a, .close {
background-color: #5cb85c;
color:white !important;
text-align: center;
font-size: 30px;
}
.modal-body{
color:black;
}
.modal-footer {
background-color: #f9f9f9;
}
<!-- ****css ****-->
</style>
</head>
<body>
<?php include('navbar.php'); ?>
<div class="container">
<?php
$conn= mysqli_connect("localhost","root","","job_site");
if($conn)
{
//echo "Database Connected"."<br><br>";
$sql="SELECT * FROM all_jobs WHERE job_category='IT' ";
$select =mysqli_query($conn,$sql);
if (mysqli_num_rows($select) > 0) {
// output data of each row
while($row = mysqli_fetch_assoc($select))
{
?>
<div class="col-md-10 col-md-offset-1">
<div class="jumbotron" style="margin-top: 20px ">
<h3 style="color: blue "> <?php echo $row["position_name"] ?> </h3> <br>
<h2 style="color: green "> <?php echo $row["company_name"] ?> </h2> <br>
<b>Job Category:</b><br>
<?php echo "     ".$row["job_category"]."<br>"; ?>
<b>Vacancy:</b><br>
<?php echo "     ".$row["vacancy"]."<br>"; ?>
<b>Job Responsibility:</b><br>
<?php echo htmlspecialchars_decode(stripslashes($row["job_responsibility"]))."<br>" ; ?>
<b>Job Nature:</b><br>
<?php echo "     ".$row["job_nature"]."<br>"; ?>
<h5 style=" margin:20px 0px 0px 0px;"><b>Job Requirments:</b></h5><br>
<?php echo htmlspecialchars_decode(stripslashes($row["job_requirments"]))."<br>"; ?>
<h5 style="margin-top: 20px;"><b>Educational Requirements:</b><br></h5>
<?php echo "     ".$row["educational_requirements"]."<br>"; ?>
<h5 style="margin-top: 20px;"> <b>Experience Requirement:</b><br></h5>
<?php echo "     ".$row["experience_requirement"]."<br>"; ?>
<b>Job Location:</b><br>
<?php echo "     ".$row["job_location"]."<br>"; ?>
<b>Salary Range:</b><br>
<?php echo "     ".$row["salary_rang"]."<br>"; ?>
<h5 style="margin-top:20px;"> <b>Last Date of Apply:</b><br></h5>
<?php echo "     ".$row["last_date_of_apply"]."<br>"; ?>
</div>
</div>
<?php
}
}
}
mysqli_close($conn);
?>
</div>
<?php include('footer.php'); ?>
</body>
</html>