UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/
mobileapp
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
press_release.php
<?php include "top.php"; include "banner.php"; ?> <style> .pagination { display: inline-block; } .pagination a { font-weight:bold; font-size:18px; color: black; float: left; padding: 8px 16px; text-decoration: none; border:1px solid black; } .pagination a.active { background-color: pink; } .pagination a:hover:not(.active) { background-color: skyblue; } </style> <section class="w3l-about3"> <div class="story-inner-6 text-left py-5"> <div class="container pt-lg-4"> <div class="title-content text-left mb-lg-4 mb-4"> <h3 class="hny-title" style="text-align: center">Press <span>Release</span></h3> </div> <div class="row align-items-center"> <?php $limit=20; if(isset($_GET['page'])){ $page=$_GET['page']; }else{ $page=1; } $offset= ($page-1)*$limit; $sql="SELECT * FROM pressreleasetb ORDER BY id DESC LIMIT {$offset},{$limit}"; $result = mysqli_query($conn,$sql); if(mysqli_num_rows($result)>0){ $serial=$offset + 1; while ($row=mysqli_fetch_assoc($result)) { ?> <div class="col-md-12 story-gd" style="padding: 20px; margin: 1px 4px; border: 1px solid #999999; background-color: #FFFFFF"> <div class="title-head text-left mb-4"> <h6 class="sub-title">Posted Date: <?php echo $row['added_on'];?></h6> <h3 class="hny-title"><?php echo $row['title'];?></h3> </div> <p class="mb-4"> <?php echo mb_strimwidth($row['discription'], 0, 300, "...");?> </p> <a href="page_details.php?pid=<?php echo $row['id'];?>&pname=pressrelease" class="btn btn-style btn-primary mt-lg-4 mt-3">Read more</a> </div> <hr> <?php $serial++; } } ?> <br><br> </div> <!-- pagination elements --> <div align="center"> <div class="pagination"> <?php $pagLink=""; $sql1="SELECT * FROM pressreleasetb"; $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); if($page>=2){ echo "<a href='press_release.php?page=".($page-1)."'> Prev </a>"; } for ($i=1; $i<=$total_page; $i++) { if ($i == $page) { $pagLink .= "<a class = 'active' href='press_release.php?page=" .$i."'>".$i." </a>"; } else { $pagLink .= "<a href='press_release.php?page=".$i."'> ".$i." </a>"; } }; echo $pagLink; if($page<$total_page){ echo "<a href='press_release.php?page=".($page+1)."'> Next </a>"; } } ?> </div> </div> </div> </div> </section> <!--//about--> <?php include "footer_all.php"; ?>
Copyright © 2025 - UnknownSec