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

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


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


$table = "userdetails";
$condition = " where userKey='$userKey'";
$getuserdetails = $dd->single($table,$condition);
$table = "admin_details";
$condition = "null";
$getAdmindetails = $dd->single($table,$condition);
$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>Daman</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="mian promotionDes">
         <!--NavBar-->
         <div class="navbar">
            <div class="navbar-fixed" style="background: linear-gradient(90deg, rgb(207, 3, 5) 0%, rgb(242, 63, 58) 100%);">
                <div class="navbar__content">
                    <div data-v-905dfe8c="" class="navbar__content-left" onclick="clicktoBack()"><div data-v-905dfe8c="" class="backIcon"></div></div>
                    <div data-v-905dfe8c="" class="navbar__content-center"><div data-v-905dfe8c="" class="navbar__content-title"> Receipt history </div></div>
                    <div class="navbar__content-right">
                        <div data-v-7c8bbbf4="" data-v-106b99c8="" class="c-row">
                            <i data-v-7c8bbbf4="" data-v-106b99c8="" class="van-icon van-icon-notes-o" style="font-size: 25px;"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--NavBar-->

        <!--promotion-->
        <div class="promotion">
            <div class="tab">
                <ul class="c-row c-row-between">
                    <li data-v-7c8bbbf4="" onclick="location.href='promotion.php'">Overview</li>
                    <li data-v-7c8bbbf4="" onclick="location.href='myTeam.php'">My Team</li>
                    <!--<li data-v-7c8bbbf4="" onclick="location.href='promotionDes.php'" class="action block-click">Receipt history</li>-->
                    <li data-v-7c8bbbf4="" onclick="location.href='tutorial.php'">Tutorial</li>
                </ul>
            </div>
            
            
            <div class="box">
                <div class="table">
                    <div data-v-14912091="" class="hd van-row">
                        <div data-v-14912091="" class="c-tc van-ellipsis van-col van-col--8">Time</div>
                        <div data-v-14912091="" class="c-tc van-ellipsis van-col van-col--8">Amount</div>
                        <div data-v-14912091="" class="c-tc van-ellipsis van-col van-col--8">Details</div>
                    </div>
                    <div class="list">
                        <div class="van-list">
                            <div id="van-list">
                                <div data-v-14912091="" class="bd van-row">
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">2024-01-23</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">0.0</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">Details</div>
                                </div>
                                <div data-v-14912091="" class="bd van-row">
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">2024-01-23</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">0.0</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">Details</div>
                                </div>
                                <div data-v-14912091="" class="bd van-row">
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">2024-01-23</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">0.0</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">Details</div>
                                </div>
                                <div data-v-14912091="" class="bd van-row">
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">2024-01-23</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">0.0</div>
                                    <div data-v-14912091="" class="c-tc van-col van-col--8">Details</div>
                                </div>
                            </div>
                            <div class="van-list__finished-text">Not available anymore</div>
                            <div class="van-list__placeholder"></div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!--promotion-->

        </div>
        <?php include "footer.php"; ?>
    </div>
</body>
<script>
  function clicktoBack()
  {
    window.open('index.php','_self');
  }
</script>
</html>