UnknownSec Bypass
403
:
/
var
/
www
/
html
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
banbasa_downloads.php
<?php include "top_banbasa.php"; ?> <section class="w3l-contact-main"> <div class="contact-infhny py-5"> <div class="container py-lg-3"> <div class="row align-form-map"> <div class="col-lg-9 title-content text-left mb-lg-4 mb-4"> <h4 class="hny-title mb-3">List of <span>Downloads</span></h4> </div> <!-- <div class="col-lg-3" align="right"> <a class="btn btn-contact" href="add_downloads.php">ADD FILE</a> </div> --> <div class="col-lg-12 form-inner-cont"> <?php include "config.php"; // $limit=25; // if(isset($_GET['page'])){ // $page=$_GET['page']; // }else{ // $page=1; // } //$offset= ($page-1)*$limit; //$sql="SELECT * FROM downloadstb ORDER BY id LIMIT {$offset},{$limit}"; $sql="SELECT * FROM downloadstb ORDER BY id DESC"; $result=mysqli_query($conn,$sql) or die("Query Failed."); if(mysqli_num_rows($result)>0){ ?> <table class="table table-bordered"> <thead> <tr> <th scope="col">S.NO.</th> <th scope="col">TITLE</th> <th scope="col">DATE</th> <th scope="col"></th> <!-- <th scope="col">EDIT</th> --> <!-- <th scope="col">DELETE</th> --> </tr> </thead> <tbody> <?php $sno=1; while ($row = mysqli_fetch_assoc($result)) { ?> <tr id="<?php echo $row['id'] ?>"> <td class='id'><?php echo $sno ?></td> <td><?php echo $row['downloadstitle']; ?></td> <td><?php echo $row['added_on']; ?></td> <td class='edit'><a href='adminpnl/downloads/<?php echo $row["file_name"]; ?>' target="_blank"><i class='fa fa-download'></i></a></td> <!--<td class='edit'><a href='update_downloads.php?id=<?php echo $row["id"]; ?>'><i class='fa fa-edit'></i></a></td> --> <!-- <td class='delete'><a href='delete_downloads.php?id=<?php echo $row["id"]; ?>' onclick="return confirm('Are you sure you want to Delete?');"><i class='fa fa-trash'></i></a></td> --> </tr> <?php $sno=$sno+1; } ?> </tbody> </table> <?php } // $sql1="SELECT * FROM downloadstb"; // $result1=mysqli_query($conn,$sql1) or die("Query Failed."); // if(mysqli_num_rows($result1)>0){ // $total_record=mysqli_num_rows($result1); // $total_page= ceil($total_record/$limit); // // echo "<ul class='pagination admin-pagination'>"; // if($page > 1){ // echo '<li><a class="btn btn-style" href="downloads.php?page='.($page - 1).'">Prev</a></li>'; // } // for($i=1; $i<=$total_page; $i++){ // if($i==$page) // { // $active="active"; // }else { // $active=""; // } // echo '<li class="'. $active .'"><a class="btn btn-style" href="downloads.php?page=' .$i. '">' .$i. '</a></li>'; // } // if($total_page>$page){ // echo '<li><a class="btn btn-style" href="downloads.php?page='.($page + 1).'">Next</a></li>'; // } // echo "</ul>"; // } ?> </div> </div> </div> </section> <!-- //contact-form --> <?php include "footer.php"; ?>
Copyright © 2025 - UnknownSec