UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
list_gallery_images.php
<?php include "top.php";?> <div id="page-wrapper" class="gray-bg dashbard-1"> <div class="content-main"> <!--banner--> <div class="banner"> <table width="100%"> <tr> <td width="50%"><b>Images List</b></td> <td width="50%" align="right"><a class="btn btn-default" href="add_gallery_images.php">Add Images</a></td> </tr> </table> </div> <!--//banner--> <!--grid--> <div class="validation-system"> <div class="validation-form"> <br> <!----> <?php $sql="SELECT * FROM gallerytb ORDER BY id"; $result=mysqli_query($conn,$sql) or die("Query Failed."); if(mysqli_num_rows($result)>0){ ?> <table class="table" ui-jq="footable" id="statetable"> <thead> <tr> <th data-breakpoints="xs">S.No.</th> <th data-breakpoints="xs">File Name</th> <th data-breakpoints="xs sm md">image</th> <th text-align="right"></th> </tr> </thead> <tbody> <?php $serial=1; while ($row = mysqli_fetch_assoc($result)) { ?> <tr data-expanded="true"> <td><?php echo $serial; ?></td> <td><?php echo $row['file_name']; ?></td> <td><img src='gallery_images/<?php echo $row['file_name']; ?>' width="80px" height="80px"></td> <td align="right"><a onclick="return confirm('Do you want to delete this record?')" href='delete_gallery_image.php?id=<?php echo $row["id"]; ?>'><i class="fa fa-trash icon_9"></i></a></td> </tr> <?php $serial++;}}?> </tbody> </table> <!----> <br> </div> </div> <!--//grid--> <script> $(document).ready(function() { $('#statetable').DataTable(); }); </script> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec