ok

Mini Shell

Direktori : /home2/selectio/public_html/pvmatricschool.com/
Upload File :
Current File : /home2/selectio/public_html/pvmatricschool.com/gallery-6.php

<?php include "header.php";?>
<style>
      .ttm-row {
    padding: 45px 0;
}
</style>
<!-- page-title -->
      
        
  <!--site-main start-->
    <div class="site-main">


        <!--portfolio-section-->
        <section class="ttm-row portfolio-section clearfix">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="ttm-tabs">
                           <div class="page-title-heading" style="text-align: center;">
                                <h2 class="title">TOPPERS OF 2022-23</h2>
                            </div>
                            <div class="content-tab">
                                <!-- content-inner -->
                                <div class="row multi-columns-row ttm-boxes-spacing-10px isotope-project">
                                <?php
            	$i=0;
            	$statement = $pdo->prepare("SELECT * FROM tbl_photo where type='TOPPERS OF 2022-23'");
            	$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 campus">
                                        <!-- featured-imagebox -->
                                        <div class="featured-imagebox featured-imagebox-portfolio">
                                            <!-- ttm-box-view-overlay -->
                                            <div class="ttm-box-view-overlay ttm-portfolio-box-view-overlay">
                                                <!-- featured-thumbnail -->
                                                <div class="featured-thumbnail">
                                                    <a href="#"> <img class="img-fluid" src="dashboard/assets/uploads/<?=$row['photo']?>" alt="image"></a>
                                                </div><!-- featured-thumbnail end-->
                                                <div class="featured-iconbox ttm-media-link">
                                                    <a class="ttm_prettyphoto ttm_image" title="<?=$row['caption']?>" data-rel="prettyPhoto" href="dashboard/assets/uploads/<?=$row['photo']?>">
                                                        <i class="fa fa-expand"></i><?=$row['caption']?>
                                                    </a>
                                                </div>
                                            </div><!-- ttm-box-view-overlay end-->
                                        </div><!-- featured-imagebox -->
                                    </div>
                                <?php } ?>     
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!--portfolio-section-->


    </div><!--site-main end-->        
<?php include "footer.php";?>

Zerion Mini Shell 1.0