| Server IP : 172.64.80.1 / Your IP : 172.70.131.126 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_backup/eace_entranceForm/ |
Upload File : |
<?php
session_start();
/**
* Created by PhpStorm.
* User: adisa
* Date: 2016-03-24
* Time: 05:21 PM
*/
require_once('headMain2.php');
require_once('../connect.php');
extract($_POST);
$idNo=$_SESSION['transID'];
$db=db_connect();
if (isset($_SESSION['transID'])){
$regNo=$_SESSION['transID'];
$formType=$_SESSION['formType'];
$sql=$db->query("select * from eace_entrancetable where transID='$regNo'");
$sql_fetch=$sql->fetch(PDO::FETCH_BOTH);
$formNo=$sql_fetch['formNo'];
}else{
header('location:login.php');
}
$sql="select * from eace_remitaorderform where (regNo='$regNo' or regNo='$formNo') and paymenttype='$formType'";
$result=$db->query($sql);
//$result_fetch=$result->fetch(PDO::FETCH_BOTH);
$num=$result->rowCount();
$i=0;
?>
<div class="row">
<div class="col-lg-10">
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-10 col-lg-offset-1" >
<div class="panel panel-info">
<div class="panel-heading">
Other Payment Transactions
</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>Form No/App No</th>
<th>Payment Type</th>
<th>Trans Amount</th>
<th>Trans Details</th>
<th>Trans Approved</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<?php
while ($row=$result->fetch(PDO::FETCH_BOTH)){
?>
<tr class="odd gradeX">
<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 echo $_SESSION['regNo']=$row['regNo'];?></td>
<td><?php echo $pt=$row['paymentType'];$appNo=$row['regNo']; ?></td>
<td><?php echo $row['amtPaid'];?></td>
<td><?php echo $row['transDetail'];?></td>
<td><?php echo $a=$row['transApproved'];?></td>
<td>
<?php
if ($a!='True'){
// echo '<form method = "POST" action="https://demo.etranzact.com/WebConnectPlus/query.jsp">
// <input type=hidden name = "TERMINAL_ID" value="0000000001">
// <input type=hidden name = "TRANSACTION_ID" value="'.$orderID.'">
// <input type=hidden name= "RESPONSE_URL" value="https://federalpolyede.edu.ng/eace_admin_student/reQueryNew.php">
// <input type="Submit" name="submit" value="Get Payment Status">
// </form>';
// echo '<a href="reQuery.php?id='.$orderID.'&ptype='.$pt.'"target="_blank">Re-Query</a>';
if ($pt=='School Fees') {
$terminal_id ='7007139452';
}else{
$terminal_id='7007139451';
}
// echo '<a href="https://etranzact.net/WebConnectPlus/query.jsp?TERMINAL_ID='.$terminal_id.'&TRANSACTION_ID='.$orderID.'">Get Status</a>';
echo '<a href="etrans_check.php?terminal_id='.$terminal_id.'&orderID='.$orderID.'">Get Status</a>';
}
++$i;
}
?>
</td>
</tr>
</table>
</form>
<p> </p>
</fieldset></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<?php
include('footMain.php');
?>