<?php
error_reporting(0);
    include '../../data.php';
    include '../../webgets.php';
    include '../../config.php';

    $page = file_get_html('https://gotolottery.net/assets/components/live-en.php');
    $prize1 = $page->find('div[class="col-12 mb-3"]');
    
    $s1 = $page->find('div[class="mb-2"]');

    $date = $page->find('h3[class="text-center"]');
?>
<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="refresh" content="10">
    <link rel="stylesheet" href="../../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../../css/blog-togel.css?v=<?php echo rand(0, 99); ?>">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
    <link rel="icon" type="image/png" href="images/ico.png" sizes="192x192">
    <link rel="apple-touch-icon" sizes="180x180" href="images/ico.png">
    <title>GOTO19 Lottery Pools | <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?> Terlengkap Tercepat</title>
    <meta name="description" content="Keluaran togel terlengkap hari ini GOTO19 Lottery, livedraw tersedia dari <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?>. Prediksi Jitu dan akurat tersedia Keluaran Eropalotto.">
    <script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
</head>
<style>
.blocklive, .blocklive-prize{
    padding: 5px;
    text-align: center;
}

.blocklive-prize {
    background-color: #000;
    border: 1px solid #ffba00;
    color : #ffba00;
}

.blocklive-prize h5 {
    font-weight: bold;
    font-size: 1.2rem;
}

.blocklive {
    background-color: #0b0b0b;
    border: 1px solid #7e7e7e;
}

.blocklive h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

.main-live {
    background: #2b2928;
    color: #fff;
}


</style>
<body>

<div class="container">
        <img src="<?php echo ftab("logo_web", "web_setting", "logo_web"); ?>" class="img-fluid my-3 d-block mx-auto" alt="">
        <div class="main-live rounded p-3">
            <div class="row g-1 align-items-center">
                    <div class="col-sm-4 mb-3">
                    <?php 
                        $url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
                        $imgico = basename($url, ".php");
                        ?>
                        <img src="../../../images/icon-market/<?php echo $imgico . '.' .$imgfile; ?>" width="70" class="rounded d-block mx-auto" alt="logo <?php echo $imgico;?>">
                        <h6 style="font-size: 0.9rem" class="fw-bold my-2 text-center"><small><i class="fas fa-clock"></i></small> Setiap Hari</h6>
                    </div>
                    <div class="col-sm-8 mb-3">
                        <h3 class="fw-bold text-center">Livedraw GOTO19 Lottery <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?></h3>
                    </div>

                    <div class="col-sm-12 mb-3">
                            <div class="blocklive">
                                <h5 class="text-capitalize">Date: <?php echo trim(str_replace("Livedraw GOTO Lottery : ", "", $date[0]->plaintext)); ?></h5>
                            </div>
                    </div>

                    <div class="col-sm-12 mb-3">
                            <div class="blocklive-prize d-flex justify-content-around">
                                <h5>Prize #1</h5>
                                <h5><?php echo trim(str_replace(" ", "", $prize1[1]->plaintext)); ?></h5>
                            </div>
                    </div>

                    <div class="col-sm-12 mb-2">
                            <div class="blocklive d-flex justify-content-around">
                                <h5>Prize #2</h5>
                                <h5><?php echo trim(str_replace(" ", "", $prize1[3]->plaintext)); ?></h5>
                            </div>
                    </div>

                    <div class="col-sm-12 mb-2">
                            <div class="blocklive d-flex justify-content-around">
                                <h5>Prize #3</h5>
                                <h5><?php echo trim(str_replace(" ", "", $prize1[5]->plaintext)); ?></h5>
                            </div>
                    </div>

                    <div class="col-sm-12 d-none d-sm-block mb-2">
                            <div class="blocklive d-flex justify-content-around">
                                <h5>Starter Prize</h5>
                                <h5>Consolation Prize</h5>
                            </div>
                    </div>

                    <div class="col-sm-12 d-sm-none mb-2">
                            <div class="blocklive text-center">
                                <h5>Starter Prize</h5>
                            </div>
                    </div>

                    <div class="col-sm-6 mb-2">
                            <div class="blocklive">
                                <h5><?php echo trim(str_replace(" ", "", $s1[0]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[1]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[2]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[3]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[4]->plaintext)); ?></h5>
                            </div>
                    </div>

                    <div class="col-sm-12 d-sm-none mb-2">
                            <div class="blocklive text-center">
                                <h5>Consolation Prize</h5>
                            </div>
                    </div>

                    <div class="col-sm-6 mb-2">
                            <div class="blocklive">
                                <h5><?php echo trim(str_replace(" ", "", $s1[5]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[6]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[7]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[8]->plaintext)); ?></h5>
                                <h5><?php echo trim(str_replace(" ", "", $s1[9]->plaintext)); ?></h5>
                            </div>
                    </div>
              


            </div>


        </div>

</div>

<footer class="bg-light text-center d-flex align-items-center mt-3 p-2">
    <div class="container">
            <p>&copy; <?php echo date("Y"); ?> Livedraw Togel GOTO19 Lottery <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?> bandar togel online</p>

    </div>
</footer>



<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="../../../js/bootstrap.min.js"></script>
<script src="../../../js/blog-tgel.js"></script>
</body>
</html>