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 Academic 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 Academic Team</h2></div>
</div>
</div>
</section>
<section class="member_list no_pad_bottom">
<div class="container">
<div class="row margin-bot20">
<div class="col-sm-12"><h2 class="caps">Advisors</h2></div>
<?php $data=$conn->prepare("select * from our_interns where cate='1'");
$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>
<section class="member_list no_pad">
<div class="container">
<div class="row margin-bot20">
<div class="col-sm-12"><h2 class="caps">Content Specialist</h2></div>
<?php $data=$conn->prepare("select * from our_interns where cate='2'");
$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>
<section class="member_list no_pad">
<div class="container">
<div class="row margin-bot20">
<div class="col-sm-12"><h2 class="caps">Teachers and Lecturers</h2></div>
<?php $data=$conn->prepare("select * from our_interns where cate='3'");
$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