
<!doctype html>
<html lang="en">
  <head>

    <!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet" >


    <style>
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
    </style>
    <!-- Custom styles for this template -->
    <link href="css/floating-labels.css" rel="stylesheet">
    <title>Payroll Management System | Create Company</title>
  </head>
  <body>
      <form class="form-signin" method = "POST" action = "createcompany1.php">
  <div class="text-center mb-4">
   <h1 class="h3 mb-3 font-weight-normal">Add New Company</h1>
  </div>
  
  <?php if(isset($error)){

    echo "<div class=\"alert alert-danger\" >";
    echo $error; 
    echo "</div>";

  }?>

    <input type="hidden" name = "existboolean" value = "new">
  <div class="form-label-group">
    <input type="text" name="companyName" class="form-control" placeholder="Company Name" required autofocus>
    <label for="companyName">Company Name</label>
  </div>

  <div class="form-label-group">
    <input type="text" name="companyBRN" class="form-control" placeholder="Company BRN" autofocus>
    <label for="companyBRN">Company BRN</label>
  </div>

  
  <button class="btn btn-lg btn-primary btn-block" type="submit">Create Company</button>

  <br>

</form>
</body>
</html>


