Al-HUWAITI Shell
Al-huwaiti


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/ondostategov/public_html/scholarshipboardondostate/ossms/back_dashboard.php
<?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: back_login.php");
		exit;
	}
	
	echo $user_id;
	// select loggedin users detail
	$user_id = $_SESSION['user_id'];
	$res1=mysqli_query( $conn, "SELECT * FROM admin WHERE user_id=".$_SESSION['user_id']);
	$userRow1=mysqli_fetch_array($res1);
	
	//$res2=mysqli_query($conn, "SELECT * FROM scholarship WHERE email = '$search' OR mat_no = '$search'");
	//$userRow2=mysqli_fetch_array($res2);
?>
<!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&amp;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 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 "[".$userRow1['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>
               
            </div>
            <div class="w3-bar-item  w3-right">
                <a href="logout.php" class="w3-button" >LOGOUT</a>
                
            </div>
         </div>
    </div>
    <!-- end header div--> 
    <br>    
    <!-- scholarship plan -->    
  	<div class="w3-container ">  
  		<div class="w3-card-4">

            <div class="w3-container w3-light-grey">
              <h2>Admin Dashboard</h2>
            </div>
			<br>
            <div class="w3-container">
            	<div class="w3-quarter w3-padding">
				<a href="all.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">All Records</div></a>
                	<a href="back_dashboard.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-grey w3-hover-grey">Decision-Making</div></a>
                	<a href="admin.dashboard_origin_lga.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Search by LGA</div></a>
                    <a href="search_origin_town.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Search by Town</div></a>
                    <a href="search_school_name.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey ">Search School</div></a>
                    <a href="export_disability.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Qualify Disability</div></a>
					<a href="qualify_scholarship.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Qualify for scholarship</div></a>
                    <a href="export_bursary.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Qualify for bursary</div></a>
					<a href="export_medical.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Qualify Medical Students</div></a>
					<a href="export_law.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Qualify Law Students</div></a>
					<a href="export_completed.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Completed Applications</div></a>
					<a href="export_remark.php" style=" text-decoration:none"><div class="w3-row w3-padding w3-border-top w3-border-bottom w3-light-grey w3-hover-grey">Qualified Applicants</div></a>
				</div>
                
                <div class="w3-threequarter">
                
                     <form class="w3-container" method="post" action="process_back_dashboard.php">
                        <div class="w3-row w3-padding">
                          <h4>
					<?php
			
						if(isset($_SESSION['err_msg']))
						{
					?>
							
							
							<div class="alert alert-danger">
							<span><center>
							<?php echo $_SESSION['err_msg'];
								unset($_SESSION['err_msg']); 
							?>
							</center></span>
							</div>
							
							
							
							<?php
						} else
						if(isset($_SESSION['msg']))
						{
					?>
							
							
							<div class="alert alert-success">
							<span><center>
							<?php echo $_SESSION['msg'];
								unset($_SESSION['msg']); 
							?>
							</center></span>
							</div>
							
							<?php
						}?></h4>  
                            <h3><b>Search for Applicants</b><br>Enter applicant email or matric number for searching...</h3>
                         
                        </div>
                        
                                             
                        <div class="w3-row">
                            <div class="w3-third w3-padding" style="text-align:right; padding-right:100px"></div>
                            <div class="w3-third w3-padding" >
							<input name="search" class="w3-input w3-border w3-round" type="text" placeholder = "Email/Matric No./Phone No.">
                            </div>
                            <div class="w3-third w3-padding">&nbsp;</div>
                        </div>
                        
                        <div class="w3-row">
                            <div class="w3-third w3-padding" style="text-align:right; padding-right:100px"></div>
                            <div class="w3-third w3-padding">
							
							<div class="w3-third w3-padding" style="text-align:center;"><button class="w3-btn w3-left w3-dark-grey w3-hover-grey" name="submit">Search</button></div>
                            </div>
                            <div class="w3-third w3-padding">&nbsp;</div>
                        </div>
                        
                        
                        
                      
                     
                        
                        
                       
                    </form>
                    
                </div>
            </div>
            <br>
		</div>
        
    </div>
    <!-- end scholarship plan -->
    <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>&copy; 2018 OSSMS</p>
                </div>
                <div class="w3-third w3-center">
                    <p>A product of <a href=""><img src="images/sitaLogo.png" width="60" alt="SITA" style="border-radius:10px" ></a>
                </div>
                <div class="w3-third w3-right w3-hide-small" style="padding-top:15px; padding-left: 100px">                    
                		<a href="index.php" class="w3-bar-item">Terms</a>
                		<a href="about.php" class="w3-bar-item">Privacy</a>
                		<a href="faq.php" class="w3-bar-item">Contact Us</a>
                </div>
            </div>
         </div>
    </div>
    <!-- end footer -->

<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>

Al-HUWAITI Shell