| Server IP : 172.64.80.1 / Your IP : 172.69.58.211 Web Server : Apache System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64 User : federalpolyede.edu.ng_idh35skikv ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_student/ |
Upload File : |
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Student CPanel | Federal Poly Ede</title>
<!-- Bootstrap Core CSS -->
<link href="../bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- MetisMenu CSS -->
<link href="../bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
<!-- DataTables CSS -->
<link href="../bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" rel="stylesheet">
<!-- DataTables Responsive CSS -->
<link href="../bower_components/datatables-responsive/css/dataTables.responsive.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="../dist/css/sb-admin-2.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="../bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body >
<?php
ob_start();
//include('headMain.php');
/**
* Created by PhpStorm.
* User: adisa
* Date: 2016-03-24
* Time: 05:21 PM
*/
require_once('../connect.php');
$db=db_connect();
// $regNo=$_SESSION['formNo'];
// if (isset($_SESSION['matNo'])){
// $regNo=$_SESSION['matNo'];
// }
// $res=$db->query("select * from realdata where formNo='$regNo' or matNo='$regNo'");
//$res_fetch=$res->fetch(PDO::FETCH_BOTH);
// $k=$res->rowCount();
// if ($k>0){
// echo $otherNo1=$res_fetch['formNo'];
// $otherNo2=$res_fetch['matNo'];
// }else{
// $otherNo1=$regNo;
// $otherNo2=$regNo;
// }
$sql="select * from remitaorder where remitaRRR='0' and paymentType='Admission Slip' and regNo in (select formNo from admitted)";
$result=$db->query($sql);
//$result_fetch=$result->fetch(PDO::FETCH_BOTH);
$num=$result->rowCount();
$i=0;
?>
<div class="row">
<div class="col-lg-12">
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
Transactions Details
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="dataTable_wrapper">
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<tr >
<th>S/N</th>
<th>Trans ID</th>
<th>Remita RR</th>
<th>Trans Date</th>
<th>Payment Type</th>
<th>Trans Amount</th>
<th>RegNo</th>
<th>Trans Details/Trans Approved</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<?php
while ($row=$result->fetch(PDO::FETCH_BOTH)){
?>
<tr>
<td><?php echo $i +1;?></td>
<td><?php echo $orderID= $row['orderID'];?></td>
<td><?php echo $row['remitaRRR']?></td>
<td><?php echo $row['transDate'];?></td>
<td><?php $_SESSION['regNo']=$row['regNo']; echo $pt=$row['paymentType']; ?></td>
<td><?php echo $row['amtPaid'];?></td>
<td><?php echo $row['regNo'];?></td>
<td><?php echo $a=$row['transApproved']; echo '->'.$row['transDetail']?></td>
<td>
<?php
if ($a!='True'){
echo '<a href="reQuerySlip.php?id='.$orderID.'&ptype='.$pt.'"target="_blank">Re-Query</a>';
}
++$i;
}
?>
</td>
</tr>
</table>
</form>
<p> </p>
</fieldset></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<?php
include('footMain.php');
ob_end_flush();?>