| 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/eace_entranceForm/ |
Upload File : |
<?php
session_start();
require_once('headMain2.php');
extract($_POST);
if (isset($_SESSION['jamb'])){
$jamb=$_SESSION['jamb'];
}else{
$_SESSION['jamb']=$jamb;
}
require_once('../connect.php');
$db=db_connect();
$db->query("UPDATE `fedpoly`.`eace_admitted` SET `used` = '1' WHERE `eace_admitted`.`formNo` = '$jamb'");
$dd=$db->query("select * from current WHERE sn=2");
$dd_fetch=$dd->fetch(PDO::FETCH_BOTH);
$_SESSION['it_print']=$dd_fetch['it_start'];
$_SESSION['asession']=$dd_fetch['asession'];
$_SESSION['asemester']=$dd_fetch['asemester'];
//$sql="select * from admitted where (jambNo ='$jamb' or formNo='$jamb') and course not in ('BIOCHEMISTRY','Chemistry','MICROBIOLOGY','PHYSICS ELECTRONICS')";
$sql="select * from eace_admitted where (jambNo ='$jamb' or formNo='$jamb')";
$result=$db->query($sql);
$num =$result->rowCount();
?>
<div class="col-lg-8 col-lg-offset-2 " xmlns="http://www.w3.org/1999/html">
<?php
if ($num==1){
$result_fetch=$result->fetch(PDO::FETCH_BOTH);
$batch=$result_fetch['batch'];
$formStatus=$result_fetch['formStatus'];
$closed=$_SESSION['closed']=$result_fetch['closed'];
$_SESSION['olevelVerify']=$olevelVerify=$result_fetch['olevelVerify'];
$kMode=$result_fetch['mode'];
$deptTest=$result_fetch['course'];
$formNo= $_SESSION['formNo']=$result_fetch['formNo'];
$_SESSION['matNo']=$result_fetch['formNo'];
$_SESSION['sn']=$result_fetch['sn'];
$OriginalForm=$result_fetch['jambNo'];
require('../filetoU/logFile.php');
$logD='LogIn from Admission Status';
logDetail($jamb,$logD);
echo' <div class="col-lg-12 alert-info" style="margin-top: 20px; margin-bottom: 20px">';
$k= $result_fetch['mode'];
if ($k=='DPT'){
$msg='Daily Part Time';
}elseif($k=='HFT'){
$msg='HND FT';
}elseif($k=='NFT'){
$msg='ND FT';
}elseif($k=='RPT'){
$msg='ND PT';
}elseif($k=='PFT'){
$msg='Pre ND';
}elseif($k=='HDPT'){
$msg='HND DPT';
}
echo '<div style="font-size: 20px; color: #000066; margin-top: 20px; margin-bottom: 20px">Congratulation '. strtoupper($result_fetch['names']).'. <br> You have been offered Admission to study <BR> </div>
<div style="font-size: 20px; margin-top: 20px">'.$result_fetch['course']. ' ('.$msg.') in the Federal Polytechnic Ede Dual Award Programme'. '</div>
<p></p><div style="font-size: 20px; margin-top: 20px">Being in affiliation with the Osun State College of Education ACE Centre, Ila-Orangun, you will also obtain NCE upon the completion of the required course units. </div><p><div style="font-size: 20px; margin-top: 20px"> The Dual Award Programme is a 2-year FULL-TIME study with lectures taking place at Osun State College of Education, Ila-Orangun Campus</div></div>';
echo '<div style="font-size: 20px; color: #FF0099; display: none">Study Campus - Osun State College of Education, Ila-Orangun ACE Centre</div>';
echo "<hr>";
$_SESSION['names']=$result_fetch['names'];
$course=$_SESSION['course']=$result_fetch['course'];
$_SESSION['deptID']=0;
$res=$db->query("select * from dept where dOption='$course'");
$n=$res->rowCount();
if ($n==1) {
$res_fetch = $res->fetch(PDO::FETCH_BOTH);
$_SESSION['deptID'] = $res_fetch['sn'];
$_SESSION['dschool'] = $res_fetch['dSchool'];
$_SESSION['nce_deptName']= $res_fetch['nce_dept'];
}
$_SESSION['acceptance']=$result_fetch['acceptance'];
$_SESSION['levelID']=$result_fetch['levelID'];
$kk=$db->query("select * from eace_remitaorder where regNo='$formNo'and (paymentType='Acceptance Fee' or paymentType='Admission Slip') and transApproved='True' and pay_session='2019/2020'")->rowCount();
if ($kk==1) {
echo '<br>
<div style="font-size: 29px"class="fa fa-arrow-circle-o-right">Acceptance Fee has been PAID</div><p>
<div style="font-size: 19px; display: none" class="fa fa-arrow-circle-o-right"><a href="../eace_admin_student/print/acceptancePrint.php" target="_blank">Print Acceptance Receipt</a></p></div>
<p><div style="font-size: 26px" class="fa fa-arrow-circle-o-right"><a href="../eace_admin_student/print/admissionLetter.php" target="_blank">Print Admission Letter</a></div>';
echo "<hr><div style='font-size: xx-large; color: darkred'>Note:
<ul style='font-size: x-large; display: none; color: #002a80 '>
<li>Acceptance/School Fees Online Payments CLOSE on 8th March, 2019.</li>
<li>Orientation & Lectures commence on March 11th, 2019. </li>
<li>After the payments print all necessary document and proceed to Room 212 Administrative Block. </li>
</ul>
</div>";
$res_bio=$db->query("select * from eace_realdata where formNo='$formNo' and fresher='50' and matNo in (select regNo from eace_remitaorder where transApproved='True')");
$k=$res_bio->rowCount();
if ($k==0) {
$res_bio_fetch = $res_bio->fetch(PDO::FETCH_BOTH);
$newMatNo = $res_bio_fetch['matNo'];
echo '<div style="font-size: 19px; color: red" >Kindly Login With Your Matric No.(' . $newMatNo . ')</div>';
}else {
if ($olevelVerify <> '1') {
echo '<div style="font-size: 30px"><a href="olevelVerify.php" style="color: red">Check Your O\'Level</a></div>';
} else {
$noForm=$db->query("select formStatus from eace_admitted where formNo='$formNo' and formStatus=1")->rowCount();
if ($formStatus==1){
echo '<br><div style="font-size: 30px; color: #FF4444" class="fa fa-arrow-circle-o-right"><a href="../eace_admin_student/index_pay_AcceptanceACEFORM.php"> Click Here to Obtain Form</a></div>';
} else {
echo ' <p></p><div style="font-size: 19px; color: #f14833 " class="fa fa-arrow-circle-o-right"><a href="../eace_admin_student/index_pay_schoolFeesa.php" style="color: #0F9D58; font-size: larger"">Pay School Fees via Bank Account</a></div>';
}
}
}
}else if ($kk==0) {
?>
<?php
$noForm = $db->query("select formStatus from eace_admitted where formNo='$formNo' and formStatus=1")->rowCount();
if ($formStatus == 1) {
echo '<br><div style="font-size: 19px" class="fa fa-arrow-circle-o-right"><a href=login_process.php?user='.$OriginalForm .'&pass='.$OriginalForm.'> Click to Obtain Application Form</a></div>';
echo "<p><hr><div style='color: red; font-size: 25px'>Kindly Come Along with the Completed Application Form Printout to ICT (eace_edia Center) for Admission Regularization.</div>";
die("<hr>");
}else {
// echo '<br> <div style = "font-size: 19px;color:#ff0000" class="fa fa-arrow-circle-o-right" > <a href = "../eace_admin_student/index_pay_Acceptancea.php" > Click to Pay Acceptance Fees Via Bank Account </a ></div >';
echo '<br> <div style = "font-size: 19px;color:#ff0000" class="fa fa-arrow-circle-o-right" > <a href = "../eace_admin_student/index_pay_Acceptancea.php" > Click to Pay Acceptance Fees Via Bank Account </a ></div >';
//echo "kljlanksd";
}
if ($closed ==0){
$_SESSION['batch'] = $batch;
?>
<br>
<div>
<div align="center" style="display: none"><b>OR</b></div>
<ul style="display: none">
<li>
Pay Acceptance Fees with your Admission Number and Full Name (e.g. 8675643439GT - Adeagbo Ademola
James), the sum of Seventeen Thousand Five Hundred Naira (#17,500.00) only to ACE Centre.
<br><i><u>Account Details</u></i>
<br><b>Account Name :</b> Access For Collaborative Education (ACE) Centre
<br> <b>Account Number :</b> 2031463052
<br><b>Bank Name :</b> First Bank Nigeria Ltd.
</li>
</ul>
</div>
<br>
NOTE
<ol>
<li>
Come Along with your evidence of Acceptance Fee Payment to Admission Office, Room 212, Administrative
Building, Federal Polytechnic Ede
</li>
<li>
For further enquiries, Call 08092000666 & 07058216666
</li>
</ol>
</div>
<div style="font-size: 19px; display: none" class="fa fa-arrow-circle-o-right"><a
href="../admin_student/index_pay_adminSlip.php"> Click to Print Admission Slip</a></div>
<br/>
<?php
} else {
echo '<div style="font-size: 20px; color: red"><h2>Acceptance Fees Payment Has Closed</h2>';
// echo $closed;
}
}
//echo $closed;
echo '</div></div>';
echo'<br> <div style="font-size: 19px; color: #96a3b4;display: none" class="col-lg-6 col-lg-offset-3"><a href="paymentHistory.php"> Click to check Payment History</a></div></div>';
echo '</div>';
}else{
echo '<div style="font-size: 19px; color: red" class="col-lg-6 col-lg-offset-3"><h3>'."No Admission Yet".'</h3></div>';
}
?>
<br /><br />
</div>
</div>
<p></p>
<div class="col-lg-8 col-lg-offset-2">
<div class="col-lg-12 btn btn-info" style="font-size: 18px; color: red"><a href="logout_out.php" style="text-decoration: none">Log Out </a></div>
<div class="col-lg-12 btn btn-default" style=" data-x :30; data-y: 340"> <a onclick="window.open('../chat/student_chat.php?chatwith=ICT ADMIN','_blank','height=500,width=430,left=10,top=10, resizable=no,scrollbars=no,titlebar=no, toolbar=no,menubar=no,location=no,directories=no,status=no');" style="text-decoration:underline; cursor:pointer; font-weight:bold;" >Online ICT Support </a><br /><br /></div>
</div>