Mini Shell
<?php require_once('function-file.php');
require_once('function-menu.php');
require_once('function-testo-footer.php');
require_once("config.php");?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Our Management Team | Lanka Virtual Academy</title>
<?php commoncss();?>
<style>.margin-bot20{margin-bottom:20px;}.box{ border:1px solid #ddd; margin-bottom:30px;}.media-body{padding: 0px 15px;}.caps{text-transform: uppercase;}.img-cust{ max-height: 200px;}
@media screen and (max-width:768px){
.img-cust{
max-height: 300px;
}
}
.margin-bot20{margin-bottom:20px;}
.mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail, .mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail{ border-right: 4px dotted #ccc !important;background-image: unset !important; }
.mCSB_dragger_bar{ background-color: #ccc !important; }
.benifits-text{ height: 240px;overflow: auto; background-color:#eee; }
</style>
</head><!--/head-->
<body class="homepage">
<?php headermenu();?>
<section class="header-title">
<div class="container">
<div class="row">
<div class="col-sm-12"><h2>Our Management Team</h2></div>
</div>
</div>
</section>
<section class="member_list">
<div class="container">
<div class="row margin-bot20">
<!-- <div class="col-sm-12"><h2 class="caps">Project Directors</h2></div> -->
<?php $data=$conn->prepare("select * from our_team");
$data->execute();$result=$data->fetchall();$i=0;
foreach($result as $row){?>
<div class="col-md-3 col-sm-3">
<div class="box">
<img class="img-responsive img-cust" src="admin/img/team/<?php echo $row['team_img']?>" alt="<?php echo $row['team_name']?>">
<div class="media-body">
<h4><?php echo $row['team_name']?></h4>
<h5><?php echo $row['team_position']?></h5>
</div>
<div class="benifits-text">
<p><?php echo $row['description'];?></p><hr/>End of content.
</div>
</div>
</div>
<?php $i++;if($i==4){echo"</div><div class='row margin-bot20'>";$i=0;}
}?>
</div>
</div>
</section>
<?php testofooter(); newssletter(); ?>
<?php footer(); commonjs();?>
<script type="text/javascript">
$(".benifits-text").mCustomScrollbar({
theme:"rounded-dots",
scrollInertia:400
});
</script>
</body>
</html>
Zerion Mini Shell 1.0