| Server IP : 172.64.80.1 / Your IP : 172.70.50.62 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/eClass/ |
Upload File : |
<?php
session_start();
$it_start=$_SESSION['it_print'];
$asession=$_SESSION['asession'];
$asemester=$_SESSION['asemester'];
require_once('../connect.php');
$db=db_connect();
$sql_current=$db->query("select * from current where sn=2");
$num_current=$sql_current->rowCount($sql_current);
$row_current=$sql_current->fetch(PDO::FETCH_BOTH);
if ($num_current>0){
// $semester=$_SESSION['asemester']=$row_current['asemester'];
// $asession=$_SESSION['asession']=$row_current['asession'];
// $it_print=$_SESSION['it_print']=$row_current['it_start'];
// $result_table=$_SESSION['result_table']=$row_current['result_table'];
$siwes_begin=$_SESSION['siwes_begin']=$row_current['siwes'];
$rsemester=$_SESSION['rsemester']=$row_current['rsemester'];
$rsession=$_SESSION['rsession']=$row_current['rsession'];
// die();
}
$rsession=$_SESSION['rsession'];
$rsemester=$_SESSION['rsemester'];
require_once ('result_fetch.php');
//$_SESSION['matNo']
if ((isset($_SESSION['sName'])) and (isset( $_SESSION['matNo']))){
$userLogin=$_SESSION['sName'];
}elseif((isset($_SESSION['names']))and (isset( $_SESSION['matNo']))){
$userLogin=$_SESSION['names'];
}else{
header('location:login.php');
}
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Student CPanel | Federal Poly Ede</title>
<!-- Bootstrap Core CSS -->
<link href="../bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- MetisMenu CSS -->
<link href="../bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
<!-- DataTables CSS -->
<link href="../bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" rel="stylesheet">
<!-- DataTables Responsive CSS -->
<link href="../bower_components/datatables-responsive/css/dataTables.responsive.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="../dist/css/sb-admin-2.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="../bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body >
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-static-top btn-primary" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<img src="../images/logoOriginal.png">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"></a>
<br>
</div>
<!-- /.navbar-header -->
<ul class="nav navbar-top-links navbar-right">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-envelope fa-fw"></i> <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-messages">
<li>
<a href="#">
<div>
<strong>Message</strong>
<span class="pull-right text-muted">
<em>Now</em>
</span>
</div>
<div>No Message...</div>
</a>
</li>
<li class="divider"></li>
</ul>
<!-- /.dropdown-messages -->
</li>
<!-- /.dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-alerts">
<li>
<a href="#">
<div>
<i class="fa fa-comment fa-fw"></i> Entrepreneurship Programme
<span class="pull-right text-muted small">4 minutes ago</span>
</div>
</a>
</li>
<li class="divider"></li>
</ul>
<!-- /.dropdown-alerts -->
</li>
<!-- /.dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#"><i class="fa fa-user fa-fw"></i> <?php echo $names=$_SESSION['names']?> Profile</a>
</li>
<li class="divider"></li>
<li><a href="changeLogin.php"><i class="fa fa-gear fa-fw"></i> Settings</a>
</li>
<li class="divider"></li>
<li><a href="forgetPass.php"><i class="fa fa-gear fa-fw"></i> Send My Login Detail via eMail</a>
</li>
<li class="divider"></li>
<li><a href="logout.php"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
</li>
</ul>
<!-- /.dropdown-user -->
</li>
<!-- /.dropdown -->
</ul>
<!-- /.navbar-top-links -->
<br>
<br>
<br>
<div class="navbar-default sidebar" role="navigation">
<div class="sidebar-nav navbar-collapse">
<ul class="nav" id="side-menu">
<li class="sidebar-search">
<div class="input-group custom-search-form">
<input type="text" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">
<i class="fa fa-search"></i>
</button>
</span>
</div>
<!-- /input-group -->
</li>
<li>
<a href="admin.php"><i class="fa fa-dashboard fa-fw"></i> Dashboard <?php echo '('.$userLogin.')';?></a>
</li>
<li>
<a href="../index.php"><i class="fa fa-home"></i> Back to Home Page </a>
<!-- /.nav-second-level -->
</li>
<?php
$summerStatus=0;
$levelID=$_SESSION['levelID'];
$matNo=$_SESSION['matNo'];
$graduated=$db->query("select * from realdata where matNo='$matNo' and graduated<>'Yes'");
$graduated_count=$graduated->rowCount();
$_SESSION['graduated']=$graduated_count;
if ($graduated_count==1) {
$graduated_fetch=$graduated->fetch(PDO::FETCH_BOTH);
$real_levelID=$graduated_fetch['levelID'];
$summerStatus=$graduated_fetch['summerStatus'];
// echo $summerStatus;
$activeStudent=$graduated_fetch['activeStudent'];
$kk='';
?>
<li>
<a href="#"><i class="fa fa-list-ul fa-fw"></i> Registration <span
class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="biodata.php" style="display: ">Biodata Update</a>
</li>
<li>
<a href="idCard.php" style="display: ">ID Card Update</a>
</li>
<!-- <li>
<a href="olevel.php">O'Level Comfirmation</a>
</li>-->
<li>
<a href="olevelupdate.php" style="display: ">O'Level Update</a>
</li>
<li>
<a href="courseReg.php" style="display: ">Course Registration</a>
</li>
<li>
<a href="courseReg_second.php" style="display: none">Second Course Registration</a>
</li>
</ul>
<!-- /.nav-second-level -->
</li>
<?php
}else{
$real_levelID=0;
$kk='style="display: none"';
$graduated1=$db->query("select * from realdata where matNo='$matNo' and graduated='Yes'");
$graduated_count1=$graduated1->rowCount();
if ($graduated_count1==1){
$graduated1_fetch=$graduated1->fetch(PDO::FETCH_BOTH);
$real_levelID=$graduated1_fetch['levelID'];
$kk='';
}
}
?>
<li <?php echo $kk;?>>
<a href="#"><i class="fa fa-upload fa-fw"></i> Payment <span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<?php
if ($graduated_count==1) {
?>
<li>
<<a href="remitaacceptance.php" style="display: none">Acceptance Fee</a>
</li>
<li>
<a href="remitaschoolfee.php" style="display: ">School Fees</a>
</li>
<li>
<a href="index_pay_OlevelAdd.php" style="display: ">Additional O'Level</a>
</li>
<?php
}
?>
<li>
<!-- <a href="remitaPayment.php">Other Payment</a>-->
<a href="index_pay_otherpayment_c.php">Other Payments</a>
</li>
</ul>
</li>
<?php
$dept_siwes_eligible=$_SESSION['siwes_begin'];
$siwes=$db->query("select * from siwesexception where matNo='$matNo'");
$siwes_count=$siwes->rowCount();
// if(isset($_SESSION['siwes'])){
// $dept_siwes_eligible=$_SESSION['siwes'];
// }
if (($dept_siwes_eligible==1) and ($_SESSION['siwes']==1)) {
if (($real_levelID==1) or ($real_levelID==8) or ($siwes_count==1) ){//or ($dept_siwes_eligible==0)) {
?>
<li>
<a href="#"><i class="fa fa-upload fa-fw"></i> <?php //echo $dept_siwes_eligible;?>SIWES Programme<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="#"><i class="glyphicon-pencil"></i> Forms<span class="fa arrow"></span></a>
<?php
echo '<ul class="nav nav-third-level" style="display: ">';
?>
<li>
<a href="siwes/siwesBiodata.php">SIWES Biodata Form</a>
</li>
<li>
<a href="siwes/siwesReference.php">SIWES Placement Form</a>
</li>
<li>
<a href="siwes/siwesEndProgram.php">Report Sheet Form</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-print fa-fw"></i>Printing <span class="fa arrow"></span></a>
<ul class="nav nav-third-level">
<li>
<a href="siwes/siwesLetter.php" target="_blank">SIWES Letter</a>
</li>
<!-- <li>-->
<!-- <a href="#" target="_blank"></i>SIWES Biodata</a>-->
<!-- </li>-->
<li>
<a href="siwes/siwesPlacement.php" target="_blank"></i>SIWES Placement</a>
</li>
<!-- <li>-->
<!-- <a href="siwes/siwesReferencePrint.php" target="_blank">SIWES Placement Reference</a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a href="siwes/siwesForm8.php" target="_blank">SIWES E.O.P Report</a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a href="siwes/siwesAssessmentFormA1.php" target="_blank">Assessment Form (Form A1)</a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a href="siwes/siwesAssessmentFormA2.php" target="_blank">Assessment Form (Form A2)</a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a href="siwes/employerForm.php" target="_blank">Assessment Form (Form A2)</a>-->
<!-- </li>-->
</ul>
</li>
</ul>
</li>
<?php
}
}
?>
<li <?php echo $kk;?>>
<a href="#"><i class="fa fa-print fa-fw"></i> Printing/Downloading <span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<?php
if ($graduated_count==1) {
?>
<li>
<a href="print/admissionLetter.php" target="_blank">Admission Letter</a>
</li>
<li>
<a href="print/acceptancePrint.php" target="_blank">Acceptance Fee Receipt </a>
</li>
<li>
<a href="print/biodataPrint.php" target="_blank" >Biodata </a>
</li>
<li>
<a href="print/coursePrint.php" target="_blank">Semester Course Form</a>
</li>
<li>
<a href="print/examSlip.php" target="_blank" style="display: none">Exam Slip</a>
</li>
<li>
<a href="print/schoolFeePrint.php" target="_blank">School Fees Receipt</a>
</li>
<!-- <li>
<a href="print/coursePrint_second.php" style="display: none" target="_blank">Second Semester Course Form</a>
</li>-->
<<li>
<!-- <a href="print/clearanceCertificate.php" target="_blank" >Semester Clearance</a>-->
</li>
<li>
<a href="idCard.php" target="_blank" >ID Card Preview</a>
</li>
<li>
<a href="print/libraryPrint.php" target="_blank" >Library/Clearance</a>
</li>
<?php
if (($it_start==1) and ($levelID==2 or $levelID==9 or $levelID==7)){
echo '<li>
<a href="siwes/itLetter.php" target="_blank">IT Letter</a>
</li>';
}
if ($levelID==1 or $levelID==3 or $levelID==8 or $levelID==5 or $levelID==11 or $levelID==10){
echo '<li>
<a href="print/medForm.php" target="_blank">Medical Form</a>
</li>';
}
}
?>
<li>
<a href="studentLoginNow.php" target="_blank">Semester Result <?php //echo $summerStatus_1;?></a>
</li>
</ul>
</li>
<!--============================ Summer-->
<?php
//$resultRemark=
//$checkRemark="select * from rawcgpa where matNo='$matNo' and `remark` LIKE '%OC-%' and (`level`='National Diploma II FT SECOND SEMESTER' or `level`='Higher National Diploma II FT SECOND SEMESTER' or `level`='National Diploma III PT SECOND SEMESTER' or level='National Diploma (Daily) II PT SECOND SEMESTER' )";
//$resultRemark=$db->query($checkRemark);
//echo $numRemark=$resultRemark->rowCount();
//$numRemark=$summerStatus;
echo $numRemark=$summerStatus_1;
//die();
// $numRemark=0;
if ($numRemark>0){
?>
<li>
<a href="#"><i class="fa fa-adjust fa-fw"></i> Summer Programme<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="remitaschoolfeeSummer.php" target="_blank">Pay Summer School Fees</a>
</li>
<li>
<a href="courseRegSummer.php" target="_blank">Course Registration</a>
</li>
<li>
<a href="print/coursePrintSummer.php" target="_blank">Print Course Form</a>
</li>
</ul>
</li>
<?php
}
?>
<!--- End CS201300650
<!-- /.nav-second-level -->
<li style="text-align: center">
<a href="#" style="background-color: PINK">
<div class="huge" >
<img src="../passport/Reg<?php echo $matNo;?>.jpg" width="140px" height="140px" class="img-circle" />
</div>
<strong><div><?php echo $names ;?></div>
<div><?php echo $matNo ;?></div>
<div><?php echo $_SESSION['course'] ;?></div>
<div><?php
$sql_l=$db->query("select * from leveltb where id='$levelID'");
$sql_l_fetch=$sql_l->fetch(PDO::FETCH_BOTH);
if($graduated_count==1){
echo $levelName=$sql_l_fetch['levelName'].'['.$asession.']';
}else{
$levelName=$sql_l_fetch['levelName']; echo '<div style="color: red">You are NOT an ACTIVE Student</div>';
}
;?></div></strong>
</a>
</li>
</ul>
</li>
</div>
<!-- /.sidebar-collapse -->
</div>
<!-- /.navbar-static-side -->
</nav>
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Student Account <span style="font-size: 20px; color: blue;"><?php echo '('.$_SESSION['asession']. ' - '. $_SESSION['asemester'].')';?></span></h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<!-- /.row -->
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
</div>
<div class="col-xs-10 text-center">
<?php
$matNo=$_SESSION['matNo'];
$formNo=$_SESSION['formNo'];
$sql="select sum(amtPaid) as amt from remitaorder where regNo='$formNo' and paymentType='Acceptance Fee' and transApproved='True' and status<>'Re-fund'";
$query=$db->query($sql);
$row_acceptance=$query->fetch(PDO::FETCH_BOTH);
$numK=$query->rowCount();
//$admitted=$num;
?>
<div class="huge">
<?php
if($formNo<>0) {
if ($row_acceptance['amt'] <> 0) {
echo $row_acceptance['amt'];
} else {
echo 'Not Paid';
}
}else{
echo 'N/A';
}
?></div>
<div></div>
</div>
</div>
</div>
<a href="print/acceptancePrint.php" target="_blank">
<div class="panel-footer">
<span class="pull-left">Acceptance Fees </span>
<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-green">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
</div>
<div class="col-xs-10 text-center">
<?php
//echo $formNo;
// echo $matNo;
$sql_schoolFee="select sum(amtPaid) as amt,regNo from remitaorder where (regNo='$formNo' or regNo='$matNo') and paymentType like '%School Fees' and transApproved='True' and status<>'Re-fund' and pay_session='2019/2020'";
$query_schoolFee=$db->query($sql_schoolFee);
$row_schoolFee=$query_schoolFee->fetch(PDO::FETCH_BOTH);
$num_schoolFee=$query_schoolFee->rowCount();
// echo $row_schoolFee['amt'];
//$admitted=$num;
// echo $num_schoolFee;
$amtCheck=$row_schoolFee[0];
$_SESSION['amtPaidSF']=$row_schoolFee['amt'];
?>
<div class="huge"><?php if ($amtCheck>0){echo $row_schoolFee['amt'];}else{ echo 'Not Paid';}?></div>
</div>
<div></div>
</div>
</div>
<a href="print/schoolFeePrint.php" target="_blank">
<div class="panel-footer">
<span class="pull-left">School Fees </span>
<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-yellow">
<div class="panel-heading">
<div class="row">
<div class="col-xs-10 text-center">
<div class="huge">
<?php
$levelID=$_SESSION['levelID'];
$sql_otherFee="select sum(amtPaid) as amt,regNo from remitaorder where (regNo='$formNo' or regNo='$matNo') and paymentType not like '%School Fees' and paymentType not like 'Acceptance Fee' and transApproved='True' and status<>'Re-fund'";
// $sql_level="select * from leveltb where id='$levelID'";
$query_oFee=$db->query($sql_otherFee);
$query_oFee_fetch=$query_oFee->fetch(PDO::FETCH_BOTH);
// $numa=mysql_num_rows($querya);
if ($query_oFee_fetch['amt']>0){echo $query_oFee_fetch['amt'];}else{echo '0.00';};
?>
</div>
<div></div>
</div>
</div>
</div>
<a href="paymentHistoryb.php" target="_blank">
<div class="panel-footer">
<!-- <span class="pull-left">--><?php
// $k=$db->query("select * from current");
// $roww=$k->fetch(PDO::FETCH_BOTH);
// echo $deptID=$_SESSION['course'].'('.$roww['asession'].')';?>
<span class="pull-left">Other Payment(s)</span>
<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
<div class="clearfix"></div>
</div>
</a>
</div>
</div>
<div class="col-lg-2 col-md-6">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-right">
<div class="huge">
<img src="../passport/Reg<?php echo $matNo;?>.jpg" width="140px" height="140px" class="img-circle" />
</div>
<div></div>
</div>
</div>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
<?php
?>