<?php
require_once("header.php");
$status=NULL;
if(isset($_GET['status']))
{
    $status=$_GET['status'];
}
?>
<!--login -->
     <section class="contact white-bg page-section-ptb" > 
  <div class="container">
    <div class="row" style="margin-top:50px">
      <div class="col-lg-12">
        <div class="section-title text-center">
        <div class="title-separator">
           <i class="glyph-icon flaticon-food-27"></i>
         </div>
          <h2> <span class="text-orange">Log</span>in</h2>
          <p>Create Your Account<a href="sign_up.php"><span style="font-size:20px;text-decoration: underline;"> Sign Up</span></a></p>
        </div>
      </div>
     </div>
 <div class="row mt-30">
        <div class="col-lg-12">
         <form class="form-horizontal"  method="post" action="action.php">
           <div class="contact-form">
               <div class="row">
                  <div class="col-lg-3 col-md-3 col-sm-2"></div>
                <div class="col-lg-6 col-md-6 col-sm-8">
                  <div class="form-field">
                  <i class="fa fa-envelope-o"></i>
               <input type="email" placeholder="Email*" class="placeholder" name="email" required>
              </div>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-2"></div>
            </div>
               <div class="row">
                  <div class="col-lg-3 col-md-3 col-sm-2"></div>
                <div class="col-lg-6 col-md-6 col-sm-8">
                  <div class="form-field">
                  <i class="fa fa-key"></i>
                  <input id="password" type="password" placeholder="Password*" class="placeholder" name="password" required>
              </div>
            </div>
                <div class="col-lg-3 col-md-3 col-sm-2"></div>
            </div>
               <div class="form-submit mt-10 text-center">
                <?php
                      if($status==1)
                      {
                      ?>
                      
                      <p style="color:red;">Wrong UserName or Password </p>
               
                      <?php } ?>
               </div>
              <div class="form-submit mt-10 text-center">
                   <button style="margin-bottom:15px;" name="login" type="submit" class="button">Login</button>
                </div>
              </div> 
            </form>
        </div>
      </div>
    </div>
 </section>
 
<?php
require_once('footer.php');
?>