<?php session_start();
if(!empty($_SESSION['admin_connect_id']))
{header('Location: index.php');
  }else{ ?><!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
       <title> ALGERMED | Authentification</title>
    <link href="assets/css/bootstrap1.css" rel="stylesheet">
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="assets/css/style.css" rel="stylesheet">
    <link href="assets/css/style-responsive.css" rel="stylesheet">
     </head>

  <body>




<section class="h-100 gradient-form login-section" >
  <div class=" container-login container py-5 h-100">
    <div class="row d-flex  align-items-center h-100">
      <div class="col-xl-8">
        <div id="card-login" class=" rounded-3 text-black">
          <div class="row row-auth g-0">
            <div class="col-lg-12">
              <div class="card-body p-md-12 mx-md-12">
              <div class="text-center">
                  <img src="assets/img/loogo.png"  style="width: 145px;margin:0px" alt="logo">
                 
                </div>
               

                <form class="form-login" >
                  <p>Connectez-vous maintenant</p>

                  <div class="form-outline mb-4">
                   <label class="form-label" for="username"> Nom d'utilisateur</label>
		            <input type="text" class="form-control" id="username" name="username" placeholder="Nom d'utilisateur"  autofocus>

                  
                   
                  </div>

                  <div class="form-outline mb-4">
                  <label class="form-label" for="password">Mot de passe</label>
                    <input type="password" class="form-control" id="password" name="password" placeholder="Mot de passe">
                    
                  </div>

                  <div class="text-center pt-1 mb-5 pb-1">
                  	 <button class="btn btn-primary btn-block fa-lg gradient-custom-2 mb-3" type="button" id="login"><i class="fa fa-lock"></i> Se Connecter</button>
		        
                      <div id="error"></div>
                    
                    <!-- <a class="text-muted" href="#!">Forgot password?</a>-->
                  </div>

                 

                </form>

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









<!-- 
	  <div id="login-page">
	  	<div class="container">
	  	
		      <form class="form-login" id="connexion" >
		        <h2 class="form-login-heading">Connectez-vous maintenant</h2>
		        <div class="login-wrap">
		            <input type="text" class="form-control" id="username" name="username" placeholder="pseudo"  autofocus>
		            <br>
		            <input type="password" class="form-control" id="password" name="password" placeholder="mot de passe">
		           <br>
		            <button class="btn btn-theme btn-block" type="button" id="login"><i class="fa fa-lock"></i> SE CONNECTER</button>
		            <hr>
                      <div id="error"></div>
		        </div>
		

		          <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="myModal" class="modal fade">
		              <div class="modal-dialog">
		                  <div class="modal-content">
		                      <div class="modal-header">
		                          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		                          <h4 class="modal-title">Mot de passe oublié ?</h4>
		                      </div>
		                      <div class="modal-body">
		                          <p>Entrez votre adresse e-mail ci-dessous pour réinitialiser votre mot de passe.</p>
		                          <input type="text"  placeholder="Email" autocomplete="off" class="form-control placeholder-no-fix">
		
		                      </div>
		                      <div class="modal-footer">
		                          <button data-dismiss="modal" class="btn btn-default" type="button">Cancel</button>
		                          <button class="btn btn-theme" type="button">Submit</button>
		                      </div>
		                  </div>
		              </div>
		          </div>

		      </form>
	  	
	  	</div>
	  </div> -->

    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/acc.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
      <script type="text/javascript" src="assets/js/jquery.backstretch.min.js"></script>
   

  </body>
</html>
<?php } ?>