-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
73 lines (72 loc) · 1.79 KB
/
index.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
<?php
require_once("include/initialize.php");
$content='home.php';
$view = (isset($_GET['q']) && $_GET['q'] != '') ? $_GET['q'] : '';
switch ($view) {
case 'apply' :
$title="Submit Application";
$content='applicationform.php';
break;
case 'login' :
$title="Login";
$content='login.php';
break;
case 'company' :
$title="Department / Unit";
$content='company.php';
break;
case 'hiring' :
$title = isset($_GET['search']) ? 'Hiring in '.$_GET['search'] :"Hiring";
$content='hirring.php';
break;
case 'category' :
$title='Search for '. $_GET['search'];
$content='category.php';
break;
case 'viewjob' :
$title="Job Details";
$content='viewjob.php';
break;
case 'success' :
$title="Success";
$content='success.php';
break;
case 'register' :
$title="Register New Member";
$content='register.php';
break;
case 'Contact' :
$title='Contact Us';
$content='Contact.php';
break;
case 'About' :
$title='About Us';
$content='About.php';
break;
case 'advancesearch' :
$title='Advance Search';
$content='advancesearch.php';
break;
case 'result' :
$title='Advance Search';
$content='advancesearchresult.php';
break;
case 'search-company' :
$title='Search by Department';
$content='searchbycompany.php';
break;
case 'search-function' :
$title='Search by Function';
$content='searchbyfunction.php';
break;
case 'search-jobtitle' :
$title='Search by Job Title';
$content='searchbytitle.php';
break;
default :
$active_home='active';
$title="Home";
$content ='home.php';
}
require_once("theme/templates.php");
?>