-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjobportal.php
69 lines (58 loc) · 1.3 KB
/
jobportal.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
<style>
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
.joblink{
color: #123455;
}
</style>
<div class="col-md-1"></div>
<div class="col-md-10">
<hr>
<h1><center>Job Section</center></h1>
<hr>
<br>
<?php echo($err) ?>
<br><br>
<div class="table-responsive">
<table class="table table-striped table-hover">
<tr>
<th>Sr No</th>
<th> Job Section</th>
<th>Number of active jobs</Th>
</tr>
<?php
$Viewquery="select * from jobcategory order by datetime desc";
$execute=mysqli_query($conn,$Viewquery);
$srno=0;
while($datarows=mysqli_fetch_array($execute)){
$jobcatid=$datarows["jobcatid"];
$datetime=$datarows["datetime"];
$jobcatname=$datarows["jobcatname"];
$jobcatdescription=$datarows["jobcatdescription"];
$srno++;
?>
<tr>
<td><?php echo $srno; ?></td>
<Td><h3 class="joblink">
<?php $pagename=$_GET['name'];
echo "
<a href='$pagename?page=jobpost&post_id=".$jobcatid."'>
$jobcatname
</a></h3> :-$jobcatdescription"; ?></td>
<?php
$View=mysqli_query($conn,"select * from jobpost where jobCat ='$jobcatid'");
$count=mysqli_num_rows($View);
?>
<td><?php echo $count ?></td>
</tr>
<?php }?>
</table>
</div>
</div><!--Ending of main area-->
<div class="col-md-1"></div>