<?php @session_start(); @include('includes/conn.php'); ?>
 <?php @include('includes/head.php'); ?>

                                                  <div class="col-lg-12">
                                                    <div class="card px-3">
                                                      <div class="card-body">
                                                        <div id="lightgallery-without-thumb" class="row lightGallery">
                                                            <?php $complaintimage = $conn->query("SELECT * FROM users_complaint_images WHERE ucid='".$_GET['id']."'");
                                                    if($complaintimage->num_rows > 0) {
                                                while($complaintimages = $complaintimage->fetch_assoc()) {
                                                ?>
                                                          <a target="_blank" href="Images/<?php echo $complaintimages['img']; ?>" class="image-tile"><img src="Images/<?php echo $complaintimages['img']; ?>" alt=""></a>
                                                          <?php }} else {
                                                echo '<div class="col-lg-12" style="pointer-events:none"><center>No Images Found!!</center></div>';
                                                } ?>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
    <?php @include('includes/foot.php'); ?>
  </body>
</html>