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;}.media-body{padding: 0px 15px;}.caps{text-transform: uppercase;}.img-cust{ max-height: 200px;}</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>
<br>
<p><?php echo substr($row['description'],0,200);?></p>
</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();?>
</body>
</html>
Zerion Mini Shell 1.0