<?php
session_start();
@$userKey = $_SESSION['loginKey'];

if($userKey == "")
{
    echo "<script>window.open('login.php','_self')</script>";
}


include "control/activity.php";
$dd = new activity();



$table = "admin_calculation";
$condition = null;
$getAdminDetails = $dd->single($table,$condition);
$notice = $getAdminDetails['notice'];
$dashboard_img = $getAdminDetails['dashboard_img'];
$fevicon = $getAdminDetails['favicon'];

$a=array("3-abfcc056.png","8-ea087ede (1).png","8-ea087ede.png","9-6d772f2c.png","10-29a6603e.png","11-925c456e.png","12-ae12c679.png","19-2ac9fd83.png","AG_Video-7de81d51.png","profile.png");
$random_keys=array_rand($a,2);
$snumber = $a[$random_keys[0]];
$teligram = $getAdminDetails['telegram'];
$fevicon = $getAdminDetails['favicon'];
?>


<!DOCTYPE html>
<html lang="en" translate="no">
<head>
    <meta charset="UTF-8">
    <link rel="icon" type="image/svg+xml" href="temp_img/<?= $fevicon; ?>">
    <meta name="google" content="notranslate">
    <meta name="robots" content="noindex,nofollow">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title><?= $getAdminDetails['title']; ?></title>
    <link rel="stylesheet" href="css/slick.css" />
    <link rel="stylesheet" href="css/modules.css" />
    <link rel="stylesheet" href="css/style.css" />
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/slick.min.js" type="text/javascript"></script>
    <script src="js/main.js" type="text/javascript"></script>
</head>
<body>
    <div id="app">
        
        <div class="navbar">
            <div class="navbar-fixed" style="background: linear-gradient(90deg, rgb(206, 2, 4) 0%, rgb(242, 64, 58) 100%);">
                <div class="navbar__content">
                    <div data-v-905dfe8c="" class="navbar__content-left"><!----></div>
                    <div class="navbar__content-center">
                        <div data-v-905dfe8c="" class="headLogo" style="background-image: url(temp_img/<?= $dashboard_img; ?>);"></div>
                        <div data-v-905dfe8c="" class="navbar__content-title"></div>
                    </div>
                    <div data-v-905dfe8c="" class="navbar__content-right"></div>
                </div>
            </div>
        </div>

        <div class="activity-wrapper">
            <div class="activity-banner">
                <div data-v-599092e8>
                    <div data-v-599092e8="" class="banner-title">Activity</div>
                    <div data-v-599092e8="" class="banner-para">Please remember to follow the event page</div>
                    <div data-v-599092e8="" class="banner-para">We will launch user feedback activities from time to time</div>
                </div>
            </div>
            <div class="activity-panel">
                <div class="activity-panel-header lg3">
                        <div class="header-item activityAward" onclick="getDailyTasks()">
                            <div class="van-badge__wrapper">
                                <div data-v-599092e8="" class="a1 bgcontainer"></div>
                                <span data-v-4cd79a71="">Activity Award</span>
                            </div>
                        </div>
                        
                        
                        <div class="header-item invitationBonus" onclick="getInvitationBonus()">
                            <div class="van-badge__wrapper">
                                <div data-v-599092e8="" class="a1 bgcontainer"></div>
                                <span data-v-4cd79a71="">Invitation Bonus</span>
                            </div>
                        </div>
                   
                    
                </div>
                <div class="activity-panel-content">
                    <div class="content-title">
                        <img data-v-599092e8="" class="" data-origin="./images/signInBanner-33f86d3f.png" src="./images/signInBanner-33f86d3f.png">
                        <div data-v-599092e8="" class="content-para">Gifts</div>
                        <p data-v-599092e8="">Enter the redemption code to receive gift rewards</p>
                    </div>
                    <!--div class="content-title">
                        <img data-v-599092e8="" class="" data-origin="./images/giftRedeem-45917887.png" src="./images/giftRedeem-45917887.png">
                        <div data-v-599092e8="" class="content-para">Attendance bonus</div>
                        <p data-v-599092e8="">The more consecutive days you sign in, the higher the reward will be.</p>
                    </div-->
                </div>
            </div>

<script>
    function getDailyTasks()
    {
        window.open('DailyTasks.php','_self');
    }
    
    
    function getInvitationBonus(){
        window.open('InvitationBonus.php','_self');
    }
</script>



            <div class="van-list">
                <div class="activitySection__container">
                    <!--<div class="box">-->
                    <!--    <img data-v-599092e8="" src="./images/Banner_20230930162805eioo.webp" class="act_0">-->
                    <!--    <div class="box-content">-->
                    <!--        <div data-v-599092e8="" class="box-title">Become Agent Enjoy Luxury Rewards</div>-->
                    <!--    </div>-->
                    <!--</div>-->
                    <div class="box">
                        <img data-v-599092e8="" src="./images/Banner_20230323134126wxpv.webp" class="act_1">
                        <div data-v-599092e8="" class="box-content"><div data-v-599092e8="" class="box-title">⭐️Member Activities Winning Streak⭐️</div></div>
                    </div>
                    <div class="box">
                        <img data-v-599092e8="" src="./images/Banner_20230323134046hviy.webp" class="act_2">
                        <div data-v-599092e8="" class="box-content"><div data-v-599092e8="" class="box-title">⭐️Aviator High Betting Award⭐️</div></div>
                    </div>
                    <div class="box">
                        <img data-v-599092e8="" src="./images/Banner_202303231342324ivw.webp" class="act_3">
                        <div data-v-599092e8="" class="box-content"><div data-v-599092e8="" class="box-title">Lucky "10" Days Of Interest</div></div>
                    </div>
                    <div class="box">
                        <img data-v-599092e8="" src="./images/Banner_20230324165404a7bt.webp" class="act_5">
                        <div data-v-599092e8="" class="box-content"><div data-v-599092e8="" class="box-title">❗️ Mysterious Gift ❗️</div></div>
                    </div>
                    <div class="box">
                        <img data-v-599092e8="" src="./images/Banner_20231021124857fd2v.webp" class="act_6">
                        <div data-v-599092e8="" class="box-content"><div data-v-599092e8="" class="box-title"></div></div>
                    </div>
                    
                </div>
                <div class="van-list__finished-text">No more</div>
                <div class="van-list__placeholder"></div>
            </div>

        </div>

       <?php include "footer.php"; ?>
    </div>
    <style>
.navbar__content-center .headLogo {
    width: 5.08667rem;
    height: 1.12rem;
    background-repeat: no-repeat;
    background-size: 4.98667rem 1.12rem;
    background-position: center;
}
</style>
</body>

</html>