<?php
defined("ALLOW") or exit('No direct script access allowed');
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>RABBIT</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta content="" name="keywords">
    <meta content="" name="description">
    <link href="<?= base_url() ?>RABBIT/Gens/images/favicon.ico" rel="icon">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Roboto:wght@500;700&display=swap" rel="stylesheet"> 
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
    <link rel="stylesheet" href="<?= base_url() ?>RABBIT/Assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
    <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css'>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.33.1/sweetalert2.min.css">

    <!-- Libraries Stylesheet -->
    <link href="<?= base_url() ?>RABBIT/Views/panel/lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
    <link href="<?= base_url() ?>RABBIT/Views/panel/lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" />
 
    <!-- Customized Bootstrap Stylesheet -->
    <link href="<?= base_url() ?>RABBIT/Views/panel/css/bootstrap.min.css" rel="stylesheet">

    <!-- Template Stylesheet -->
    <link href="<?= base_url() ?>RABBIT/Views/panel/css/fxc.css" rel="stylesheet">
</head>

<body>
    <div class="container-fluid position-relative d-flex p-0">
        <div id="spinner" class="show bg-transparent position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center">
            <div class="spinner-border text-dark" style="width: 3rem; height: 3rem;" role="status">
                <span class="sr-only">Loading...</span>
            </div>
        </div>
        <?php include "sidebar.php"; ?>
        <div class="content bg-dark">
            <?php include "navbar.php"; ?>           
            <div class="container-fluid pt-4 px-4"> 
            </div>
            <!-- Sale & Revenue End -->
            <div class="col-md-6 col-md-6 m-3">
                <h3 class="text-white">BOT BLOCKER</h3>
                <form action="<?= base_url() ?>security-check/panel/update" method="post">
                    <div class="text-center">
                        <input class="form-control bg-white text-dark" type="text" name="botblocker" value="<?php echo _botblocker('KEY'); ?>" placeholder="Apikey">
                    </div>
                    <div class=" text-white">
                        <span style="font-size:10px;">Antibot only support by <a class="text-primary" style="text-decoration:none;" href="https://botblocker.pro" target="_blank"> botblocker.pro</a> </span>
                    </div>
                    <div class="mt-3">
                        <button class="btn btn-success text-dark" type="submit" name="updatebotblocker"><i class="fa fa-sd-card me-2"></i> SUBMIT</button>
                    </div>
                </form>
            </div> 
            <!-- Footer Start -->
                     
        </div>
    </div>

    <!-- JavaScript Libraries -->
    <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/lib/chart/chart.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/lib/easing/easing.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/lib/waypoints/waypoints.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/lib/owlcarousel/owl.carousel.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/lib/tempusdominus/js/moment.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/lib/tempusdominus/js/moment-timezone.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/lib/tempusdominus/js/tempusdominus-bootstrap-4.min.js"></script>
    
    <script src="<?= base_url() ?>RABBIT/Assets/js/core/jquery.3.2.1.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/core/popper.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/core/bootstrap.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/chartist/chartist.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/chartist/plugin/chartist-plugin-tooltip.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/bootstrap-toggle/bootstrap-toggle.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/jquery-mapael/jquery.mapael.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/jquery-mapael/maps/world_countries.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/chart-circle/circles.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/ready.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Assets/js/demo.js"></script>
    <script src="<?= base_url() ?>RABBIT/Views/panel/js/main.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.33.1/sweetalert2.min.js"></script>
</body>
<?php if (@$_SESSION['sukses']) { ?>
</script>
    <?php echo $_SESSION['sukses']; ?>
</script>
<?php unset($_SESSION['sukses']);
} ?>

</html>