Cylul007 Webshell
Server :
Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
php :
8.0.30
on
cgi-fcgi
Time
25 Nov 2024 15:33:39
Current Directory :
/
home
/
amvm
/
public_html
/
chogawan
/
Upload File :
Mass Deface
Home
Bypass Passwd
Current File : /home/amvm/public_html/chogawan/tc.php
<?php include('header.php'); ?> <div class="site-section ftco-subscribe-1 site-blocks-cover pb-4" style="background-image: url('images/bg_1.jpg')"> <div class="container"> <div class="row align-items-end"> <div class="col-lg-6"> <h2 class="mb-0">Transfer Certificate</h2> </div> <div class="col-lg-6 text-right"> <a href="index.php">Home</a> <span class="mx-3 icon-keyboard_arrow_right"></span> <span class="current">Transfer Certificate</span> </div> </div> </div> </div> <!--PDF Start--> <?php if (isset($_GET['pageno'])) { $pageno = $_GET['pageno']; } else { $pageno = 1; } $no_of_records_per_page = 30; $offset = ($pageno-1) * $no_of_records_per_page; $total_pages_sql = "SELECT COUNT(*) FROM tc WHERE status='active'"; $result = mysqli_query($con, $total_pages_sql); $total_rows = mysqli_fetch_array($result)[0]; $total_pages = ceil($total_rows / $no_of_records_per_page); $sql = "SELECT * FROM tc WHERE status= 'active' LIMIT $offset, $no_of_records_per_page"; $result = mysqli_query($con, $sql); $counter=$offset+1; ?> <div class="site-section"> <div class="container"> <div class="row justify-content-center text-center"> <div class="col-lg-8"> <h2 class="section-title-underline mb-5"> <span>School Leaving Certificate of Candidates</span> </h2> </div> </div> <div class="row"> <div class="col-lg-12"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>Sr.No.</th> <th>Name of Student</th> <th>Adm. No.</th> <th>PDF</th> </tr> </thead> <tbody> <?php $sr_no = 1; while($row = mysqli_fetch_array($result)) {?> <tr> <td><?php echo $sr_no ; ?></td> <td><b><?php echo $row['title'] ; ?></b></td> <td><b><?php echo $row['add_no'] ; ?></b></td> <td> <a target="_blank " href="../myadmin/tc/<?php echo $row['file'] ;?>" class="btn btn-info">View</a> </td> </tr> <?php $sr_no ++; }?> </tbody> </table> </div> <ul class="pagination"> <li><a href="?pageno=1">First</a></li> <li class="<?php if($pageno <= 1){ echo 'disabled'; } ?>"> <a href="<?php if($pageno <= 1){ echo '#'; } else { echo "?pageno=".($pageno - 1); } ?>">Prev</a> </li> <li class="<?php if($pageno >= $total_pages){ echo 'disabled'; } ?>"> <a href="<?php if($pageno >= $total_pages){ echo '#'; } else { echo "?pageno=".($pageno + 1); } ?>">Next</a> </li> <li><a href="?pageno=<?php echo $total_pages; ?>">Last</a></li> </ul> </div> </div> </div> <!--PDF End--> <?php include('footer.php'); ?>
./LuLlaby007 ♥ Tata Cantik - Copyright 2k18