-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplace_visit_company.php
101 lines (82 loc) · 2.36 KB
/
place_visit_company.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
<?php
session_start();
if(!isset($_SESSION['user']))
{
header("Location: vit.php");
}
if($_SESSION['user']=='admin')
{
header("Location: index_admin.php");
}
if($_SESSION['user']=='student_int' )
{
header("Location: index_student_intern.php");
}
if($_SESSION['user']=='company')
{
header("Location: index_company.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Notification Panel</title>
<link rel="stylesheet" type="text/css" href="1.css">
<link rel="shortcut icon" type="image/png" href="vit.png">
<link rel="stylesheet" type="text/css" href="stl.css">
<link rel="stylesheet" type="text/css" href="style4.css">
</head>
<body >
<div class="list-unstyled3" >
<ul>
<li><a href="vit.phps"><img src="vit.png" alt="VIT Pune" class="logo2" height="40" align="left"/></a></li>
<li style="float:right"><a href="logout.php" title="<?php echo $_SESSION['student_name']; ?> ">Log Out</a></li>
<div class="para">
<p> Training & Placement,VIT Pune</p>
</div>
</ul>
</div>
<div class="header">
<h2>Companies-Placement</h2>
</div>
<center>
<br>
<div class="container-fluid" style="width:95%;">
<div id="table">
<table>
<tr>
<th>Company Name</th>
<th>Visiting Date</th>
<th>Branch</th>
<th>Min CGPA</th>
<th>Max Backlogs</th>
<th>Max Salary</th>
<th>Job Profile</th>
<th>Place Of Posting</th>
</tr>
<?php
$db = mysqli_connect('localhost', 'root', '', 'placement');
$user_check_query = "SELECT * FROM companybranch inner join company on companybranch.COMPANY_NAME=company.COMPANY_NAME where company.APPROVAL='approved' and companybranch.C_TYPE='Placement' AND company.STATUS='visiting'";
$result = mysqli_query($db, $user_check_query);
while(($count=mysqli_fetch_array($result)) )
{
?>
<tr>
<td><?php echo $count['COMPANY_NAME']; ?></td>
<td><?php echo $count['COMING_DATE']; ?></td>
<td><?php echo $count['BRANCH']; ?></td>
<td><?php echo $count['MIN_CGPA']; ?></td>
<td><?php echo $count['MAX_BACKLOGS']; ?></td>
<td><?php echo $count['MAX_SALARY']; ?></td>
<td><?php echo $count['JOB_PROFILE']; ?></td>
<td><?php echo $count['PLACE_OF_POSTING']; ?></td>
</tr>
<?php
}
?>
</table>
</div>
</div>
</center>
</body>
</html>