-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathemployer.php
96 lines (91 loc) · 5.55 KB
/
employer.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
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Resume classification</title>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-fileupload.css">
<link rel="stylesheet" type="text/css" href="employer.css">
<link rel="stylesheet" type="text/css" href="common.css">
<script type="text/javascript" src="bootstrap/js/bootstrap-fileupload.js"></script>
<script type="text/javascript">
function changecontent(i)
{
var d=document.getElementById('content');
if(i==1)
{
d.innerHTML="<br/><p><b>Are you an employer ?</b></p><p>If you are an employer and if you are looking to hire some skillful persons for your company, you can very well utilise this app. What you are supposed to do is enter all your requirements in the field provided for eg, various technologies to be known by the employee etc. Once you enter the requirements and submit the form, you will be given an unique id. Using this id, after a week or so, you can come and check whether any matching resumes have been found. If any resumes are found, they will be displayed in the order of highest to lowest matching percentage. It will facilitate you to pick up the employees.</p><p><ul><li>If you need to submit your requirements and search for employees, click on <b>Enter requirements</b> tab.</li><li>If you have already submitted your requirements and if you want to look at all eligible candidates, click on <b>See eligible candidates</b> tab.</li></ul></p><br/>";
}
else
if(i==2)
{
d.innerHTML="<form class='form-horizontal' method='get' id='entryform' action='enterreq.php'><div class='control-group'><label class='control-label' for='company'>Company name : </label><div class='controls'><input type='text' name='company'/></div></div><div class='control-group'><label class='control-label' for='address'>Address : </label><div class='controls'><textarea name='address'></textarea></div></div><div class='control-group'><label class='control-label' for='name'>Name of person : </label><div class='controls'><input type='text' name='name'/></div></div><div class='control-group'><label class='control-label' for='phone'>Contact number : </label><div class='controls'><input type='text' name='phone'/></div></div><div class='control-group'><label class='control-label' for='mailid'>Email id : </label><div class='controls'><input type='text' name='mailid'/></div></div><div class='control-group'><label class='control-label' for='req'>Requirements : </label><div class='controls'><textarea name='req'></textarea></div></div><div class='control-group'><div class='controls'><button type='submit' class='btn btn-success' name='submit'>Submit</button></div></div></form>";
}
else
{
d.innerHTML="<form class='form-horizontal' method='get' id='entryform' action='showcandidates.php'><div class='control-group'><label class='control-label' for='uid'>Enter your unique id : </label><div class='controls'><input type='text' name='uid'/></div></div><div class='control-group'><div class='controls'><button type='submit' class='btn btn-success' name='submit'>Show eligible candidates</button></div></div></form>";
}
}
function showerror(i)
{
var error=["nameerror","rollnoerror","phoneerror","mailiderror","batcherror"];
var x=document.getElementById(error[i]);
x.className="visible";
}
</script>
</head>
<body>
<?php include("sitelayout.php"); ?>
<div class="span8" id="main-content">
<br/>
<div id='navbar'>
<ul class="nav nav-pills">
<li><a href="index.php">Home</a></li>
<li><a href="desc.php">Description</a></li>
<li class="active"><a href="#">Employer</a></li>
<li><a href="employee.php">Employee</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
</div>
<center><span id="entryhead">Employer</span></center>
<br/>
<center>
<div class="btn-group">
<button class="btn btn-primary" onclick="changecontent(1)">Home</button>
<button class="btn btn-primary"onclick="changecontent(2)">Enter requirements</button>
<button class="btn btn-primary"onclick="changecontent(3)">See eligible candidates</button>
</div>
</center>
<div id='content'>
<br/>
<p>
<b>Are you an employer ?</b>
</p>
<p>
If you are an employer and if you are looking to hire some skillful persons for your company, you can very well utilise this app. What you are supposed to do is enter all your requirements in the field provided for eg, various technologies to be known by the employee etc. Once you enter the requirements and submit the form, you will be given an unique id. Using this id, after a week or so, you can come and check whether any matching resumes have been found. If any resumes are found, they will be displayed in the order of highest to lowest matching percentage. It will facilitate you to pick up the employees.
</p>
<p>
<ul>
<li>If you need to submit your requirements and search for employees, click on <b>Enter requirements</b> tab.</li>
<li>If you have already submitted your requirements and if you want to look at all eligible candidates, click on <b>See eligible candidates</b> tab.</li>
</ul>
</p>
<br/>
</div>
</div>
<?php include('sitelayout2.php'); include('footer.php'); ?>
<?php
if(isset($_SESSION['reqentry']))
{
if($_SESSION['reqentry']==1)
{
echo "<script type='text/javascript'>alert('Thank you. Your requirements have been recorded. Come again to see the list of eligible candidates.Please note your unique id : \"".$_SESSION['uid']."\". ');</script>";
$_SESSION['uid']='';
}
$_SESSION['reqentry']=0;
}
?>
</body>
</html>