| Server IP : 172.64.80.1 / Your IP : 172.70.50.63 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/admin_student/ |
Upload File : |
<?php
//include('headMain.php');
//echo "<div align='center'><h2 style='color: red'> 2021/2022 School Fees Payment For Newly Admitted Students Has Been Closed</h2></div>
//echo "<div align='center'><h2 style='color: red'> Registration for 2023/2024 First Semester Academic Session Has Closed!</h2></div>
echo "<div align='center'><h2 style='color: red'> Kindly NOTE that ONLY course Registration can be modified during Second Semester!</h2></div>
<div align='right'><a href='javascript:history.go(-1)'> Go to Previous page</a></div>";
//echo '<div> <br /><a href="paymentHistory.php"> Click to check Payment History</a></div>';
include('footMain.php');
die();
$check_reparation=$db->query("select * from remitaorder where regNo='$matNo'and paymenttype='Reparation Fee' and transApproved='True' and status<>'Re-fund'")->rowCount();
if ($check_reparation==0){
header('location:reparation_remitaPayment.php');
die("Kindly Pay for Reparation Fee");
echo "<div align='right'><a href='javascript:history.go(-1)'> Go to Previous page</a></div>";
include('footMain.php');
//echo '<div> <br /><a href="paymentHistory.php"> Click to check Payment History</a></div>';
}
$check_course=$db->query("Select * from coursereg where matNo ='$matNo'")->rowCount();
if ($check_course==0){
die("Kindly Register for the Semester Course");
echo "<div align='right'><a href='javascript:history.go(-1)'> Go to Previous page</a></div>";
include('footMain.php');
//echo '<div> <br /><a href="paymentHistory.php"> Click to check Payment History</a></div>';
}
//die();
$r=0;
if ($r==1) {
$checkExemption = $db->query("select * from late_exempt where matNo='$matNo'")->rowCount();
$checkLate_NUM = $db->query("SELECT * FROM `latepaid` where regNo='$matNo'")->rowCount();
$checkPaid = $db->query("select * from remitaorder where regNo='$matNo'and paymenttype='School Fees' and transApproved='True'and `pay_session`='$asession' and status<>'Re-fund'")->rowCount();
$sqlr = $db->query("select late from realdata where (matNo='$matNo' or formNo='$formNo') and late=1");
$numr = $sqlr->rowCount();
$numr = 1;
if ($numr == 1) {
$matno = $_SESSION['matNo'];
$checkExemption = $db->query("select * from late_exempt where matNo='$matNo'")->rowCount();
if ($checkExemption == 0) {
$late_reg = $db->query("select * from remitaorder where regNo='$matNo'and paymenttype='Late Registration Penalty Charges' and transApproved='True'and `pay_session`='$asession' and status<>'Re-fund' ");
$late_reg_count = $late_reg->rowCount();
// echo $late_reg_count=1 ;
//die();
// echo $late_reg_count.'01';
// echo $checkLate_NUM.'02';
// echo $checkPaid.'03';
// die();
if ((($late_reg_count == 0) and ($checkPaid == 0)) or ($checkLate_NUM == 1)) {
// die("Error");
header('location:late_remitaPayment.php');
include('footMain.php');
die();
}
// die();
}
}
}
?>