Windows NT P3613 10.0 build 20348 (Windows Server 2022) AMD64
C:
/
Inetpub
/
vhosts
/
gyandeepclasses.com
/
pdpandyamcc.com
/
C:/Inetpub/vhosts/gyandeepclasses.com/pdpandyamcc.com/eventdetails.php
<?php include_once('dbconfig.php'); if(isset($_GET['id'])==false) header("location:events.php"); include_once('header.php'); ?> <!-- END nav --> <section class="hero-wrap hero-wrap-2" style="background-image: url('images/banner1.jpg');"> <div class="overlay"></div> <div class="container"> <div class="row no-gutters slider-text align-items-center justify-content-center"> <div class="col-md-9 ftco-animate text-center"> <h1 class="mb-2 bread">Events</h1> <p class="breadcrumbs"><span class="mr-2"><a href="index.html">Home <i class="ion-ios-arrow-forward"></i></a></span> <span>Events <i class="ion-ios-arrow-forward"></i></span></p> </div> </div> </div> </section> <section class="ftco-section bg-light"> <div class="container"> <div class="row no-gutters"> <?php $id=$_GET['id']; $data = $conn->query("SELECT * FROM eventimages where Event_id=$id"); while ($row = $data->fetch_assoc()) { ?> <div class="col-md-4 ftco-animate"> <a href="eventimages/<?php echo htmlspecialchars($row['Imagepath']); ?>" class="gallery image-popup img d-flex align-items-center" style="background-image: url('eventimages/<?php echo htmlspecialchars($row['Imagepath']); ?>');"> <div class="icon mb-4 d-flex align-items-center justify-content-center"> <span class="icon-instagram"></span> </div> </a> </div> <!-- <div class="col-md-6 col-lg-4 ftco-animate"> <div class="blog-entry"> <a href="eventimages/<?php echo htmlspecialchars($row['Imagepath']); ?>" class="block-20 d-flex align-items-end" style="background-image: url('eventimages/<?php echo htmlspecialchars($row['Imagepath']); ?>');" target="_blank"> <div class="block-20 d-flex align-items-end" style="background-image: url('eventimages/<?php echo htmlspecialchars($row['Imagepath']); ?>');"> </div> </div> </div> --> <?php } ?> </div> </div> </section> <?php include_once("footer.php"); ?>