<?php
session_start();
@$userKey = $_SESSION['loginKey'];
include "control/activity.php";
$dd = new activity();

$game = $_REQUEST['game'];
$getFullLoop = $dd->fetch_multi("trx_existing_result"," where game_number='$game' ORDER BY 1 DESC limit 10");
foreach($getFullLoop as $key){
?>
    
    
    
    <div colour="green" number="9">
                                    <div class="van-row">
                                        <div data-v-d485a39d="" class="van-col van-col--8">
                                            <div data-v-d485a39d="" class="Trend__C-body2-IssueNumber"><?= $key->periods; ?></div>
                                        </div>
                                        <div class="van-col van-col--16">
                                            <div class="Trend__C-body2-Num  action<?= $key->resultNumber; ?>">
                                                <canvas data-v-d485a39d="" canvas="" id="myCanvas9" class="line-canvas"></canvas>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_0">0</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_1">1</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_2">2</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_3">3</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_4">4</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_5">5</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_6">6</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_7">7</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_8">8</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-item action_9">9</div>
                                                <div data-v-d485a39d="" class="Trend__C-body2-Num-BS is<?= strtoupper($key->small_big); ?>"><?= strtoupper($key->small_big); ?></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
<?php } ?>