<?php include "header.php";?>

<!-- Navbar -->
  <nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top text-white" id="navigation-example">
    <div class="container">
      <div class="navbar-wrapper">
        <a class="navbar-brand" href="javascript:void(0)"><?php echo JAK_TITLE;?></a>
      </div>
      <button class="navbar-toggler" type="button" data-toggle="collapse" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation" data-target="#navigation-example">
        <span class="sr-only">Toggle navigation</span>
        <span class="navbar-toggler-icon icon-bar"></span>
        <span class="navbar-toggler-icon icon-bar"></span>
        <span class="navbar-toggler-icon icon-bar"></span>
      </button>
      <div class="collapse navbar-collapse justify-content-end">
        <ul class="navbar-nav">
          <li class="nav-item">
            <a href="<?php echo BASE_URL;?>" class="nav-link">
              <i class="material-icons">dashboard</i> <?php echo $jkl['m'];?>
            </a>
          </li>
        </ul>
      </div>
    </div>
  </nav>
  <!-- End Navbar -->
  <div class="page-header lock-page header-filter" filter-color="black" style="background-image: url('img/lock.jpg'); background-size: cover; background-position: top center;">
      <!--   you can change the color of the filter page using: data-color="blue | purple | green | orange | red | rose " -->
      <div class="container">
         <div class="col-md-4 ml-auto mr-auto">
          <div class="card card-profile text-center card-hidden">
            <div class="card-header ">
              <div class="card-avatar">
                <img class="img" src="<?php echo BASE_URL_ORIG.basename(JAK_FILES_DIRECTORY).$uilock[2];?>">
              </div>
            </div>
            <div class="card-body ">
              <h4 class="card-title"><?php echo $uilock[1];?></h4>
              <?php if (isset($ErrLogin)) { ?><p class="text-center"><?php echo $jkl['l'];?></p><?php } ?>
              <form class="form" id="login_form" method="post" action="<?php echo $_SERVER['REQUEST_URI'];?>">
              <div class="form-group">
                <label for="password" class="bmd-label-floating"><?php echo $jkl["l2"];?></label>
                <input type="password" name="password" class="form-control<?php if (isset($ErrLogin)) echo " is-invalid";?>" id="password" required="true">
              </div>
            </div>
            <div class="card-footer justify-content-center">
              <input type="hidden" name="username" value="<?php echo $uilock[0];?>">
              <input type="hidden" name="action" value="unlock">
              <button type="submit" name="lockID" class="btn btn-rose btn-round"><?php echo $jkl['l22'];?></button>
              </form>
            </div>
          </div>
        </div>
      </div>

<?php include "footer.php";?>
