UnknownSec Bypass
403
:
/
var
/
www
/
stbilling
/
cpanel
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
list_bill.php
<?php include "top.php";?> <!-- main content start--> <div id="page-wrapper"> <div class="main-page"> <div class="tables"> <div class="row"> <div class="col-md-3 grid_box1"> <h4>BILL LIST:</h4> </div> <div class="col-md-7 grid_box1"> </div> <div class="col-md-2 grid_box1"> <a href="create_gstbill.php" class="btn btn-primary" style="width: 100%">Add Bill</a> </div> <div class="clearfix"> </div> </div> <div class="table-responsive bs-example widget-shadow"> <div class="row"> <?php $finid= $_SESSION['financialyearid']; $companyid= $_SESSION['companyid']; $sql="Select DATE_FORMAT(transactiondate, '%D %M %Y') as transactiondate,voucherno,mainvoucherno,partyname,financialyearid,sum(amount) as amount from v_transactiondetails where financialyearid= $finid and isdeleted='$notdeleted' and companyofficeid=$companyid group by transactiondate,voucherno,mainvoucherno,partyname,financialyearid order by voucherno desc"; $result=mysqli_query($conn, $sql) or die("Query Failed."); if (mysqli_num_rows($result)>0) { ?> <table class="table table-bordered table-hovered table-striped" id="employeeTable"> <thead> <th> S.No. </th> <th> Date </th> <th> Voucher No </th> <th> Party Name </th> <th> Amount </th> <th style="width:30px;">Edit </th> <th style="width:30px;">Original Bill</th> <th style="width:30px;">Duplicate Bill</th> <th style="width:30px;"></th> </thead> <tbody> <?php $serial= 1; while ($row = mysqli_fetch_assoc($result)) { ?> <tr> <td><?php echo $serial ?> </td> <td> <?php $date=date_create($row['transactiondate']); echo date_format($date,"d-m-Y"); ?> </td> <td><?php echo $row['voucherno']; ?> </td> <td> <?php echo $row['partyname']; ?> </td> <td><?php echo $row['amount']; ?> </td> <td><a href='create_gstbill.php?id=<?php echo $row["mainvoucherno"]; ?>&op=<?php echo "Update"; ?>'><i class="glyphicon glyphicon-pencil"></i></a></td> <td> <a href='print_gstbill.php?id=<?php echo $row["mainvoucherno"]; ?> &op=<?php echo "Original Copy"; ?>' target="_blank"><i class="glyphicon glyphicon-print"></i></a> </td> <td> <a href='print_gstbill.php?id=<?php echo $row["mainvoucherno"]; ?> &op=<?php echo "Duplicate Copy"; ?>' target="_blank"><i class="glyphicon glyphicon-print"></i></a> </td> <td> <a href='pdfgenerate/index.php?id=<?php echo $row["mainvoucherno"]; ?>&op=<?php echo "Delete"; ?>'><i class="glyphicon glyphicon-trash"></i></a> </td> </tr> <?php $serial++; } } ?> </tbody> </table> <br> </div> </div> </div> </div> </div> <?php include "footer.php";?> <script> $(document).ready(function() { $('#employeeTable').DataTable(); }); </script>
Copyright © 2025 - UnknownSec