-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtutor.php
105 lines (103 loc) · 5.42 KB
/
tutor.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
<html>
<head>
</head>
<body>
<section id="team">
<div class="container pb-40">
<div class="section-title">
<div class="row">
<div class="col-md-12 text-center">
<h2 class="text-uppercase title">Our <span class="text-theme-colored2">TUTORS</span></h2>
<div class="double-line-bottom-centered-theme-colored-2 mt-20"></div>
<p class="text-uppercase mb-0">We Have Highly Qualified Teachers</p>
</div>
</div>
</div>
<div class="row">
<div class="team-members">
<?php
include 'connection.php';
$sel=mysqli_query($conn,"select * from tutor order by tid desc limit 4");
while($arr=mysqli_fetch_array($sel))
{
$tid=$arr['tid'];
$tname=$arr['tname'];
$spec=$arr['speciality'];
$desc1=$arr['description'];
$pic=$arr['tpic'];
?>
<div class="col-md-3">
<div class="team-members maxwidth400 mb-30">
<div class="team-thumb">
<img src="account/configure-site/tutorimages/<?php echo $pic ?>" alt="" class="img-fullwidth">
</div>
<div class="team-bottom-part bg-silver-deep p-15 pb-0">
<h4 class="text-uppercase font-raleway text-theme-colored title-border font-weight-600 line-bottom-center m-0"><?php echo $tname;?> <span class="text-gray font-13 ml-5"><?php echo $spec;?></span></h4>
<p class="font-13 mt-10 mb-10"><?php echo $desc1; ?></p>
<ul class="styled-icons icon-theme-colored2">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
<li><a href="#"><i class="fa fa-skype"></i></a></li>
</ul>
</div>
</div>
</div>
<?php } ?>
<div class="col-md-3">
<div class="team-members maxwidth400 mb-30">
<div class="team-thumb">
<img src="images/team/2.jpg" alt="" class="img-fullwidth">
</div>
<div class="team-bottom-part bg-silver-deep p-15 pb-0">
<h4 class="text-uppercase font-raleway text-theme-colored title-border font-weight-600 line-bottom-center m-0">John Diggle <span class="text-gray font-13 ml-5">- CSE</span></h4>
<p class="font-13 mt-10 mb-10">Lorem ipsum dolorsit amet consecte turadip isior ipsum dolor sit ametor ipsum dolor sit amet conse</p>
<ul class="styled-icons icon-theme-colored2">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
<li><a href="#"><i class="fa fa-skype"></i></a></li>
</ul>
</div>
</div>
</div>
<!-- <div class="col-md-3">
<div class="team-members maxwidth400 mb-30">
<div class="team-thumb">
<img src="images/team/3.jpg" alt="" class="img-fullwidth">
</div>
<div class="team-bottom-part bg-silver-deep p-15 pb-0">
<h4 class="text-uppercase font-raleway text-theme-colored title-border font-weight-600 line-bottom-center m-0">Laurel Lance <span class="text-gray font-13 ml-5">- Civil</span></h4>
<p class="font-13 mt-10 mb-10">Lorem ipsum dolorsit amet consecte turadip isior ipsum dolor sit ametor ipsum dolor sit amet conse</p>
<ul class="styled-icons icon-theme-colored2">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
<li><a href="#"><i class="fa fa-skype"></i></a></li>
</ul>
</div>
</div>
</div> -->
<!-- <div class="col-md-3">
<div class="team-members maxwidth400 mb-30">
<div class="team-thumb">
<img src="images/team/4.jpg" alt="" class="img-fullwidth">
</div>
<div class="team-bottom-part bg-silver-deep p-15 pb-0">
<h4 class="text-uppercase font-raleway text-theme-colored title-border font-weight-600 line-bottom-center m-0">Echo Kellum <span class="text-gray font-13 ml-5">- English</span></h4>
<p class="font-13 mt-10 mb-10">Lorem ipsum dolorsit amet consecte turadip isior ipsum dolor sit ametor ipsum dolor sit amet conse</p>
<ul class="styled-icons icon-theme-colored2">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
<li><a href="#"><i class="fa fa-skype"></i></a></li>
</ul>
</div>
</div>
</div> -->
</div>
</div>
</div>
</section>
</body>
</html>