403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.69.7.193
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/entranceform/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/entranceform/formPayment2.php
<?php
session_start();
$mainBody='
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>ePortal | Other  Payment</title>
    <link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>';
//die("An Error ee");
//$_SESSION['matNo']='1610409186';
//$_SESSION['paymentTYPE']='utmeForm';
if (isset($_GET['matNo'])){
     $idNo=$_GET['matNo'];
}else{
    die("An Error Occured");
}
require_once('../connect.php');
$db=db_connect();
$biodataSQL="select * from entrancetable where formNo='$idNo'";
//die($biodataSQL);
$biodataResult=$db->query($biodataSQL);
 $biodataNum=$biodataResult->rowCount();
$biodataResult_fetch=$biodataResult->fetch(PDO::FETCH_BOTH);
// $orderID=mysql_result($biodataResult,0,'orderID');
$names=$biodataResult_fetch['surname'].' '.$biodataResult_fetch['othernames'];
//$idNo=$biodataResult_fetch['surname'];
 $formTypea=$biodataResult_fetch['formType'];
 $formNo=$biodataResult_fetch['formNo'];

//die();
if ($formTypea=='preForm'){
    $formType='PRE ND';
}elseif ($formTypea=='hndForm') {
    $formType = 'Higher Diploma FT';
}elseif ($formTypea=='utmeForm') {
    $formType = 'ND Screening';
}elseif ($formTypea=='dptForm') {
    $formType = 'Daily Part Time';
}elseif ($formTypea=='ptForm') {
    $formType = 'ND PART TIME';
}elseif ($formTypea=='certForm') {
    $formType = 'Certificate Course';
}
//$idNo=$_SESSION['matNo'];
//echo $formTypea;
$sqlBank="select * from remitaorderform where regNo='$idNo' and transApproved='True' and paymenttype='$formTypea'";
$resultBank=$db->query($sqlBank);
$resultBank_fetch=$resultBank->fetch(PDO::FETCH_BOTH);
$countBank=$resultBank->rowCount();

$descr=$formType;

$mainBody.='
<table width="80%" align="center" cellpadding="3" cellspacing="5">
    <tr>
        <td><table width="100%" cellspacing="1" cellpadding="1">
                <tr>
                    <td valign="top"><table width="100%" cellspacing="1" cellpadding="1">
                            <tr>
                                <td align="center" valign="top"><p><img src="../images/siwesHead.png" width="731" height="95" /></p></td>
                            </tr>
                            <tr>
                                <td align="center" bgcolor="#CCCCCC"><H2><strong> PAYMENT RECEIPT </strong></H2></td>
                            </tr>
                        </table></td>
                </tr>
                <tr>
                    <td><table width="100%" cellspacing="5" cellpadding="3">

                            <tr>
                                <td  colspan="1" id="lab">Application Number</td>
                                <td >&nbsp;</td>
                                <td colspan="3">'.$biodataResult_fetch['formNo'].'</td>
                            </tr>
                            <tr>
                                <td colspan="1" id="lab">Name</td>
                                <td>&nbsp;</td>
                                <td colspan="3"><b><H3>'. strtoupper($names).'</H3></b></td>
                            </tr>
                            <tr>
                                <td colspan="1" id="lab">Description</td>
                                <td>&nbsp;</td>
                                <td colspan="3">'. $descr.'</td>
                            </tr>
                            <tr>
                                <td colspan="4" id="lab">&nbsp;</td>
                            </tr>
                        </table></td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" cellspacing="5" cellpadding="3">
                            <tr>
                                <td colspan="5" bgcolor="#999999" id="headingg">PAYMENT DETAILS</td>
                            </tr>
                            <tr>
                                <td colspan="5">
                                    <table width="100%" cellspacing="5" cellpadding="3">

                                        <tr>
                                            <td><table width="100%" border="1" cellpadding="3" cellspacing="0">';

                                                    if ($countBank>0){
                                                      $mainBody.='
                                                        <tr>
                                                            <td colspan="2" id="heeee">Payment Details</td>
                                                        </tr>
                                                        <tr>
                                                            <td width="29%"><strong>Receipt Number</strong></td>
                                                            <td width="71%">'.$resultBank_fetch['orderID'].'</td>
                                                        </tr>
                                                        <tr>
                                                            <td><strong>Amount Paid</strong></td>
                                                            <td>N'.$resultBank_fetch['amtPaid'].'</td>
                                                        </tr>
                                                        <tr>
                                                            <td><strong>Remita Retrieval Reference</strong></td>
                                                            <td>'.$resultBank_fetch['remitaRRR'].'</td>
                                                        </tr>
                                                        <tr>
                                                            <td><strong>Date Paid</strong></td>
                                                            <td>'. $resultBank_fetch['dateCreated'].'</td>
                                                        </tr>';

                                                    }else{
                                                      $mainBody.='
                                                        <tr>
                                                            <td>&nbsp;</td>
                                                            <td id="errr"><h3> Payment has not been made</h3></td>
                                                        </tr>';

                                                    }
                                                 $mainBody.='
                                                </table></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td height="25" colspan="5" bgcolor="#ffffff">Print this receipt for Official Purpose.</td>
                            </tr>
                            <tr>
                                <td height="25" colspan="5" bgcolor="#FFFFFF" id="">&nbsp;</td>
                            </tr>
                        </table></td>
                </tr>

            </table></td>
    </tr>
</table>
</body>
</html>';
//echo $mainBody;
include("../mpdf/mpdf.php");
$mpdf=new mPDF('c');

$mpdf->SetWatermarkImage('../images/logoBack.png');
$mpdf->showWatermarkImage = true;

$dat=date('l, M d, o, h:i:s a');
$customizedFooter='<img src="../images/siwesfooter.png"><br><div align="right">'. $dat.'</div>';

$mpdf->WriteHTML($mainBody);
$mpdf->setFooter($customizedFooter) ;
$mpdf->Output();
exit;
ob_end_flush();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit