| Server IP : 172.64.80.1 / Your IP : 172.70.127.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_backup/ace_entranceForm/ |
Upload File : |
<?php
ob_start();
session_start();
require_once('headMain2.php');
if(!isset($_SESSION['batch'])){
include('footMain.php');
die('Acceptance Fees has Closed');
}
require_once('../connect.php');
$db=db_connect();
/**
* Created by PhpStorm.
* User: adisa
* Date: 3/2/2016
* Time: 3:31 PM
*/
//session_start();
if(!isset($_SESSION['matNo'])){
header('location:login.php');
}
?>
<script type="text/javascript" language="javascript" src="../js/jquery-1.7.1.js"></script>
<script type="text/javascript" language="javascript" >
$(function(){
$("#olevel").change(function(){
($("#olevel").val());
$.post("../js/getolevel.php",{olevel:$("#olevel").val()},function(data){
$("#amt").val(data);
});
});
$("#paymentMode").change(function(){
// ($("#paymentMode").val());
$.post("../js/getPartPayment.php",{paymentMode:$("#paymentMode").val()},function(data){
// alert (data);
$("#trow").html(data);
});
});
});
</script>
<div id="wrapper">
<table width="100%" align="center" cellpadding="3" cellspacing="5">
<tr>
<td><fieldset>
<form id="form1" name="form1" method="post" action="processpayment.php" role="form">
<fieldset>
<legend>
<div class="row">
<div class="col-lg-2"></div>
<div class="col-lg-8">
<div class="panel panel-default">
<div class="panel-heading">
Acceptance Fees Payment (
<?php
echo $formNo=$_SESSION['formNo'] ;
$a=$db->query("select * from realdata where formNo='$formNo'");
$f=$a->rowCount()
?>)
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<form role="form">
<?php
if($f==1){
echo "Acceptance Fee Has Been Paid";
}else {
?>
<table width="100%" align="center">
<tbody>
<tr>
<td width="60%">Payer Name:</td>
<td><input name="payerName" type="text"
value="<?php echo $_SESSION['names'];
$_SESSION['ptype'] = 'Acceptance Fee';
?>" size="45" readonly="readonly"
class="form-control"></td>
</tr>
<tr>
<td width="60%">Payer Email: <font
color="red">*</font></td>
<td><input name="payerEmail" required value=""
type="email" class="form-control">
</td>
</tr>
<tr>
<td>Payer Phone:</td>
<td><input name="payerPhone" value=""
type="text" class="form-control">
</td>
</tr>
<tr>
<td width="200">Acceptance Fee: <font
color="red">*</font></td>
<td><input type="text"
class="form-control" required
value="10000" readonly="readonly">
</td>
</tr>
<tr>
<td width="200">Charges: <font
color="red">*</font></td>
<td><input type="text"
class="form-control" required
value="500" readonly="readonly">
</td>
</tr>
<tr>
<td width="200">Total: <font
color="red">*</font></td>
<td><input name="amt" type="text"
class="form-control" required
value="10500" readonly="readonly">
</td>
</tr>
<tr>
<td width="200">Payment Type:</td>
<td>
<select class="required-entry form-control"
title="Credit Card Type"
name="paymenttype" id="paymenttype"
autocomplete="off">
<option>-- Select Payment Type --
</option>
<option value="VERVE"> Verve Card
</option>
<option value="VISA"> Visa</option>
<option value="MASTERCARD"> MasterCard
</option>
<option value="POCKETMONI"> PocketMoni
</option>
<option value="POS"> POS</option>
<option value="ATM"> ATM</option>
<option value="BANK_BRANCH">BANK
BRANCH
</option>
<option value="BANK_INTERNET">BANK
INTERNET
</option>
<option value="REMITA_PAY"> Remita
Account Transfer
</option>
</select>
</td>
</tr>
<tr>
<td width="200"></td>
<td><p></p><input type="submit" name="" value="Pay"
class="btn btn-primary form-control">
<img src="../images/remitaLogo.jpg"
alt="" width="418" height="90"/></td>
</tr>
<tr><td colspan="3"><br> <div style="font-size: 19px; color: #96a3b4" class="col-lg-6 col-lg-offset-3"><a href="paymentHistory.php"> Click to check Payment History</a></div></td></tr>;
</tbody>
</table>
<?php
}
?>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</legend>
</fieldset>
</form>
</fieldset>
</td>
</tr>
</table>
<?php
include('footMain.php');
?>
</div>