| 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/FPE_skin/ |
Upload File : |
<?php
require_once('../FpE_cess/fnect.php'); // insert db matters
require_once('fpe_header.php'); //insert header
$acquire = $_GET['fpe'];
$staffid='';
$staffon='0 0';
$emag='';
$stafftitle='';
$staffsur='';
$staffqua ='';
$staffpost ='';
$profile = "SELECT Title, StaffNo, Surname, OtherNames, Post, Qualification FROM Staff_Basic_Profile where Post = '$acquire'";
$fpedb = mysqli_query( $fpecon, $profile) or die(mysqli_errno());
while ($row = mysqli_fetch_array($fpedb))
{
$staffid = stripslashes($row["StaffNo"]);
$staffpost = stripslashes($row['Post']);
$stafftitle = stripslashes($row['Title']);
$staffsur = stripslashes($row['Surname']);
$staffon = stripslashes($row['OtherNames']);
$staffqua = stripslashes($row['Qualification']);
}
$oname = explode(" ",$staffon);
$initial = $oname[1][0];
$pflimg = "SELECT Filename, Location FROM staff_profile_images where StaffNo = '$staffid'";
$imgdb = mysqli_query( $fpecon, $pflimg) or die(mysqli_errno());
while ($row = mysqli_fetch_array($imgdb))
{
$emag = stripslashes($row['Location']);
$fmag = stripslashes($row['Filename']);
}
?>
<!-- START TEXT Container -->
<div class="container">
<div class="row"><!-- Left Container -->
<div class="col-lg-12" style="color: #900000">
<h1 class="page-header">Management Team, Federal Polytechnic Ede</h1>
</div>
<div class ="col-md-3a">
<?php
echo "<a href='../profile/?fpe=$staffid-b'><img src='$emag' alt='$stafftitle $staffsur $staffon' width='180px' /></a>
<div id='clr'></div>
<span class='name'><b>$stafftitle $staffsur $oname[0] $initial.</b>
<br />$staffqua<br></span>
<span style='text-transform:uppercase; font-size:12px; color:#a94442; font-weight:700'>$staffpost</span>";
?>
<div id="clr10"></div>
<div id="clru"></div>
<div class="panel-body">
<?php include_once('../profile/plink.php'); // profile links?>
<div id="relnav"> <a href="?fpe=management">Management Home</a></div>
<div></div>
<div></div>
</div>
<div id="clru"></div>
</div>
<!-- END LEFT CONTAINER -->
<!-- START RIGHT CONTAINER -->
<div class="col-md-8 panel panel-default">
<div class="panel-body col-lg-offset-a text-justify">
<?php echo $mainbody; ?>
</div></div>
<!-- END RIGHT CONTAINER -->
</div> <!--- END ROW --->
</div> <!--- END BODY Container --->
<!-- Footer -->
<?php
require_once('../fpe_footer.php')
?>