| 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/sch/ |
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('schools','sas','seet','sbs','ses', 'spds','sci','sst','sgs','saa');
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("sas.php");
elseif($fetch == $fpe_ray[2]) include("seet.php");
elseif($fetch == $fpe_ray[3]) include("sbs.php");
elseif($fetch == $fpe_ray[4]) include("ses.php");
elseif($fetch == $fpe_ray[5]) include("spds.php");
elseif($fetch == $fpe_ray[6]) include("sci.php");
elseif($fetch == $fpe_ray[7]) include("sst.php");
elseif($fetch == $fpe_ray[8]) include("sgs.php");
elseif($fetch == $fpe_ray[9]) include("saa.php");
}
// display content area
$mainbody = ob_get_contents();
ob_end_clean();
// include template
if(!in_array($fetch,$fpe_ray)) include("../FPE_skin/404.php");
else include('../FPE_skin/fpe_sch.php');
?>