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

    $page = file_get_html('https://togel-online.cc/livedraw/singapore/');
    $findp = $page->find('p');
    $findec = $page->find('div[class="lds-ellipsis"]');

    $page2 = file_get_html('https://togel-online.cc/livedraw/singapore%20toto/');
    $findp2 = $page2->find('p');
    $findsp = $page2->find('span');
    $findec2 = $page2->find('div[class="lds-ellipsis"]');
    
?>
<!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>Live Draw Singapore 4D Pools, Sgp toto | <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?> Terlengkap Tercepat</title>
    <meta name="description" content="Keluaran togel terlengkap hari ini singapore pools dan sgp toto livedraw tersedia dari <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?>. Prediksi Jitu dan akurat tersedia Singapore Pools 4D.">
    <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;
}

.tototd {
    font-size: 1.2rem;
}

.infotxt {
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
}
</style>
<body>

<div class="container">
    <p class="infotxt"><i class="fas text-warning fa-info-circle"></i> <strong><u>Singapore TOTO</u></strong> Result berada dibawah halaman ini <i class="fas fa-arrow-circle-down text-warning"></i></p>
        <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 text-center my-2"><small><i class="fas fa-clock"></i></small> Rabu-Sabtu-Minggu</h6>
                    </div>
                    <div class="col-sm-8 mb-3">
                        <h3 class="fw-bold text-center">Livedraw Singapore 4D Pools <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?></h3>
                    </div>

                    <div class="col-sm-12 mb-3">
                            <div class="blocklive">
                                <h5><?php echo $findp[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 if($findec[2] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[2]->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 if($findec[4] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[4]->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 if($findec[6] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[6]->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>Special Prize</h5>
                                <h5>Consolation Prize</h5>
                            </div>
                    </div>

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

                    <div class="col-sm-6 mb-2">
                            <div class="blocklive h-100">
                                <h5><?php if($findec[15] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[15]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[16] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[16]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[17] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[17]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[18] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[18]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[19] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[19]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[20] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[20]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[21] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[21]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[22] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[22]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[23] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[23]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[24] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[24]->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 if($findec[25] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[25]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[26] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[26]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[27] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[27]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[28] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[28]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[29] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[29]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[30] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[30]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[31] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[31]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[32] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[32]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[33] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[33]->plaintext;
                                } ?></h5>
                                <h5><?php if($findec[34] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp[34]->plaintext;
                                } ?></h5>
                                
                            </div>
                    </div>


            </div>


        </div>

        <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> Senin & Kamis</h6>
                    </div>
                    <div class="col-sm-8 mb-3">
                        <h3 class="fw-bold text-center">Livedraw Singapore TOTO <?php echo ftab("link_masukbo", "web_setting", "link_masukbo"); ?></h3>
                        
                    </div>

                    <div class="col-sm-12 mb-3">
                            <div class="blocklive">
                                <h5><?php echo $findp2[0]->plaintext; ?></h5>
                            </div>
                    </div>

                    <div class="col-sm-12 mb-3">
                            <table class="table text-light table-bordered text-center table-sm">
                                <tbody>
                                    <tr>
                                        <td><h6 class="fw-bold tototd"><?php echo $findsp[1]->plaintext; ?></h6></td>
                                        <td><h6 class="fw-bold tototd"><?php echo $findsp[2]->plaintext; ?></h6></td>
                                        <td><h6 class="fw-bold tototd"><?php echo $findsp[3]->plaintext; ?></h6></td>
                                        <td><h6 class="fw-bold tototd"><?php echo $findsp[4]->plaintext; ?></h6></td>
                                        <td><h6 class="fw-bold tototd"><?php echo $findsp[5]->plaintext; ?></h6></td>
                                        <td><h6 class="fw-bold tototd"><?php echo $findsp[6]->plaintext; ?></h6></td>
                                        <td><h6 class="fw-bold tototd">+</h6></td>
                                        <td><h6 class="fw-bold tototd"><?php 
                                            $tte = trim(str_replace("+", "", $findsp[7]->plaintext));
                                         echo $tte;
                                          ?></h6></td>
                                    </tr>
                                </tbody>
                            </table>
                    </div>

                    <div class="col-sm-12 mb-3">
                            <div class="blocklive-prize d-flex align-items-center justify-content-around">
                                <h5>Prize #1</h5>
                                <h5 style="font-size: 1.4rem !important;"><?php if($findec2[2] == '<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>') {
                                    echo '?????';
                                } else {
                                    echo $findp2[2]->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 Singapore 4D Pools Sgp toto <?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>