Mini Shell

Direktori : /proc/self/root/proc/thread-self/root/home/rizant5/public_html/development/admin/
Upload File :
Current File : //proc/self/root/proc/thread-self/root/home/rizant5/public_html/development/admin/payment-info.php

<?php 
require_once("../config.php");
require_once("function-file.php");
require_once("function-menu.php");
cookiecheck();
$stu_id=$_GET['stu_id'];
?>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Payment Info</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <?php  cssfile();datatablecss();?>
  </head>
  <body class="hold-transition skin-blue layout-top-nav">
    <!-- Site wrapper -->
    <div class="wrapper">
<?php headermenu();?>
      <!-- =============================================== -->
      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <!-- Main content -->
        <div class="col-sm-12">
        <section class="content">
          <!-- Default box -->
          <div class="box">
            <div class="box-header with-border">
               <h3 class="box-title">Payment Info</h3>
               <div class="box-tools pull-right">
                <a href="online-user.php" class="btn btn-info btn-sm"><i class="fa fa-angle-double-left"></i> Back</a>
              </div>
            </div>
            <div class="box-body">
               <table class="table table-bordered table-striped dataTable" id="data-table">
                  <thead><tr><th>Date / Time</th><th>TXN ID</th><th>Amount</th><th>Status</th><th>Result Message</th></tr></thead>
                  <tbody>
                      <?php $data=$conn->prepare("select * from payments where stu_id='$stu_id'");
                      $data->execute();$result=$data->fetchall();
                      foreach($result as $row){
                          echo"<tr>";
                          echo"<td>".date('d-M-Y / h:i A',strtotime($row['createdtime']))."</td>";
                          echo"<td>$row[txnid]</td>";
                          echo"<td>$row[payment_amount]</td>";
                          echo"<td>$row[payment_status]</td>";
                          echo"<td>$row[error_log]</td>";
                          echo"</tr>";
                      }?>
                  </tbody>
               </table> 
            </div><!-- /.box-body -->
          </div><!-- /.box -->
        </section><!-- /.content -->
        </div>
      </div></div><!-- /.content-wrapper -->
      <?php footer();?>
    </div><!-- ./wrapper -->
   <?php jsfile();?>
 </body>
</html>

Zerion Mini Shell 1.0