<?php 
include("parent/callMe.php"); 
session_start();

if(isset($_SESSION['portal_user_id']))
{
    is_user_loggedIn($m);
} 





?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>EduPortal | Login</title>

    <!-- Bootstrap -->
    <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
    <!-- Animate.css -->
    <link href="../vendors/animate.css/animate.min.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="../build/css/custom.min.css" rel="stylesheet">

    <style type="text/css">
    	
	body {
	  margin: 0;
	}

	#myVideo {
	  position: fixed;
	  right: 0;
	  bottom: 0;
	  min-width: 100%; 
	  min-height: 100%;
	}


    </style>
  </head>

  <body class="login">


  	<video autoplay muted loop id="myVideo">
	  <source src="https://media.istockphoto.com/videos/kids-with-tablet-pc-programming-at-robotics-school-video-id854519692" type="video/mp4">
	 
	</video>



    <div>
      <a class="hiddenanchor" id="signup"></a>
      

      <div class="login_wrapper">



        <div class="animate form login_form" style="opacity: 0.93;margin-top:50%; text-align: center; padding: 5%;background-color:white;border:1px solid lightgray;">

		

          <?php  if(isset($_SESSION['reasons'])){?>


	      <div class="alert alert-danger col-md-12 text-center" id="msg" 
	      style="color:white;text-shadow: none;font-weight: bold;text-decoration: none;">

	        <strong>Warning!</strong> <br> (<?php echo $_SESSION['reasons']; ?>)

	      </div>


         <?php  unset($_SESSION['reasons']); }  ?>

		<div class=""><div>

          <section class="login_content">

             
            <form action="<?php echo DOMAIN;?>Production/parent/InsertMeprepare.php" method="post" enctype="multipart/form-data">


              
              <p style="font-size: 18px;">Administration Login</p>
              <br>
              <input type="hidden" name="action" value="user_login" />

              <div>
                <input type="text" class="form-control" placeholder="Email..." name="txt_email" required />
              </div>


              <div>
                <input type="password" class="form-control" placeholder="Password..." name="txt_password" required />
              </div>

              <div>
                <input type="checkbox" id="remember" name="remember">
                <label for="remember-me"> Remember me</label>               
                
              </div>

              <div>
                <input type="submit" class="form-control btn btn-default submit" value="Login" style="margin-left: 0px;" />
              </div>


              <div>
                
                

                <!-- <a class="reset_pass" href="#">Lost your password?</a> -->

              </div>

              <div class="clearfix"></div>

              	<div class="separator">
              
                <div class="clearfix"></div>
                <br />

                <div>
                  
                  <!-- <p>Powered By: <b> CompuTech Technologies </b> <br> © 2020 All Rights Reserved.</p> -->

                </div>
              </div>
            </form>
          </section>
        </div>

        
      </div>
    </div>
  </body>
</html>
