-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstudent_profile.php
82 lines (76 loc) · 1.99 KB
/
student_profile.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
<?php include_once 'init.php' ?>
<style>
* {box-sizing: border-box}
body {font-family: "Lato", sans-serif;}
/* Style the tab */
.tab {
float: left;
border: 1px solid #ccc;
background-color: #f1f1f1;
width: 30%;
height:800px;
}
/* Style the buttons inside the tab */
.tab button {
display: block;
background-color: inherit;
color: black;
padding: 22px 16px;
width: 100%;
border: none;
outline: none;
text-align: left;
cursor: pointer;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current "tab button" class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
float: left;
padding: 0px 12px;
border: 1px solid #ccc;
width: 70%;
border-left: none;
height: 100%;
}
</style>
<div class="login">
<?php
$PD=" SELECT * FROM `stud_personal_info` where `stud_id`='$session_user_id'" ;
if ($PD_query_run=mysqli_query($con,$PD) )
{ while ($query_execute=mysqli_fetch_assoc($PD_query_run))
{
if($query_execute['stud_status']==='0')
{
echo '<h3>Status = Pending</h3>';
}
else if($query_execute['stud_status']==='1')
{
echo '<h3>Status = Stage One Verification Done!</h3>';
}
else if($query_execute['stud_status']==='2')
{
echo '<h3>Status = Stage Two Verification Done!</h3>';
}
else
{
echo '<h3>Status = Allocated!</h3>';
}
}
}
?>
<a href="personal_d.php" class="btn btn-info" role="button">PD</a>
<a href="academic_d.php" class="btn btn-info" role="button">AD</a>
<a href="upload_d.php" class="btn btn-info" role="button">UD</a>
</div>
<?php
include_once 'footer.php';
?>