<?php
// Last update: 2022.04.07
if(!defined('ANTIBOT')) die('access denied');
?>
<!doctype html>
<html lang="<?php echo abTranslate('en'); ?>">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>AntiBot Admin Panel</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
<meta name="theme-color" content="#563d7c">
    <style>
html,
body {
  height: 100%;
}

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-top: 13px;
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
    </style>


  </head>
  <body class="text-center">
    
<form class="form-signin" action="" method="post">
  <h1 class="h3 mb-3 font-weight-normal">AntiBot Admin Panel</h1>
  <label for="inputEmail" class="sr-only">Email address</label>
  <input name="auth_user" type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
  <label for="inputPassword" class="sr-only">Password</label>
  <input name="auth_pass" type="password" id="inputPassword" class="form-control" placeholder="Password" required>
  <?php if ($ab_config['secondpass'] != '') { ?>
  <label for="secondpass" class="sr-only">Second Password</label>
  <input name="auth_second_pass" type="text" autocomplete="off" id="secondpass" class="form-control" placeholder="Second Password (<?php echo abTranslate('if specified'); ?>)">  <br />
  <?php } ?>
  <button class="btn btn-lg btn-primary btn-block" type="submit" name="auth_post"><?php echo abTranslate('Log in'); ?></button>
  <p class="mt-5 mb-3 text-muted"><a href="https://antibot.cloud/" target="_blank" rel="noopener">Powered by AntiBot.Cloud</a> &copy; 2017-2022</p>
</form>


    
  </body>
</html>
