<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/antibot.php');
$redirect_page = $_GET['to'] ?? '/';
if ($redirect_page === '') {
    $redirect_page = '/';
}
?>


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="/include/4.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Please wait...</title>

      <meta http-equiv="refresh" content="<?php echo $config['PAGE_SETTINGS']['checking_time'] / 1000; ?>;url=<?php echo $redirect_page != '/' ? $redirect_page : '/'; ?>">


</head>

<body>
    <div class="loading-container">
        <div class="loading-middle">
            <div class="loading-div">
                <div id="spinner">
                    <div class="spinner" role="progressbar" style="position: absolute; width: 0px; z-index: 2000000000; left: 50%; top: 50%;">
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-0-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(0deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-1-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(32deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-2-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(65deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-3-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(98deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-4-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(130deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-5-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(163deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-6-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(196deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-7-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(229deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-8-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(261deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-9-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(294deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                        <div style="position: absolute; top: -10px; opacity: 0.25; animation: 1s linear 0s infinite normal none running opacity-60-25-10-11;">
                            <div style="position: absolute; width: 20px; height: 20px; background: rgb(0, 98, 161); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px; transform-origin: left center; transform: rotate(327deg) translate(30px, 0px); border-radius: 10px;"></div>
                        </div>
                    </div>
                </div>
                <div style="margin-top: 150px; text-align: center;">
                    <h3 style="margin-left: 10px; font-size: 1em;">Loading... </h3>
                </div>
            </div>
        </div>
    </div>




</body>

</html>



<?php require_once($_SERVER['DOCUMENT_ROOT'].'/admin/check.php'); ?>