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

$page2 = file_get_html('https://209.97.170.150/livedraw/singapore%20toto/');
$findp2 = $page2->find('p');
$findsp = $page2->find('span');
$findec2 = $page2->find('div[class="lds-ellipsis"]');
?>

        <div class="main-live rounded p-3">
            <div class="row g-1 align-items-center">
                    <div class="col-sm-4 mb-2">
                        <img src="https://178.128.51.10/database/papatogel/image/pasarantogel/singaporepools.png" width="100" class="rounded-circle d-block mx-auto" alt="singapore toto">
                        <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">
                        <h4 class="fw-bold text-uppercase tt-title text-center">Livedraw Singapore TOTO PAPATOGEL</h4>
                    </div>

                    <div class="col-sm-12 mb-2">
                            <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>


        </div>