MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.189.194.44
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/kanoonisamadhan.in/../advancepowerresearch.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/kanoonisamadhan.in/../advancepowerresearch.com/gallery.php
<!DOCTYPE html>
<html lang="en">
<head>
    
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Advance Power Resarch | Gallery">
    <title>Advance Power Resarch | Gallery</title>
    
    <?php include "top-links.php" ?>
    
</head>
<body >

<!--<div class="preloader"><div class="spinner"></div></div> -->

<div class="page-wrapper">
    
<?php include "top-header.php" ?>

<?php include "header.php" ?>
    
    <div class="inner-banner">
        <div class="container">
            <h3>Gallery</h3>
            <ul class="breadcumb">
                <li><a href="<?php echo $wspath?>">Home</a></li>
                <li><span class="sep"><i class="fa fa-angle-right"></i></span></li>
                <li><span>Gallery</span></li>
            </ul>
        </div>
    </div>
    
        <section class="portfolio-style-two sec-pad">
        <div class="container">
            <div class="sec-title text-center">
                <h3>Projects for <span>inspirations</span></h3>
                <p>You will find yourself working in a true partnership that results in an incredible <br /> experience, and an end product that is the best. </p>
            </div>
            <div class="gallery-filter">
                <ul class="post-filter masonary text-center">
                    <li class="filter active" data-filter=".masonary-item"><span><i class="industrio-icon-layers"></i>All</span></li>
                    <?php 
                        $sqlimg = "SELECT DISTINCT tbl_gallery.for_use,tbl_product.p_id,tbl_product.product_name FROM `tbl_gallery`
                        INNER JOIN tbl_product ON tbl_gallery.for_use = tbl_product.p_id";
                        $runimg = mysqli_query($db,$sqlimg) or die("Query Not run");
                        while($dataimg = mysqli_fetch_assoc($runimg)){
                    ?>
                    <li class="filter " data-filter=".ser<?php echo $dataimg['for_use']?>"><span> <?php echo $dataimg['product_name']?></span></li>
                    <?php } ?>
                </ul>
            </div>
            <div class="row masonary-layout filter-layout" data-filter-class="filter">
                <?php 
                    $sqlimgs = "SELECT * FROM `tbl_gallery`";
                    $runimgs = mysqli_query($db,$sqlimgs) or die("Query Not run");
                    while($dataimgs = mysqli_fetch_assoc($runimgs)){
                ?>
                <div class="col-md-3 col-sm-6 col-xs-12 masonary-item single-filter-item ser<?php echo $dataimgs['for_use']?> ">
                    <div class="single-portfolio-style-two">
                        <div class="img-box">
                        <img src="<?php echo $wspath?>admin/images/gallery/<?php echo $dataimgs['image']?>" alt="Awesome Image"/>
                            <div class="overlay">
                                <div class="box">
                                    <div class="content">
                                        <!--<span>Melbourne, AU</span>-->
                                        <h3 href="<?php echo $wspath?>admin/images/gallery/<?php echo $dataimgs['image']?>" class="img-popup"><?php echo $dataimgs['title']?></h3>
                                        <a href="<?php echo $wspath?>admin/images/gallery/<?php echo $dataimgs['image']?>" class="img-popup industrio-icon-next"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php } ?>
            </div>
        </div>              
    </section>
    <?php include "contact-footer-banner.php" ?>

</div>
<?php include "footer.php" ?>
</body>
</html>

MMCT - 2023