-
Notifications
You must be signed in to change notification settings - Fork 3
/
jaf.php
221 lines (209 loc) · 8.76 KB
/
jaf.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
<?php
require 'db_con/connect.php';
?>
<!DOCTYPE html>
<html>
<head>
<title>Job Announcement Form</title>
<link rel="stylesheet" type="text/css" href="style/jaf.css">
</head>
<body class="bg">
<div id="main-box">
<header>
<h3 style="text-align:center;">SCHOOL OF ENGINEERING AND TECHNOLOGY<br>
HEMVATI NANDAN BAHUGUNA GARHWAL UNIVERSITY<br>
CAMPUS PLACEMENTS 2019-2020<br>
JOB ANNOUNCEMENT FORM</h3><hr>
</header>
<?php
if(isset($_POST['name']) && isset($_POST['uemail'])){
$cname = $_POST['name'];
$website = $_POST['website'];
if($_POST['ctype']=='other'){$ctype= $_POST['last'];}else{$ctype = $_POST['ctype'];}
$writeup = $_POST['writeup'];
$uname = $_POST['uname'];
$designation = $_POST['designation'];
$uemail = $_POST['uemail'];
$address = $_POST['address'];
$mobile = $_POST['mobile'];
$contact = $_POST['contact'];
$q = "INSERT INTO company (company_name, full_name, designation, contact, contact2, cemail, website, company_type, postal_address, writeup)VALUES ('$cname', '$uname', '$designation', '$mobile', '$contact', '$uemail', '$website', '$ctype', '$address', '$writeup')";
if($q_run=mysqli_query($conn,$q)){
$job = $_POST['job_design'];
$job_type = $_POST['jtype'];
if($_POST['jtype']=='other1'){$job_type= $_POST['last1'];}else{$job_type = $_POST['jtype'];}
$job_des = $_POST['job_descrip'];
$posting = $_POST['posting'];
$joining = $_POST['joinning'];
$cost_to_company = $_POST['costcompany'];
$gross = $_POST['gross'];
$bonus = $_POST['bonus'];
$bond = $_POST['bond'];
$selection = $_POST['resume'].' & '.$_POST['written'].' & '.$_POST['Gd'].' & '.$_POST['Pi'].' & '.$_POST['Mt'];
$mini_offer = $_POST['offers'];
$eli_course = $_POST['eli_depart'];
$long_require = 'Members '.$_POST['noM'].' Rooms '.$_POST['noR'].' Other '.$_POST['require'];
$q1 = "INSERT INTO job_log (email, job_designation, job_type, Job_description, posting, joining, cost_to_company, gross,bonus, bond, selection, mini_offer, eli_course, log_require)
VALUES ('$uemail', '$job', '$job_type', '$job_des', '$posting', '$joining', '$cost_to_company', '$gross', '$bonus', '$bond', '$selection', '$mini_offer', '$eli_course', '$long_require')";
if($q1_run=mysqli_query($conn,$q1)){
$result = uniqid();
$q3 = "UPDATE company SET password='$result' WHERE cemail='$uemail'";
if($q3_run=mysqli_query($conn,$q3)){
echo '<a href="index.php"><h3>Login Company<h3></a><h2 style="color:darkgreen; margin:0px; border:0px;">Successfully Posted a Job Announcement! <br> After details verification, Login credentials will be mailed. Thank You!</h2>';
}else{
echo 'Password not Generated!';
}
}else{
echo 'Job Details Not Complete!';
echo mysqli_error($conn);
}
}else{
echo mysqli_error($conn);
}
}
?>
<div>
<form method="POST">
<div class="boxes">
<h4><u>Company Overview</u></h4>
<ul>
<li><label>*Name of the Company</label>
<input type="text" required name="name">
<li><label>*Website/other source of information</label>
<input type="text" name="website">
<li><label>*Company Type</label><br>
1. Government/Public<input type="radio" name="ctype" value="Government/Public Sector">
2. Private Sector<input type="radio" name="ctype" value="Private Sector">
3. MNC (Indian Origin)<input type="radio" name="ctype" value="MNCIO">
4. MNC (Foreign Origin)<input type="radio" name="ctype" value="MNCFO">
5. Start up<input type="radio" name="ctype" value="Startup"><br>
6. Other<input type="radio" name="ctype" value="other">
(Please Specify)<input type="text" name="last">
<li><label>Brief write-up on the Company(50-75 words)</label>
<textarea name="writeup"></textarea>
</ul>
</div>
<hr>
<div class="boxes">
<h4><u>Contact Person</u></h4>
<ul>
<li><label>*Name</label>
<input type="text" required name="uname">
<li><label>*Designation</label>
<input type="text" required name="designation">
<li><label>*Email Address</label>
<input type="email" required name="uemail">
<li><label>*Postal Address</label>
<input type="text" required name="address">
<li><label>*Contact Number (Mobile)</label>
<input type="text" required name="mobile">
<li><label>Contact Number (Other)</label>
<input type="text" required name="contact">
</ul>
</div>
<hr>
<div class="boxes">
<h4><u>Job Profile</u></h4>
<ul>
<li><label>*Job Title</label>
<input type="text" required name="job_design">
<li><label>*Job Type</label><br>
1. Analytics<input type="radio" name="jtype" value="Analytics">
2. Consulting<input type="radio" name="jtype" value="Consulting">
3. Core (Technical)<input type="radio" name="jtype" value="Core (Technical)">
4. Finance<input type="radio" name="jtype" value="Finance">
5. I.T.<input type="radio" name="jtype" value="I.T.">
6. Management<input type="radio" name="jtype" value="Management">
7. Teaching & Research <input type="radio" name="jtype" value="Teaching & Research"><br>
6. Other<input type="radio" name="jtype" value="other1">
(Please Specify)<input type="text" name="last1">
</ul>
</div>
<hr>
<div class="boxes">
<ul>
<li><label><b>*Job Description</b></label>
<input type="text" required name="job_descrip">
<li><label><b>*Place of Posting</b></label>
<input type="text" required name="posting">
<li><label><b>*Joining Date</b></label>
<input type="text" placeholder="YYYY-MM-DD" required name="joinning" pattern="(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))">
</ul>
</div>
<hr>
<div class="boxes">
<h4><u>Salary Details</u></h4>
<div>
<p><ol>Please Note:
<li>Performance based bonus should not be declared as part of Gross/CTC but to be indicated in Bonus/Perks/Incentive section.
<li>Any amount to be disbursed later than the end of first 12 months should not be a part of Gross/CTC.
<li>Joining Bonus/Signing Bonus to be indicated in Bonus/Perks/Incentive section.
<li>Statutory Annual Payouts (e.g., Medical, LTC etc.) not to be a part of Gross.
</ol></p>
</div>
<ul>
<li><label>*Cost to Company</label>
<input type="text" required name="costcompany">
<li><label>*Gross<i>(Take-home, before tax and other deductions)</i></label>
<input type="text" required name="gross"><br>
<li><label>Bonus/Perks/Incentive <i>(if any)</i></label>
<input type="text" name="bonus">
<li><label>Bond or Service Contract (if yes, please specify)</i></label>
<input type="text" name="bond">
</ul>
</div>
<hr>
<div class="boxes">
<h4><u>Selection Process</u></h4>
<ul>
<li><label>*Shortlist from Resumes - </label>
Yes<input type="radio" name="resume" value="Resume">
No<input type="radio" name="resume" value="N"><br>
<li><label>*Written Test (Technical, Aptitude) - </label>
Yes<input type="radio" name="written" value="Written">
No<input type="radio" name="written" value="N"><br>
<li><label>*Group Discussion - </label>
Yes<input type="radio" name="Gd" value="Gd">
No<input type="radio" name="Gd" value=" "><br>
<li><label>*Personal Interview - </label>
Yes<input type="radio" name="Pi" value="Pi">
No<input type="radio" name="Pi" value="N"><br>
<li><label>*Medical Test - </label>
Yes<input type="radio" name="Mt" value="Medical Test">
No<input type="radio" name="Mt" value="N"><br>
<li><label>*Minimum Number of offers you intend to make - </label>
<input type="text" required name="offers">
<li><label>*Eligible Departments and Programs</label>
<input type="text" required name="eli_depart">
<p>(List of Programs are available at <a href="index.php" target="_blank">Website</a>)</p>
</ul>
</div>
<hr>
<div class="boxes">
<ul>
<h4><u>Logistics Requirements</u></h4>
<li><label>*Number of Members</label>
<input type="text" required name="noM">
<li><label>*Number of Rooms Required for Selection Process</label>
<input type="text" required name="noR">
<li><label>Other Requirements</label>
<input type="text" name="require">
</ul>
</div>
<hr>
<p><b style="color:red;">Fields marked by ‘*’ are mandatory.</b></p>
<p>
Companies are welcome to come for recruiting multiple times if interested. Companies on campus are advised not to engage in any off-campus activity.<br>
For further queries, please contact <u>[email protected]</u> or call at <u>+91 7579407840</u>.<br>
For more details, please visit to: <a href="index.php" target="_blank">Our Website</a>.
</p>
<div class="row">
<input type="submit" value="Submit">
</div>
</form>
</div>
<footer>
</footer>
</div>
</body>
</html>