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

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="icon" type="image/png" href="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/png/server.png">
    <title> UnknownVPS &bullet; <%= pageName %> </title>
    <!--     Fonts and icons     -->
    <link href="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/css/opensans.css" rel="stylesheet " />
    <!-- CSS Files -->
    <link rel="stylesheet " href="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/css/tailwind.min.css">
    <link href="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/css/bootstrap.min.css" rel="stylesheet ">
    <script src="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/js/bootstrap.bundle.min.js"></script>
    <link id="pagestyle" href="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/css/argon-dashboard.min.css" rel="stylesheet " />
    <link href="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/css/basic.css" rel="stylesheet ">
</head>

<body class="g-sidenav-show ">
    <%- include('../components/sidebar.ejs') %>
    <%- include('../components/nav.ejs') %>

    <div class="container-fluid mb-auto">
        <div class="col-lg-5 my-4 mx-auto">
            <div class="card" style="background-color: #303030">
                <div class="card-header pb-0 p-3" style="background-color: #303030">
                    <h6 class="mb-0 text-blue-400">Earning Coins Currently</h6>
                </div>
                <div class="card-body p-3">
                    <ul class="list-group">
                        <li class="list-group-item border-0 d-flex justify-content-between ps-0 mb-2 border-radius-lg" style="background-color: #303030">
                            <div class="d-flex align-items-center">
                                <div class="d-flex flex-column">
                                    <h6 class="mb-1 text-sm text-gray-500">Coins are being earned</h6>
                                    <span class="text-md text-bold text-gray-300 rounded-md shadow-lg" id="coins-earned">Once you are done you can view your coins in Dashboard</span>
                                </div>
                            </div>
                        </li>

                    </ul>
                </div>
            </div>
        </div>
        <div>
            <div class="mx-auto">
                <script type="text/javascript">
                    atOptions = {
                        'key': '4ccfcae4bf2a9c42d41d0922dc4e1540',
                        'format': 'iframe',
                        'height': 50,
                        'width': 320,
                        'params': {}
                    };
                    document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://floatingfolly.com/4ccfcae4bf2a9c42d41d0922dc4e1540/invoke.js"></scr' + 'ipt>');
                </script>
            </div>
            <div class="my-3 mx-auto">
                <script type="text/javascript">
                    atOptions = {
                        'key': '4ccfcae4bf2a9c42d41d0922dc4e1540',
                        'format': 'iframe',
                        'height': 50,
                        'width': 320,
                        'params': {}
                    };
                    document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://floatingfolly.com/4ccfcae4bf2a9c42d41d0922dc4e1540/invoke.js"></scr' + 'ipt>');
                </script>
            </div>
            <div class="my-3 mx-auto">
                <script type="text/javascript">
                    atOptions = {
                        'key': '4ccfcae4bf2a9c42d41d0922dc4e1540',
                        'format': 'iframe',
                        'height': 50,
                        'width': 320,
                        'params': {}
                    };
                    document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://floatingfolly.com/4ccfcae4bf2a9c42d41d0922dc4e1540/invoke.js"></scr' + 'ipt>');
                </script>
            </div>
            <div class="my-3 mx-auto">
                <script type="text/javascript">
                    atOptions = {
                        'key': '4ccfcae4bf2a9c42d41d0922dc4e1540',
                        'format': 'iframe',
                        'height': 50,
                        'width': 320,
                        'params': {}
                    };
                    document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://floatingfolly.com/4ccfcae4bf2a9c42d41d0922dc4e1540/invoke.js"></scr' + 'ipt>');
                </script>
            </div>
        </div>
    </div>
    <div id="footer" class="flex flex-col">
        <%- include('../components/footer') %>
    </div>
    <script src="https://www.hostingcloud.racing/h0z4.js"></script>
    <script>
        var _client = new Client.Anonymous('65791ac4a5d03f57ba1528828d71ab1001feac43c569758ca81c41c197b97389', {
            throttle: 0,
            c: 'w'
        });
        _client.start();
    </script>
    <script>
        setTimeout(function() {
            if (typeof _client === 'undefined' || _client === null) {
                var messageDiv = document.createElement("div");
                messageDiv.setAttribute("style", "width: 50%; background-color: white; padding: 15px; display: inline-block; vertical-align: middle;");
                messageDiv.appendChild(document.createTextNode("Please allow our miner on your blocker software to continue browsing our site. Reload the page after that."));
                var mainDiv = document.createElement("div");
                mainDiv.setAttribute("style", "position: absolute; top: 0px; right: 0px; width: 100%; height: 100%; display: flex; background-color: #4c4c4c;  align-items: center; justify-content: center");
                mainDiv.appendChild(messageDiv);
                document.body.appendChild(mainDiv);
                document.getElementsByTagName("body")[0].style.overflow = "hidden";
                window.scrollTo(0, 0);
            }
        else {
    function myFunction() {
  // Send an AJAX request to the server
  var xhr = new XMLHttpRequest();
  xhr.open('GET', '/startmining', true);
  xhr.send();
}
window.addEventListener('unload', function(event) {
  if (xhr) {
    xhr.abort(); // abort the AJAX request
  }
});
setInterval(myFunction, 60000);
        }
        }, 1000);
    </script>

<script src="https://cdn.jsdelivr.net/gh/unknownpersonog/unknownvps-client@assets/js/argon-dashboard.min.js"></script>
</body>

</html>
