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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Satoshi Club - Events</title>
    <!-- custom stylesheet -->
    <link rel="stylesheet" href="./css/style.css?v=1012211906">
</head>
<?php
ob_start();
include('./dashboard/db_connection.php');
$timerange_query = mysqli_query($con, "SELECT * from nc_timerange");
$timerange_fetch = mysqli_fetch_array($timerange_query);
?>

<body class="ath-body-tag has-chart" id="screen">
    <div class="sc-main ath-main">
        <div class="sc-wrapper">
            <!-- sc-header -->
            <div class="sc-header ss-header">
                <div class="sc-heading ev-heading">
                    <h1>NFT Collectible Rankings by <span class="accent-color">Sale Volume</span></h1>
                </div>
                <div class="nc-header__right">
                    <?php if (isset($timerange_fetch['timerange'])) {
                    ?>
                        <div class="sc-date ath-date">
                            <span><?php echo $timerange_fetch['timerange'] ?></span>
                        </div>
                    <?php } ?>
                    <div id="screenshot" onclick="takePageScreenshot()" class="sc-save">
                        <img src="./images/take-screenshot.png" class="sc-save__img">
                    </div>
                </div>
            </div>
            <!-- sc-body -->
            <div class="nc-body">
                <div class="vertical-grids"></div>
                <div class="horizontal-grids-main">
                    <div class="horizontal-grids"></div>
                </div>
            </div>
        </div>
        <!-- sc-footer -->
        <footer class="sc-footer ath-footer">
            <div class="sc-wrapper">
                <div class="in-sc-footer in-ath-footer">
                    <div class="sc-sc-logo">
                        <img src="./images/satoshi-club-logo-light.svg" alt="">
                    </div>
                    <div class="sc-social opacity-6">
                        <div class="sc-social-icon ath-social-icon">
                            <img src="./images/telegram-icon-light.svg" alt="">
                            <a href="#">@satoshi_club</a>
                        </div>
                        <div class="sc-social-icon ath-social-icon">
                            <img src="./images/twitter-icon-light.svg" alt="">
                            <a href="#">esatoshiclub</a>
                        </div>
                        <div class="sc-social-icon ath-social-icon">
                            <img src="./images/web-icon-light.svg" alt="">
                            <a href="#">esatoshi.club</a>
                        </div>
                    </div>
                </div>
            </div>
        </footer>
    </div>
    <?php include('./js/nft-collectible.js.php'); ?>
    <script src="./js/nft-collectible.js?v=1012211906"></script>
    <script src="./js/app.js?v=1012211607"></script>
    <script src="./js/html2canvas.min.js?v=1012211607"></script>
</body>

</html>