-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
241 lines (238 loc) · 7.8 KB
/
footer.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
<!-- footer -->
<section class="footer">
<div class="container footer-main">
<div class="row">
<div class="col footer_content">
<p style="border-bottom: 1px solid white;"></p>
</div>
</div>
<div class="row">
<div class="col-sm footer_list">
<ul>
<li>Freelance<span class="logo">NG</span></li>
<li><a href="#">Categories</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Freelancers</a></li>
<li><a href="indexjobs.php">Local Jobs</a></li>
</ul>
</div>
<div class="col-sm footer_list">
<ul>
<li>About</li>
<li><a href="#how_it_works">How it works</a></li>
<li><a href="#">Security</a></li>
<li><a href="#">Terms of service</a></li>
<li><a href="#">Privacy policy</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Fees and charges</a></li>
</ul>
</div>
<div class="col-sm footer_list">
<ul>
<li>Browse</li>
<li><a href="#">Freelancer by skill</a></li>
<li><a href="#">Jobs in Nigeria</a></li>
<li><a href="#">Find jobs</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-md">
<p style="border-bottom: 1px solid white;"></p>
<span style="color: white; margin-right: 30px;">Follow us</span>
<i class="fab fa-facebook" style="font-size: 1.5em;"></i>
<i class="fab fa-twitter mx-3" style="font-size: 1.5em;"></i>
<i class="fab fa-instagram" style="font-size: 1.5em;"></i>
<i class="fab fa-linkedin-in mx-3" style="font-size: 1.5em;"></i>
<p style="border-top: 1px solid white;"></p>
</div>
</div>
</div>
<div class="footer-mob">
<div><a href="">About Us</a></div>
<div><a href="">How It Works</a></div>
<div><a href="">Terms of Service</a></div>
<div><a href="">Local Jobs</a></div>
</div>
<div class="row">
<div class="col d-flex justify-content-center">
<p style="font-size: 14px;">© <?php echo date('Y'); ?> FreelanceNG All rights reserved</p>
</div>
</div>
</section>
<!-- jquery -->
<script type="text/javascript"src="bootstrap/js/jquery-3.4.0.js"></script>
<!-- popper -->
<script type="text/javascript"src="bootstrap/js/popper.min.js"></script>
<!-- Bootstrap JS>-->
<script type="text/javascript"src="bootstrap/js/bootstrap.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#change').click(function(){
if($(this).html() == 'View employer details'){
$('#employerinfo').show();
$('.freelancer').hide();
$(this).html('View freelancer details');
}else{
$('.freelancer').show();
$('#employerinfo').hide();
$(this).html('View employer details');
}
});
$('#freelance').click(function(){
$('.msg').html('You should edit and update your profile for full benefits of the freelancer account');
});
//to enable the page get the information from displayjob.php and display it inside myjob id
$.ajax({
type: "GET",
url: "displayjob.php",
data: "",
success: function(response){
$('#myjob').html(response);
}
});
//to display jobs without being able to apply(index)
$.ajax({
type: "GET",
url: "dispindexjob.php",
data: "",
success: function(response){
$('#indexjob').html(response);
}
});//display jobs when we choose/change budget(outside the app/without signing in)
$('#budget').change(function(){
var budget = $(this).val();
//send the parameters to dispindexjob.php using $.ajax method
$.ajax({
type: "POST",
url: "dispindexjob.php",
data: "budget=" + budget,
success: function(response){
$('#indexjob').html(response);
}
});
});
//display jobs with respect to delivery time outside the app/without signing in
$('#projectdelivery').change(function(){
var deliverytime = $(this).val();
//send the parameters to dispindexjob.php using $.ajax method
$.ajax({
type: "POST",
url: "dispindexjob.php",
data: "deliverytime=" + deliverytime,
success: function(response){
$('#indexjob').html(response);
}
});
});
//to asynchronously display jobs as user types on index page without signin in
$('#findjobsindx').keyup(function(){
//declare variable(s) to be sent from this page
//alert('keyup working');
var keyword = $(this).val();
// send the variable/paramenter to another page(search3.php) for async using jquery load
$('#indexjob').load('search3.php',{keyword: keyword});
});
//display jobs when we choose/change budget
$('#budget').change(function(){
var budget = $(this).val();
//send the parameters to displaydevpro.php using $.ajax method
$.ajax({
type: "POST",
url: "displayjob.php",
data: "budget=" + budget,
success: function(response){
$('#myjob').html(response);
}
});
});
//display jobs with respect to delivery time chosen by user
$('#projectdelivery').change(function(){
var deliverytime = $(this).val();
//send the parameters to displayjob.php using $.ajax method
$.ajax({
type: "POST",
url: "displayjob.php",
data: "deliverytime=" + deliverytime,
success: function(response){
$('#myjob').html(response);
}
});
});
//display jobs when we choose/change budget inside myjobs
$('#budget').change(function(){
var budget = $(this).val();
//send the parameters to displaymyjob.php using $.ajax method
$.ajax({
type: "POST",
url: "displaymyjob.php",
data: "budget=" + budget,
success: function(response){
$('#mypostedjobs').html(response);
}
});
});
//display jobs with respect to delivery time chosen by specific user to filter through their posted jobs
$('#projectdelivery').change(function(){
var deliverytime = $(this).val();
//send the parameters to displaymyjob.php using $.ajax method
$.ajax({
type: "POST",
url: "displaymyjob.php",
data: "deliverytime=" + deliverytime,
success: function(response){
$('#mypostedjobs').html(response);
}
});
});
//to asynchronously display jobs as user types
$('#findjobs').keyup(function(){
//declare variable(s) to be sent from this page
//alert('keyup working');
var keyword = $(this).val();
// send the variable/paramenter to another page(search.php) for async using jquery load
$('#myjob').load('search.php',{keyword: keyword});
});
//to asynchronously display jobs when a user searches for their posted jobs
$('#findmyjobs').keyup(function(){
//declare variable to be sent to the page that will work async
var keyword = $(this).val();
$('#mypostedjobs').load('search2.php', {keyword: keyword});
});
//to enable the page get the information from displaymyjob.php and display it inside myjob id
$.ajax({
type: "GET",
url: "displaymyjob.php",
data: "",
success: function(response){
$('#mypostedjobs').html(response);
}
});
//to enable the page get the information from gettotaljobs.php and display it inside myjob id
$.ajax({
type: "GET",
url: "gettotaljobs.php",
data: "",
success: function(response){
$('#totaljobs').html(response);
}
});
//script to make intro hide when profile has been updated/edited
$('#editprof').click(function(){
$('.intro').hide();
});
$(".categories_link").click(function(){
var keyword = $(this).html();
$.ajax({
type: "POST",
url: "indexjobs.php",
data: "keyword=" + keyword,
success: function(response){
$('#indexjob').html(response);
}
});
});
});
</script>
</body>
</html>