Server : Apache System : Linux 122.228.205.92.host.secureserver.net 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64 User : ondostategov ( 1002) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/ondostategov/public_html/scholarshipboardondostate/ossms/ |
<?php
//ob_start();
session_start();
require_once 'conn.php';
// if session is not set this will redirect to login page
if( !isset($_SESSION['user_id']) ) {
header("Location: index.php");
exit;
}
$res2=mysqli_query( $conn, "SELECT * FROM scholarship WHERE user_id=".$_SESSION['user_id']);
$userRow2=mysqli_fetch_array($res2);
$completed = $userRow2['completed'];
if($completed == 0){
header("Location: dashboard_personal_data.php");
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ondo State Scholarship Board</title>
<style><!--
body{
font-family:Arial, Helvetica, sans-serif;
}
h1{
font-family:'Georgia', Times New Roman, Times, serif;
}
--></style>
<!-- Custom-Files -->
<link type="text/css" rel="stylesheet" href="bootstrap-3.2.0-dist/css/bootstrap.css">
<link href="images/ondologo.png" rel="icon" type="image/jpg"/>
<link href="css/w3.css" rel="stylesheet" type="text/css">
<link href="date/tcal.css" rel="stylesheet" type="text/css">
<link href="css/w3colors.css" rel="stylesheet" type="text/css">
<link href="css/custom.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="date/tcal.js"></script>
<!-- Web-Fonts -->
<link href="//fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese"
rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i" rel="stylesheet">
<!-- //Web-Fonts -->
</head>
<body id = "body" class="w3-container">
<!--header div -->
<div class="w3-container ">
<div class="w3-container w3-card w3-text-black w3-dark-grey">
<div class="w3-half">
<h1 class="w3-container w3-text-black" style=" font-style:italic; font-weight:bold; font-size:40px"><img src="images/ondologo.PNG" alt="Ondo State Logo" width="100" style="border-radius:10px"> OSSMS</h1>
<h6 class="w3-container">Ondo State Scholarship Management System</h6>
</div>
<div class="w3-half" style="padding-top:73px">
<h6 class="w3-right w3-container">
<?php
echo $userRow2['surname']. ' '. $userRow2['firstname'] . ' [' .$userRow2['email'] . ']';
?>
</h6>
</div>
</div>
<div class="w3-container w3-card w3-grey" >
<div class="w3-left w3-hide-small">
<a href="index.php" class="w3-bar-item w3-button">HOME</a>
<a href="contactus.php" class="w3-bar-item w3-button">CONTACT US</a>
</div>
<div class="w3-bar-item w3-right">
<a href="logout.php" class="w3-button" >LOGOUT</a>
</div>
</div>
</div>
<!-- end header div-->
<br>
<!-- contact -->
<table>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
</table>
<div class="contact py-5">
<div class="container py-xl-5 py-lg-3">
<h3 class="title text-capitalize font-weight-light text-dark text-center mb-5">
<span class="font-weight-bold"></span>
</h3>
<div class="row contact-grids agile-1 py-sm-5 pb-sm-0 pb-5">
<div class="col-sm-4 contact-grid agileinfo-6 mt-sm-0 mt-2">
<div class="contact-grid1 text-center">
<div class="con-ic">
<i class="fas fa-map-marker-alt rounded-circle"></i>
</div>
<h4 class="font-weight-bold mt-sm-4 mt-3 mb-3">Address</h4>
Scholarship Board,<br>
Alagbaka, Akure, Ondo State
</div>
</div>
<div class="col-sm-4 contact-grid agileinfo-6 my-sm-0 my-4">
<div class="contact-grid1 text-center">
<div class="con-ic">
<i class="fas fa-phone rounded-circle"></i>
</div>
<h4 class="font-weight-bold mt-sm-4 mt-3 mb-3">Call Us</h4>
0805-473-3697
</div>
</div>
<div class="col-sm-4 contact-grid agileinfo-6">
<div class="contact-grid1 text-center">
<div class="con-ic">
<i class="fas fa-envelope-open rounded-circle"></i>
</div>
<h4 class="font-weight-bold mt-sm-4 mt-3 mb-3">Email</h4>
<a href="mailto:info@onssb.on.gov.ng">info@onssb.on.gov.ng</a><br>
<a href="mailto:help@onssb.on.gov.ng">help@onssb.on.gov.ng</a>
<table>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- //contact -->
<br>
<!-- footer -->
<div class="w3-container">
<div class="w3-container w3-dark-grey w3-topbar w3-border-grey " >
<div class="w3-row">
<div class=" w3-third">
<p>© 2018 OSSMS</p>
</div>
<div class="w3-third w3-center">
<p>Designed by <a href="www.sita.ondostate.gov.ng"><img src="images/sitaLogo.png" width="60" style="border-radius:10px"></a>
</div>
</div>
</div>
</div>
<!-- end footer -->
<script>
function printContent(el)
{
var restorepage = document.body.innerHTML;
var printcontent = document.getElementById(el).innerHTML;
document.body.innerHTML = printcontent;
window.print();
document.body.innerHTML = restorepage;
}
</script>
<script>
function myFunction(id) {
var x = document.getElementById(id);
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>
</body>
</html>