<?php

	require_once('source/session.php');
	require_once('source/error.php');
	require_once('source/dbconfig.php');
	require_once('source/function.php');
       
?>
<!DOCTYPE html>
<html lang="en">

<head>
  <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>Scoresheet</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">
</head>

<body style="background: grey">
  <div class="container">
    <div class="card card-login mx-auto mt-5">
      <div class="card-header" style=" background:  #dd6262; color: white; font-weight: bold; text-align: center">Welcome to Result Portal<br> <small>Sign In Now!</small><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>
                                                <input type="submit" class="btn btn-block" style="background:  #dd6262" name="signin" value="Signin">
                                            </li>
                                            </form>
                                        </ul>
                                        <div style="text-align: center">
                                        Don't have an account? <a href="register.php" style=" color:  #dd6262">Contact Support</a><br>
										Forget Password? <a href="forget.php" style=" color:  #dd6262">Reset Password</a></div>
        </div>
       </div>
      </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>
</body>

</html>
