ok
Direktori : /home2/selectio/public_html/pvmatricschool.com/ |
Current File : /home2/selectio/public_html/pvmatricschool.com/committee.php |
<?php include "header.php";?> <style> .ttm-row { padding: 30px 0; } </style> <!--index menu style--> <!--site-main start--> <div class="site-main"> <section class="ttm-row grid-section clearfix"> <div class="container"> <!-- row --> <div class="row "> <div class="col-lg-12"> <div class="ttm-tabs"> <div class="page-title-heading"> <h2 class="title">COMMITTEES</h2> </div> </div> </div> <?php $i=0; $statement = $pdo->prepare("SELECT * FROM tbl_photo where type='COMMITTEE'"); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($result as $row) { ?> <div class="ttm-box-col-wrapper col-lg-4 col-md-4 col-sm-6"> <!-- featured-imagebox-course --> <div class="featured-imagebox featured-imagebox-course"> <div class="ttm-post-thumbnail featured-thumbnail"> <img class="img-fluid" src="dashboard/assets/uploads/<?=$row['photo']?>" alt="image"> </div> <div class="featured-content featured-content-post"> <div class="featured-content-post-inner"> <div class="post-title featured-title"> <h5><a href="#"><?=$row['caption']?></a></h5> </div> </div> </div> </div><!-- featured-imagebox-course end--> </div> <?php } ?> </div> </div> </section> </div><!--site-main end--> <?php include "footer.php";?>