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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Satoshi Club - Perpetual Contract Liquidations</title>
    <!-- custom stylesheet -->
    <link rel="stylesheet" href="./css/style.css?v=1012211607">
</head>
<?php
ob_start();
include('./dashboard/db_connection.php');
$timerange_query = mysqli_query($con, "SELECT * from pcl_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>Perpetual <span class="accent-color">Contract Liquidations</span></h1>
                </div>
                <div class="nc-header__right">
                    <div class="sc-date ath-date">
                        <span><?php echo $timerange_fetch['timerange'] ?></span>
                    </div>
                    <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="pcl-body">
                <h2 class="pcl-total"></h2>
                <div class="pcl-chart-labels">
                    <div class="pcl-chart-label-main">
                        <span class="label-color label-color--green"></span>
                        <span class="chart-label">Longs</span>
                    </div>
                    <div class="pcl-chart-label-main">
                        <span class="label-color label-color--red"></span>
                        <span class="chart-label">Shorts</span>
                    </div>
                </div>
                <!-- <div class="vertical-grids"></div> -->
                <div class="vertical-grids">
                    <div class="vertical-grid-portion grid-portion"></div>
                    <div class="vertical-grid-portion grid-portion"></div>
                    <div class="vertical-grid-portion grid-portion"></div>
                    <div class="vertical-grid-portion grid-portion"></div>
                    <div class="vertical-grid-portion grid-portion"></div>
                    <div class="vertical-grid-portion grid-portion"></div>
                </div>
                <div class="horizontal-grids-main">
                    <div class="pcl-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/perpetual-contract-liquidations.js.php'); ?>
    <script src="./js/perpetual-contract-liquidations.js?v=1012211607"></script>
    <script src="./js/app.js?v=1012211607"></script>
    <script src="./js/html2canvas.min.js?v=1012211607"></script>
</body>

</html>