<?php
error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL ^ E_WARNING); 
session_start();

?>
<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <title>Emp_Prod_Benchmark</title>
  <link rel="shortcut icon" href="images/Files_Download.png" type="image/x-icon"/>
  <link rel="stylesheet" href="style.css">
 
</head>
<body>
 
    <div class="main">
      <div class="container a-container" id="a-container">
        <form class="form" id="b-form" method="post" action="Log_Reg_Bck.php" autocomplete="">
          <h2 class="form_title title">Login</h2>
           <div class="form__icons">
           </div>
           <span class="form__span"></span>
           <input class="form__input" type="text" name="email" placeholder="Email" value="<?php echo $_SESSION['email'];?>" autofocus required>
           <input class="form__input" type="password" name="password" placeholder="Password"  required><a class="form__link"></a>
           <button class="form__button button " type="submit" name="signin">LOGIN</button>
        </form>
      </div>
      <div class="container b-container" id="b-container">
          <form class="form" id="a-form" action="Log_Reg_Bck.php"  method="post" onsubmit="return valid_details();">
          <h2 class="form_title title">New Account</h2>
          <div class="form__icons">
          </div>
          <span class="form__span"></span>
          <input  class="form__input" type="text" name="name" placeholder="Name" autofocus required>
          <input  class="form__input" type="text" name="email" placeholder="Email"  required>
          <input  class="form__input" type="password" name="password" placeholder="Password" required>
          <input  class="form__input" type="password" name="confirm" placeholder="Confirm Password" required>
          <button class="form__button button " type="submit" name ="signup">SIGN UP</button>
          </form>
       
      </div>
      
      <div class="switch" id="switch-cnt">
        <div class="switch__circle"></div>
        <div class="switch__circle switch__circle--t"></div>
        <div class="switch__container" id="switch-c1">
        <a class="navbar-brand" href="#"> <img src="images/Imperative Final Logo.png"  style="height:70px;width:100%;" ></a>
          <h2 class="switch__title title">Hello Friend !</h2>
          <p class="switch__description description">Enter your personal details and start journey with us..</p>
          <p class="switch__description description"> Click on the button below to create New Account..</p>
          <button class="switch__button button switch-btn">SIGN UP</button>
        </div>
        <div class="switch__container is-hidden" id="switch-c2">
        <a class="navbar-brand" href="#"> <img src="images/Imperative Final Logo.png"  style="height:70px;width:100%;" ></a>
          <h2 class="switch__title title">Welcome Back !</h2>
          <p class="switch__description description">To keep connected with us please login with your personal info..</p>
          <p class="switch__description description">Click on the button below to Login if Already have Account.. </p>
          <button class="switch__button button switch-btn" >SIGN IN</button>
        </div>
      </div>
    </div>
  <script  src="function.js"></script>
 
</body>
</html>