-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathupdate_placement.php
57 lines (55 loc) · 1.83 KB
/
update_placement.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
<?php
session_start();
// Check if the user is logged in, otherwise redirect to login page
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
header("location: student_login.php");
exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>student profile</title>
<link type="text/css" rel="stylesheet" href="stylesheet.css">
</head>
<body>
<div id='student'>
<p style="text-align:right;">
<a href="student_logout.php" class="button" align='right'><img src="signout.jpg" alt="signout" width="20" height="20"></a>
</p>
<form action="upload.php" method='post' enctype="multipart/form-data">
<h2 align="center"> PLACEMENT UPDATION</h2>
<table align='center'>
<tr>
<td></td>
<td align='right'>OfferLetterID:</td>
<td><input type="number" name='id' placeholder="252x..xx" required></td>
</tr>
<tr>
<td></td>
<td align='right'>Company Name:</td>
<td><input type="text" name='title' placeholder="Infosys" required></td>
</tr>
<tr>
<td></td>
<td align='right'>Package(In LPA):</td>
<td><input type="number" name='pac' step="0.01" min=0 max=99 placeholder="10" required></td>
</tr>
<tr>
<td></td>
<td align='right'>OfferLetter:</td>
<td><input type="file" name='file' placeholder="offerletter.pdf" required></td>
</tr>
<tr><td><br><br></td></tr>
<tr>
<td></td>
<td align='right'><input type="submit" id="submit" value="submit" name="submit" style="display:none;">
<label for="submit"><img src="upload1.jpg" alt="submit" width="80" height="40"></label></td>
<td><input type="reset" id="reset" style="display:none;">
<label for="reset"><img src="reset1.jpg" alt="reset" width="80" height="30"></label></td>
</tr>
</table>
</form>
</div>
</body>
</html>