<?php

	require_once('source/session.php');
	require_once('source/error.php');
	require_once('source/dbconfig.php');
	require_once('source/function.php');
	
	if($SESS_FULLNAME_USER){
		$msg = "Welcome, $SESS_FULLNAME_USER!";
	}
	else if($_SESSION['msg'] == "activated"){
		$msg = "Email Verification is Successful!<br>Sign in to Your Dashboard";
	}
	else if($_GET['msg'] == "inactive"){
		$msg = "Are you a new member? Check youremail to activate your account Now! For a blocked participant, write to support.";
	}
	
	if($_SESSION['msg'] == "duplicate")
	{
		$msg = "Email already registered, please try another.";
	}            
	else if($_SESSION['msg'] == "signup")
	{
		$msg = "Account Registered successfully.";
	}            
	else if($_SESSION['msg'] == "captcha")
	{
		$msg = "Incorrect Captcha.";
	}            
	else if($_SESSION['msg'] == "samp")
	{
		$msg = "Samp request found, please try again.";
	}            
	else if($_SESSION['msg'] == "failed")
	{
		$msg = "Invalid Email Password Combination.";
	}            
	else if($_SESSION['msg'] == "forget")
	{
		$msg = "<h5 class='alert alert-success text-center'>New password has been sent to your verified email.";
	}            
?>
<!DOCTYPE html>
<html lang="en">

<head>
<head profile="http://www.w3.org/2005/10/profile">
<link rel="icon" 
      type="image/png" 
      href="https://rportal/lahs.com.ng/admin/lahs_logo.jpg">

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">
  <title>TEACHER'S HOME: BRITISH LEARNER'S COLLEGE, OWERRI, IMO STATE</title>
  <!-- Bootstrap core CSS-->
  <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <!-- Custom fonts for this template-->
  <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <!-- Custom styles for this template-->
  <link href="css/sb-admin.css" rel="stylesheet">
  <style type="text/css">
  #newlogo {	float: left;
	height: 124px;
	width: 100%;
	text-align: left;
}
  .style12 {color: #FFFF00}
  .style13 {color: #0000FF}
  .style14 {color: #FFFFFF}
  .style15 {color: #660099}
  .style16 {color: #660066}
  .style17 {color: #00FF00}
  .style18 {color: #0066FF}
  .style19 {color: #66FFCC}
  .style20 {color: #005AFF}
  .style21 {font-size: 100px; font-weight: bold; }
.style22 {font-family: vivaldi; color: #990033;}
  .style23 {
	color: #004466;
	font-weight: bold;
}
  .style24 {color: #FF0000}
.style27 {color: #FF6699}
  </style>
</head>

<body style="background: #ff878D">
 <center><BR><BR>
       <div align="center" class="style21"><img src="BLC_Banner_Result.png" alt="School Logo" width="1024px" height="90px" align="middle" /></div>
 </center>
  <div class="card-header" style=" background:  GREEN; color: yellow; font-weight: bold; text-align: center"><span class="style26">TEACHER LOGIN (RESULT MGT.)</span><br><span style="color:white">
        For BRITISH LEARNER'S COLLEGE, OWERRI, IMO STATE</span> <br> 
    <small><?php echo  $msg; ?></small></div>
      <div class="card-body">
      
                                        <ul style="list-style-type: none">
                                            <form method="post" action="exe_signin.php" enctype="multipart/form-data">
                                            <li><i class="fa fa-envelope"></i>
                                                <input placeholder="Enter Username" name="username" class="form-control" type="text" autofocus autocomplete="off" required>
                                            </li><br>
                                            <li><i class="fa fa-key"></i>
                                                <input placeholder="Enter Password" name="password" class="form-control" type="password" autocomplete="off" required>
                                            </li><br>
                                            <li>
                                              <Center><input type="submit" class="btn btn-block" style="background:  #18688A; border: 2px solid green; /* Green */ padding: 14px; width: 20%; color: #B3D9FF; font-weight: bold; font-size: 22px; text-align: center" name="signin" value="Sign-In"></Center>
                                            </li>
                                            </form>
                                        </ul>
    <div style="text-align: right"><strong><a href="https://dataswift.com.ng" style=" color:  #dd6262"><span style="text-align: right"><img src="../datalogo.jpg" width="121" height="57" alt="DataSwift" longdesc="https://dataswift.com.ng"></span><br>
										</a><a href="https://dataswift.com.ng/">Proudly Powered by<strong> DataSwift</strong></a><br>
                                        <span class="style24">For Support: +234-803-292-9756</a></span></strong></div>
      </div>
    </div></P>
</div>
    </div>
  <!-- Bootstrap core JavaScript--> 
  <script src="vendor/jquery/jquery.min.js"></script>
  <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <!-- Core plugin JavaScript-->
  <script src="vendor/jquery-easing/jquery.easing.min.js"></script>

      <div class="container">
        <div class="text-center" style="color: black"> <small><strong><span class="color: black">Copyright © 2024 BRITISH LEARNER'S COLLEGE, OWERRI, IMO STATE :: All Rights Reserved!</span></strong></small> 
        <br>| <a href="https://dataswift.com.ng"; color="pink">POWERED BY DATASWIFT PORTALS</a> And <a href="skulport.com.ng">SKULPORT</a></span></strong></small>        </div>
      </div>
</body>

</html>

