-
Notifications
You must be signed in to change notification settings - Fork 0
/
parent-student-view.php
163 lines (135 loc) · 5.95 KB
/
parent-student-view.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
<?php
include 'connect.php';
session_start();
$student_id = $_SESSION['STUDENT_ID'];
$school_id = $_SESSION['SCHOOL_ID'];
$class_id = $_SESSION['CLASS_ID'];
$sql = "select * from student where student_id='$student_id' and school_id='$school_id'";
$run = mysqli_fetch_array(mysqli_query($con, $sql));
$sql2 = "select class,section from classes where class_id='$class_id'";
$run2 = mysqli_query($con, $sql2);
$run2 = mysqli_fetch_assoc($run2);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
<title>Preskool - Student Details</title>
<!-- Favicon -->
<link rel="shortcut icon" href="assets/img/favicon.png">
<!-- Fontfamily -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,500;0,600;0,700;1,400&display=swap">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css">
<!-- Fontawesome CSS -->
<link rel="stylesheet" href="assets/plugins/fontawesome/css/fontawesome.min.css">
<link rel="stylesheet" href="assets/plugins/fontawesome/css/all.min.css">
<!-- Datatables CSS -->
<link rel="stylesheet" href="assets/plugins/datatables/datatables.min.css">
<!-- Main CSS -->
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<!-- Main Wrapper -->
<div class="main-wrapper">
<?php include 'parent-menu.php'; ?>
<!-- Page Wrapper -->
<div class="page-wrapper">
<div class="content container-fluid">
<div class="page-header">
<div class="row">
<div class="col-sm-12">
<h3 class="page-title">Student Details</h3>
<ul class="breadcrumb">
<li class="breadcrumb-item"><a href="">Student</a></li>
<li class="breadcrumb-item active">Student Details</li>
</ul>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-12">
<div class="about-info">
<h4>About Me</h4>
<div class="media mt-3 d-flex">
<img src="assets/img/user.jpg" class="me-3 flex-shrink-0" alt="...">
<div class="media-body flex-grow-1">
<ul>
<li>
<span class="title-span">Full Name : </span>
<span class="info-span"><?php echo $run['student_name']; ?></span>
</li>
<li>
<span class="title-span">CLASS : </span>
<span class="info-span"><?php echo $run2['class']; ?></span>
</li>
<li>
<span class="title-span">SECTION : </span>
<span class="info-span"><?php echo $run2['section']; ?></span>
</li>
<li>
<span class="title-span">Email : </span>
<span class="info-span"><?php echo $run['email']; ?></span>
</li>
<li>
<span class="title-span">Gender : </span>
<span class="info-span"><?php
if($run['gender']== 'M')
{
echo "MALE";
}
else
{
echo "FEMALE";
}
?></span>
</li>
<li>
<span class="title-span">DOB : </span>
<span class="info-span"><?php echo $run['date_of_birth']; ?></span>
</li>
</ul>
</div>
</div>
<div class="row mt-3">
</div>
<div class="row mt-2">
<div class="col-md-12">
<h5>Permanent Address</h5>
<p><?php echo $run['address']; ?></p>
</div>
</div>
<div class="row mt-2">
<div class="col-md-12">
<h5>Present Address</h5>
<p><?php echo $run['address']; ?></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<!-- <footer>
<p>Copyright © 2020 Dreamguys.</p>
</footer> -->
<!-- /Footer -->
</div>
<!-- /Page Wrapper -->
</div>
<!-- /Main Wrapper -->
<!-- jQuery -->
<script src="assets/js/jquery-3.6.0.min.js"></script>
<!-- Bootstrap Core JS -->
<script src="assets/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Slimscroll JS -->
<script src="assets/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<!-- Custom JS -->
<script src="assets/js/script.js"></script>
</body>
</html>