| Server IP : 172.64.80.1 / Your IP : 172.69.58.211 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/mgt/ |
Upload File : |
<?php
if (!isset($_SESSION)) session_start();
// Fetch the page to display
ob_start();
$fetch = $_GET['fpe']; // get action file to know which page to show
$fpe_ray = array('management','rector','dradmin','registrar','bursar','librarian','council','dracad');
if(!in_array($fetch,$fpe_ray)) include("../404error.php"); // check page manipulations
else{
if($fetch == $fpe_ray[0]) include("intro.php");
elseif($fetch == $fpe_ray[1]) include("rector.php");
elseif($fetch == $fpe_ray[2]) include("dradmin.php");
elseif($fetch == $fpe_ray[3]) include("registrar.php");
elseif($fetch == $fpe_ray[4]) include("bursar.php");
elseif($fetch == $fpe_ray[5]) include("librarian.php");
elseif($fetch == $fpe_ray[6]) include("council.php");
elseif($fetch == $fpe_ray[7]) include("dracademics.php");
}
// display content area
$mainbody = ob_get_contents();
ob_end_clean();
// include template
if(!in_array($fetch,$fpe_ray)) include("../FPE_skin/404.php");
elseif($fetch == $fpe_ray[0]) include('../FPE_skin/fpe_admin.php');
elseif($fetch == $fpe_ray[6]) include('../FPE_skin/fpe_admin.php');
else include('../FPE_skin/fpe_profile_mgt.php');
?>