forked from beisong7/career
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjob_view.php
139 lines (115 loc) · 4.68 KB
/
job_view.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
<?php
$script['file'] = 'public/js/vendor/applyjob.js';
$active = null;
include_once ('config/director.php');
include_once('layout/header.php');
include_once ('core/functionality.php');
include_once ('core/alldata.php');
include_once ('core/path_data.php');
include_once ('config/auth.php');
?>
<br>
<br>
<div >
<div class="panel panel-default">
<div class="panel-heading">
<b><?php
echo $data['title'];
?>
</b>
<?php if($user_data['acc_type'] === '1'){ ?>
<button id="applyjob" class=" btn btn-xs btn-success" style="margin: 0 10%">
<input type="hidden" id="job_id" value="<?php echo $data['id']?>">
<input type="hidden" id="user_id" value="<?php echo $user_data['id']?>">
<input type="hidden" id="com_id" value="<?php echo jobAuthor($data['com_id'], 'id')?>">
<small><b style="margin: 0 10px">Apply</b></small>
</button>
<?php }else{?>
<button class="btn btn-success btn-xs" style="margin: 0 10%" disabled>Log in as Individual to Apply!</button>
<?php } ?>
</div>
<div class="panel-body">
<div class="row" style="padding: 0 15px;">
<h4>Description</h4> <span><?php echo $data['description']?></span>
<br>
<hr style="margin: 5px 0">
</div>
<br>
<div class="row" style="padding: 0 15px;">
<h4>Functional Area</h4> <span><?php echo $data['func_area']?></span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Position</h4> <span><?php echo $data['pos']?></span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Industry</h4> <span><?php echo $data['indus']?></span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Salary</h4> <span><?php echo "N " .number_format($data['salary'], 2)?></span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Job Status</h4> <span><?php if($data['status'] > 0){echo 'Active';}else{echo 'Closed';}?></span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Minimum Requirement</h4>
<span>
<?php
switch ($data['min_req']){
case 0:
echo "None.";
break;
case 1:
echo "Primary School Leaving Certificate";
break;
case 2:
echo "First School Leaving Certificate";
break;
case 3:
echo "OND";
break;
case 4:
echo "HND or BSC";
break;
case 5:
echo "PHD";
break;
case 6:
echo "MSC";
break;
case 7:
echo "Prof.";
break;
default:
echo "Not Available";
}
?>
</span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Experience Required</h4> <span><?php echo $data['iexp']?> Year(s)</span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Interview Date</h4> <span><?php echo date('F d, Y', strtotime($data['idate']))?></span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Interview Time</h4> <span><?php echo $data['itime']?></span>
<hr style="margin: 5px 0">
</div>
<div class="row" style="padding: 0 15px;">
<h4>Intrview Venue</h4> <span><?php echo $data['ivenue']?></span>
<hr style="margin: 5px 0">
</div>
</div>
</div>
</div>
<?php
include_once 'layout/footer.php';
?>