-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome1.php
More file actions
200 lines (164 loc) · 6.56 KB
/
home1.php
File metadata and controls
200 lines (164 loc) · 6.56 KB
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
<div class="outter-wp">
<!--/tabs-->
<div class="tab-main">
<!--/tabs-inner-->
<div class="tab-inner">
<div id="tabs" class="tabs">
<h2 class="inner-tittle">Welcome, <?php echo $info_display['t_fullname']; ?> </h2>
<div class="graph">
<nav>
<ul>
<li><a href="#section-1" class="icon-shop"><i class="lnr lnr-briefcase"></i> <span>Information</span></a></li>
<li><a href="#section-2" class="icon-cup"><i class="lnr lnr-lighter"></i> <span>Results</span></a></li>
<li><a href="#section-3" class="icon-food"><i class="fa fa-cutlery"></i> <span>Teachers</span></a></li>
<li><a href="#section-4" class="icon-lab"><i class="fa fa-flask"></i> <span>Subject</span></a></li>
<li><a href="#section-5" class="icon-truck"><i class="fa fa-truck"></i> <span>Order</span></a></li>
</ul>
</nav>
<div class="content tab">
<section id="section-1">
<div class="mediabox">
<strong>Personal Information</strong>
<p> <strong>Welcome,</strong>
<?php echo $info_display['t_fullname']; ?>
</p>
<p> <strong>Qualification:</strong>
<?php echo $info_display['t_qualification']; ?>
</p>
<p> <strong>Username:</strong>
<?php echo $info_display['t_username']; ?>
</p>
<p> <strong>Gender:</strong>
<?php echo $info_display['t_gender']; ?>
</p>
<p> <strong>DOB:</strong>
<?php echo $info_display['t_dob']; ?>
</p>
</div>
<div class="mediabox">
<strong>Contact Details</strong>
<p> <strong>Phone:</strong>
<?php echo $info_display['t_contact']; ?>
</p>
<p> <strong>Email:</strong>
<?php echo $info_display['t_email']; ?>
</p>
<p> <strong>Address:</strong>
<?php echo $info_display['t_address']; ?>
</p>
</div>
<div class="mediabox">
<strong>Parents Detail</strong>
<p> <strong>Father:</strong>
<?php echo $info_display['t_father']; ?>
</p>
<p> <strong>Mother:</strong>
<?php echo $info_display['t_mother']; ?>
</p>
</div>
</section>
<section id="section-2">
<div class="mediabox">
</div>
<div class="mediabox">
</div>
<div class="mediabox">
</div>
</section>
<section id="section-4">
<div class="graph">
<div class="tables">
<table class="table table-bordered ">
<tbody>
<thead>
<tr>
<th>#</th>
<th>F.Name</th>
<th>Address</th>
<th>Email</th>
<th>U.Name</th>
<th>Pass</th>
<th>Father</th>
<th>Mother</th>
<th>DOB</th>
<th>Qualification</th>
<th>Contact</th>
<th>Gender</th>
</tr>
</thead>
<?php $teacher_dis_admin = $ravi->teacher_info_display_admin();
$t_sn = 1;
while($teacher_info_admin =$teacher_dis_admin->fetch_assoc()) {
?>
<tr>
<th scope="row"><?php echo $t_sn; ?></th>
<td><?php echo $teacher_info_admin['t_fullname']; ?></td>
<td><?php echo $teacher_info_admin['t_address']; ?></td>
<td><?php echo $teacher_info_admin['t_email']; ?></td>
<td><?php echo $teacher_info_admin['t_username']; ?></td>
<td><?php echo $teacher_info_admin['t_pass']; ?></td>
<td><?php echo $teacher_info_admin['t_father']; ?></td>
<td><?php echo $teacher_info_admin['t_mother']; ?></td>
<td><?php echo $teacher_info_admin['t_dob']; ?></td>
<td><?php echo $teacher_info_admin['t_qualification']; ?></td>
<td><?php echo $teacher_info_admin['t_contact']; ?></td>
<td><?php echo $teacher_info_admin['t_gender']; ?></td>
</tr>
<?php $t_sn++; } ?>
</tbody>
</table>
</div>
</div>
</section>
<section id="section-4">
<div class="graph">
<div class="tables">
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>Subject</th>
<th>Teacher</th>
</tr>
</thead>
<tbody>
<?php
$subject_info_admins = $ravi->subject_info();
$sub_sn = 1;
while($display_subject_admin = $subject_info_admins->fetch_assoc())
{
?> <tr>
<th scope="row"><?php echo $sub_sn; ?></th>
<td><?php echo ucfirst($display_subject_admin['subject_name']); ?></td>
<td><?php echo $display_subject_admin['t_fullname']; ?></td>
</tr>
<?php
$sub_sn++; }
?>
</tbody>
</table>
</div>
</div>
</section>
<section id="section-5">
<div class="mediabox">
</div>
<div class="mediabox">
</div>
<div class="mediabox">
</div>
</section>
</div>
<!-- /content -->
</div>
<!-- /tabs -->
</div>
<script src="js/cbpFWTabs.js"></script>
<script>
new CBPFWTabs(document.getElementById('tabs'));
</script>
<div class="clearfix"> </div>
</div>
</div>
<!--//outer-wp-->
</div>