| 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 : |
<?php
ob_start();
// die('<div style="color: #003300"><h2 align="center">Payment Starts Soon..</h2></div><br>;
//<div align="right"><a href="javascript:history.go(-1)"> Go to Previous page</a></div>');
include('headMain.php');
/**
* Created by PhpStorm.
* User: adisa
* Date: 3/2/2016
* Time: 3:31 PM
*/
// session_start();
// ob_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);
$("#amtv").text(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-3"></div>
<div class="col-lg-6">
<div class="panel panel-default">
<div class="panel-heading">
O'Level Payment (<?php echo $_SESSION['matNo'] ;?>)
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<form role="form">
<table width="100%" cellspacing="5" cellpadding="3">
<?php
require_once('../connect.php');
$db=db_connect();
$_SESSION['ptype']='Additional School Fees';
$matno= $_SESSION['matNo'];
$levelID=$_SESSION['levelID'];
$course= $_SESSION['course'];
$_SESSION['amount']=0;
$_SESSION['amount1']=0;
$sdouble=$db->query("select * from realdata where matNo='$matno'");
$rdouble=$sdouble->rowCount();
$sdouble_fetch=$sdouble->fetch(PDO::FETCH_BOTH);
if ($rdouble>0){
$formNo=$sdouble_fetch['formNo'];
// $_SESSION['matNo']=$matno;
}
?>
<tr>
<td> </td>
<td> </td>
<td><b>
<h3> Amount Expected: <div style="display:inline" id="amtv"></div></h3></b></td>
</tr>
<tr>
<td colspan="3"><table width="400" align="center">
<tbody>
<tr>
<td width="200">Payer Name:</td>
<td><input name="payerName" class="form-control" type="text" value="<?php echo $_SESSION['names'];?>" size="45" readonly="readonly" id="txtRound"/></td>
</tr>
<tr>
<td width="200">Payer Email: <font color="red">*</font></td>
<td><input name="payerEmail" class="form-control" required="required" value="" type="email" id="txtRound" /></td>
</tr>
<tr>
<td width="200">Payer Phone:</td>
<td><input name="payerPhone" class="form-control" value="" type="text" id="txtRound" /></td>
</tr>
<?php
$olevelCheck=$db->query("select * from realdata where matNo='$matno' and fresher<>'10'")->rowCount();
if ($olevelCheck>0){
?>
<tr>
<td>No. of O'level</td>
<td><label for="olevel"></label>
<select name="olevel" id="olevel" class="form-control">
<option value="0">1</option>
<option value="2500">2</option>
</select></td>
</tr>
<?php
}
?>
<tr>
<td width="200">Total Amount: <font color="red">*</font></td>
<td id="amt1"><input name="amt" class="form-control" type="text" required="required" value="<?php $amount=0; echo $amount;?>" readonly="readonly" id="amt" /></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><p></p></td></tr>
<tr>
<td colspan="2" align="center"><p><input type ="submit" class="btn btn-primary btn-block" name="input" value="Pay" id="button" />
<img src="../images/remitaLogo.jpg" alt="" width="418" height="90" />
<p><?php echo' <br /><a href="paymentHistory.php"> Click to check Payment Histroy</a>';?></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><b>
<h3> Amount Expected: 0</h3></b></td>
</tr>
</table>
</form>
</fieldset></td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</legend>
</fieldset>
</form>
</fieldset>
</td>
</tr>
</table>
<?php
include('footMain.php');
ob_end_flush();
?>
</div>